NFLayout

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, handler layoutHandler)

Register registers a custom layout handler If the name is already registered, it will not be registered again View the DefaultLayouts package for an example of how to use this function

Types

type Layout

type Layout struct {
	Type       string                 `json:"Type"`
	Children   []NFWidget.Widget      `json:"Widgets"`
	Properties map[string]interface{} `json:"Properties"`
}

func (*Layout) Parse

func (layout *Layout) Parse(window fyne.Window) (fyne.CanvasObject, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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