Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicSelectWidget ¶
*
- A Select that triggers the options function before opening
- This allows you to implement the options function
func NewDynamicSelectWidget ¶
func NewDynamicSelectWidget(options func() []string, changed func(string)) *DynamicSelectWidget
*
- Create the dynamic select
- @param options is the function that refreshes the list of options
- @param changed is the triggered function when an option is selected
- @return a configured DynamicSelectWidget
func (*DynamicSelectWidget) Tapped ¶
func (w *DynamicSelectWidget) Tapped(point *fyne.PointEvent)
type TappableImageWidget ¶
type TappableImageWidget struct { widget.BaseWidget Canvas *canvas.Image Tapp func(pointEvent *fyne.PointEvent) }
*
- An image widget that can be clicked to trigger a custom function
func NewTappableImageWidget ¶
func NewTappableImageWidget(image image.Image, tapped func(pointEvent *fyne.PointEvent)) *TappableImageWidget
*
- Create the tappable image widget
- @param image is the initial image
- @param tapped is the custom event triggered
- @return a configured TappableImageWidget
func (*TappableImageWidget) CreateRenderer ¶
func (w *TappableImageWidget) CreateRenderer() fyne.WidgetRenderer
func (*TappableImageWidget) Tapped ¶
func (w *TappableImageWidget) Tapped(pointEvent *fyne.PointEvent)
Click to show internal directories.
Click to hide internal directories.