gui

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeFilename

func SanitizeFilename(filename string) string

func ShowEntry

func ShowEntry(ctx context.Context, entry *sets.Entry) (r res.Entry, err error)

Shows an entry dialog. nolint: gomnd

func ShowFileSave

func ShowFileSave(ctx context.Context, s *sets.FileSave) (res.File, error)

ShowFileSave displays the file save dialog.

func ShowFileSelection

func ShowFileSelection(ctx context.Context, s *sets.FileSelection) (res.File, error)

ShowFileSelection displays a file selection dialog.

func ShowMessage

func ShowMessage(ctx context.Context, msg *sets.Message) (r res.Message, err error)

Shows an Message dialog. nolint: gomnd

func ShowNotification

func ShowNotification(ctx context.Context, s *sets.Notification) error

ShowNotification shows a notifaction in the task bar.

func ShowOptions

func ShowOptions(ctx context.Context, opts *sets.Options) (r res.Options, err error)

Shows an options dialog.

Types

type BrowseInfo

type BrowseInfo struct {
	Owner        uintptr
	Root         uintptr
	DisplayName  *uint16
	Title        *uint16
	Flags        uint32
	CallbackFunc uintptr
	LParam       uintptr
	Image        int32
}

type EntryApp

type EntryApp struct {
	*walk.Dialog
	// contains filtered or unexported fields
}

type ListModel

type ListModel struct {
	walk.ListModelBase
	// contains filtered or unexported fields
}

func (*ListModel) ItemCount

func (m *ListModel) ItemCount() int

func (*ListModel) Value

func (m *ListModel) Value(index int) interface{}

type MessageApp

type MessageApp struct {
	*walk.Dialog
	// contains filtered or unexported fields
}

type OptionsApp

type OptionsApp struct {
	*walk.Dialog
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL