guiutil

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CsvDialog

func CsvDialog(w fyne.Window, lcb *loadCsvButton, noteLabel *widget.Label) func()

func DefaultIcon

func DefaultIcon() fyne.Resource

func NewLoadCsvButton

func NewLoadCsvButton(w fyne.Window, noteLabel *widget.Label) *loadCsvButton

func NewToggleButton

func NewToggleButton(onEnabled, onDisabled func() error) *toggleButton

func ResourceEqual

func ResourceEqual(selected, def fyne.Resource) bool

func SetUrl

func SetUrl(text string, urlStr string) fyne.CanvasObject

Types

type CopyButton

type CopyButton struct {
	// contains filtered or unexported fields
}

func NewCopyButton

func NewCopyButton(text string) *CopyButton

func (*CopyButton) Render

func (cb *CopyButton) Render() fyne.CanvasObject

func (*CopyButton) SetText

func (cb *CopyButton) SetText(text string)

type IntEntry

type IntEntry struct {
	*widget.Entry
	// contains filtered or unexported fields
}

func NewIntEntry

func NewIntEntry() *IntEntry

func (*IntEntry) Num

func (ie *IntEntry) Num() int

type RemovableEntryForm

type RemovableEntryForm struct {
	// contains filtered or unexported fields
}

func NewRemovableEntryForm

func NewRemovableEntryForm() *RemovableEntryForm

func (*RemovableEntryForm) Render

func (ref *RemovableEntryForm) Render() fyne.CanvasObject

func (*RemovableEntryForm) Texts

func (ref *RemovableEntryForm) Texts() []string

type TimeSelect

type TimeSelect struct {
	Y *widget.Select
	M *widget.Select
	D *widget.Select
	// contains filtered or unexported fields
}

func NewTimeSelect

func NewTimeSelect() *TimeSelect

func (*TimeSelect) Render

func (ts *TimeSelect) Render() fyne.CanvasObject

func (*TimeSelect) Time

func (ts *TimeSelect) Time() string

Jump to

Keyboard shortcuts

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