decl

package
v0.0.0-...-ba0b20d Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectFocusable

func CollectFocusable(root *ui.Element) []*ui.Element

CollectFocusable collects all elements with focusable=true.

func FindElement

func FindElement(root *ui.Element, id string) *ui.Element

FindElement searches the tree for an element by id.

func LoadFile

func LoadFile(path string, handler interface{}) (*ui.Element, error)

LoadFile parses a declarative UI file and builds an element tree.

func LoadString

func LoadString(source string, handler interface{}) (*ui.Element, error)

LoadString parses declarative UI source and builds an element tree.

Types

This section is empty.

Jump to

Keyboard shortcuts

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