DefaultWidgets

package
v0.0.0-...-6b2d15a Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ButtonHandler

func ButtonHandler(window fyne.Window, args *NFData.NFInterfaceMap, w *NFWidget.Widget) (fyne.CanvasObject, error)

ButtonHandler creates a button

func EntryHandler

func EntryHandler(window fyne.Window, args *NFData.NFInterfaceMap, w *NFWidget.Widget) (fyne.CanvasObject, error)

EntryHandler creates an entry with an optional onchange function

func FormHandler

func FormHandler(window fyne.Window, _ *NFData.NFInterfaceMap, w *NFWidget.Widget) (fyne.CanvasObject, error)

FormHandler creates a form container

func HBoxContainerHandler

func HBoxContainerHandler(window fyne.Window, _ *NFData.NFInterfaceMap, w *NFWidget.Widget) (fyne.CanvasObject, error)

HBoxContainerHandler creates a horizontal box container

func ImageHandler

func ImageHandler(window fyne.Window, args *NFData.NFInterfaceMap, w *NFWidget.Widget) (fyne.CanvasObject, error)

ImageHandler creates an image

func Import

func Import()

Import is an empty function, created to allow the inclusion of this package in other parts of the code, even if none of its functions are directly used. This ensures that the init function is executed without triggering warnings about unused imports.

While it's possible to import a package for its side effects by changing its alias to _, using the Import function provides the added benefit of retaining direct access to the package's contents.

func LabelHandler

func LabelHandler(_ fyne.Window, args *NFData.NFInterfaceMap, w *NFWidget.Widget) (fyne.CanvasObject, error)

LabelHandler creates a label

func PasswordEntryHandler

func PasswordEntryHandler(window fyne.Window, args *NFData.NFInterfaceMap, w *NFWidget.Widget) (fyne.CanvasObject, error)

PasswordEntryHandler creates a password entry with an optional onchange function

func SliderHandler

func SliderHandler(window fyne.Window, args *NFData.NFInterfaceMap, w *NFWidget.Widget) (fyne.CanvasObject, error)

SliderHandler creates a slider with an optional onchange function

func ToolBarHandler

func ToolBarHandler(window fyne.Window, _ *NFData.NFInterfaceMap, w *NFWidget.Widget) (fyne.CanvasObject, error)

ToolBarHandler creates a toolbar with the given widget

func VBoxContainerHandler

func VBoxContainerHandler(window fyne.Window, _ *NFData.NFInterfaceMap, w *NFWidget.Widget) (fyne.CanvasObject, error)

VBoxContainerHandler creates a vertical box container

Types

This section is empty.

Jump to

Keyboard shortcuts

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