custom_widgets

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewToolbarLabel

func NewToolbarLabel(label string) widget.ToolbarItem

Types

type AutoComplete

type AutoComplete struct {
	widget.Entry

	Options []string
	// contains filtered or unexported fields
}

AutoComplete is a custom widget that combines Entry and Select for auto-completion

func NewAutoComplete

func NewAutoComplete(options []string) *AutoComplete

func (*AutoComplete) HideCompletion

func (a *AutoComplete) HideCompletion()

func (*AutoComplete) Move

func (a *AutoComplete) Move(pos fyne.Position)

func (*AutoComplete) Refresh

func (a *AutoComplete) Refresh()

func (*AutoComplete) SetOptions

func (a *AutoComplete) SetOptions(options []string)

func (*AutoComplete) ShowCompletion

func (a *AutoComplete) ShowCompletion()

type ToolbarLabel

type ToolbarLabel struct {
	*widget.Label
}

func (*ToolbarLabel) ToolbarObject

func (t *ToolbarLabel) ToolbarObject() fyne.CanvasObject

Jump to

Keyboard shortcuts

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