Documentation ¶ Index ¶ func Register(name string, handler layoutHandler) type Layout func (layout *Layout) Parse(window fyne.Window) (fyne.CanvasObject, error) 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) Source Files ¶ View all Source files Layout.go Directories ¶ Show internal Expand all Path Synopsis DefaultLayouts Click to show internal directories. Click to hide internal directories.