Documentation ¶
Index ¶
- func BorderLayoutHandler(window fyne.Window, _ *NFData.NFInterfaceMap, l *NFLayout.Layout) (fyne.CanvasObject, error)
- func GridLayoutHandler(window fyne.Window, args *NFData.NFInterfaceMap, l *NFLayout.Layout) (fyne.CanvasObject, error)
- func HBoxLayoutHandler(window fyne.Window, _ *NFData.NFInterfaceMap, l *NFLayout.Layout) (fyne.CanvasObject, error)
- func Import()
- func TabLayoutHandler(window fyne.Window, _ *NFData.NFInterfaceMap, l *NFLayout.Layout) (fyne.CanvasObject, error)
- func VBoxLayoutHandler(window fyne.Window, _ *NFData.NFInterfaceMap, l *NFLayout.Layout) (fyne.CanvasObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BorderLayoutHandler ¶
func BorderLayoutHandler(window fyne.Window, _ *NFData.NFInterfaceMap, l *NFLayout.Layout) (fyne.CanvasObject, error)
BorderLayoutHandler simply adds all children to a border layout The children must have a "Position" property that is either "Top", "Bottom", "Left", "Right", or "Center" The children are placed into the border layout based on their position
func GridLayoutHandler ¶
func GridLayoutHandler(window fyne.Window, args *NFData.NFInterfaceMap, l *NFLayout.Layout) (fyne.CanvasObject, error)
GridLayoutHandler simply adds all children to a grid that has args["Columns"] columns
func HBoxLayoutHandler ¶
func HBoxLayoutHandler(window fyne.Window, _ *NFData.NFInterfaceMap, l *NFLayout.Layout) (fyne.CanvasObject, error)
HBoxLayoutHandler simply adds all children to a horizontal box
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 TabLayoutHandler ¶
func TabLayoutHandler(window fyne.Window, _ *NFData.NFInterfaceMap, l *NFLayout.Layout) (fyne.CanvasObject, error)
TabLayoutHandler simply adds all children to a tab layout
func VBoxLayoutHandler ¶
func VBoxLayoutHandler(window fyne.Window, _ *NFData.NFInterfaceMap, l *NFLayout.Layout) (fyne.CanvasObject, error)
VBoxLayoutHandler simply adds all children to a vertical box
Types ¶
This section is empty.