ui

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppSettingRow

type AppSettingRow struct {
	widget.BaseWidget
	ListItemID widget.ListItemID

	Title      *ttwidget.Label
	AutoApply  *widget.Check
	ApplyBtn   *ttwidget.Button
	RestoreBtn *ttwidget.Button
	EditBtn    *ttwidget.Button
	DeleteBtn  *ttwidget.Button
}

func NewAppSettingRow

func NewAppSettingRow() *AppSettingRow

func (*AppSettingRow) CreateRenderer

func (row *AppSettingRow) CreateRenderer() fyne.WidgetRenderer

func (*AppSettingRow) Tapped

func (asr *AppSettingRow) Tapped(*fyne.PointEvent)

type MuxerPanel

type MuxerPanel struct {
	fyne.Layout
}

func NewMuxerPanel

func NewMuxerPanel() *MuxerPanel

type Select

type Select[T SelectOption] struct {
	widget.Select
	Options  []T
	Selected *T
}

func NewSelect

func NewSelect[T SelectOption](options []T, changed func(T)) *Select[T]

*

  • Wrapper around fyne.widget.Select to genericize the options.

func (*Select[T]) ClearSelected

func (s *Select[T]) ClearSelected()

func (*Select[T]) SetOptions

func (s *Select[T]) SetOptions(options []T)

func (*Select[T]) SetSelected

func (s *Select[T]) SetSelected(option T)

func (*Select[T]) SetSelectedIndex

func (s *Select[T]) SetSelectedIndex(index int)

type SelectOption

type SelectOption interface {
	fmt.Stringer
}

Jump to

Keyboard shortcuts

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