Versions in this module Expand all Collapse all v0 v0.0.5 Oct 8, 2026 v0.0.4 Oct 6, 2026 Changes in this version + const CurrentVersion + var DefaultLimits = Limits + func TypeNames() []string + type Attr struct + Col int + Line int + Name string + Value string + type BuildOptions struct — windows/amd64 + AllowMissingHandlers bool + type Document struct + File string + Version int + Warnings []*Error + Windows []*Node + func NewDocument(windows ...*Node) *Document + func Parse(r io.Reader, opts ...ParseOption) (*Document, error) + func ParseFS(fsys fs.FS, name string, opts ...ParseOption) (*Document, error) + func ParseFile(path string, opts ...ParseOption) (*Document, error) + func (d *Document) Build(into interface{}, handlers Handlers) (*View, error) + func (d *Document) BuildWith(opts BuildOptions, into interface{}, handlers Handlers) (view *View, err error) + func (d *Document) Marshal() []byte + func (d *Document) Validate() error + type Error struct + Col int + File string + Line int + Msg string + func (e *Error) Error() string + type ErrorList []*Error + func (l ErrorList) Details() string + func (l ErrorList) Error() string + type Handlers map[string]interface — windows/amd64 + type Kind int + const KindBool + const KindColor + const KindEnum + const KindFloat + const KindFloats + const KindInt + const KindInts + const KindList + const KindString + func (k Kind) String() string + type Limits struct + MaxBytes int + MaxDepth int + MaxNodes int + type Node struct + Attrs []Attr + Children []*Node + Col int + Line int + Text string + Type string + func (n *Node) Add(child *Node) *Node + func (n *Node) Attr(name string) (string, bool) + func (n *Node) SetAttr(name, value string) + type ParseOption func(*parseConfig) + func Lenient() ParseOption + func WithFileName(name string) ParseOption + func WithLimits(l Limits) ParseOption + type PropSpec struct + Alt string + Covers []string + Elem string + Enum []string + FMax float64 + FMin float64 + Kind Kind + Max int64 + Min int64 + N int + Name string + NonNegTail int + Setter string + func (p PropSpec) Describe() string + type TypeSpec struct + Container bool + Events []string + Name string + Props []PropSpec + func Lookup(typeName string) *TypeSpec + type View struct — windows/amd64 + Windows []*wui.Window + func (v *View) Control(name string) wui.Control + func (v *View) Inject(into interface{}) error + func (v *View) Lookup(name string) (interface{}, bool) + func (v *View) Window() *wui.Window