Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataButton ¶
type DataButton[T any] struct { *widget.Button Data T OnTapped func(*DataButton[T]) `json:"-"` }
func NewButton ¶
func NewButton[T any](text string, icon fyne.Resource, data T, tapped func(*DataButton[T])) *DataButton[T]
func (*DataButton[T]) Tapped ¶
func (btn *DataButton[T]) Tapped(*fyne.PointEvent)
type DataEntry ¶
type DataSelect ¶
type DataSelect[T any] struct { *widget.Select Data *SelectData[string, T] }
func NewSelect ¶
func NewSelect[T any](data *SelectData[string, T]) *DataSelect[T]
func (*DataSelect[T]) Value ¶
func (sel *DataSelect[T]) Value() T
type SelectData ¶
type SelectData[K comparable, V any] struct { *orderedmap.OrderedMap[K, V] }
func NewSelectData ¶
func NewSelectData[K comparable, V any]() *SelectData[K, V]
func (*SelectData[K, V]) Each ¶
func (sd *SelectData[K, V]) Each(eachFunc func(K, V))
func (*SelectData[K, V]) Keys ¶
func (sd *SelectData[K, V]) Keys() []K
func (*SelectData[K, V]) Parts ¶
func (sd *SelectData[K, V]) Parts() ([]K, []V)
func (*SelectData[K, V]) Size ¶
func (sd *SelectData[K, V]) Size() int
func (*SelectData[K, V]) Values ¶
func (sd *SelectData[K, V]) Values() []V
type TimeLabel ¶
func NewTimeLabel ¶
func NewTimeLabel(t *carbon.Carbon) *TimeLabel
type TimePicker ¶
type TimePicker struct {
// contains filtered or unexported fields
}
func NewTimePicker ¶
func NewTimePicker(t *carbon.Carbon, tl *TimeLabel) *TimePicker
func (*TimePicker) Render ¶
func (tp *TimePicker) Render() *fyne.Container
Click to show internal directories.
Click to hide internal directories.