widgets

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoubleTapDecorator added in v1.1.0

type DoubleTapDecorator[T fyne.Widget] struct {
	Object         T
	OnDoubleTapped func(event *fyne.PointEvent)
}

func NewDoubleTapObject added in v1.1.0

func NewDoubleTapObject[T fyne.Widget](object T, onDoubleTapped func(event *fyne.PointEvent)) *DoubleTapDecorator[T]

func (*DoubleTapDecorator[T]) DoubleTapped added in v1.1.0

func (d *DoubleTapDecorator[T]) DoubleTapped(event *fyne.PointEvent)

type NumericalEntry

type NumericalEntry struct {
	widget.Entry
}

func NewNumericalEntry

func NewNumericalEntry() *NumericalEntry

func (*NumericalEntry) Keyboard

func (e *NumericalEntry) Keyboard() mobile.KeyboardType

func (*NumericalEntry) TypedRune

func (e *NumericalEntry) TypedRune(r rune)

func (*NumericalEntry) TypedShortcut

func (e *NumericalEntry) TypedShortcut(shortcut fyne.Shortcut)

type TappableLabel

type TappableLabel struct {
	widget.Label
	OnTapped func()
}

func NewTappableLabel

func NewTappableLabel(text string) *TappableLabel

func (*TappableLabel) Tapped

func (t *TappableLabel) Tapped(_ *fyne.PointEvent)

Jump to

Keyboard shortcuts

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