Skip to main content

Crate tilo_ui_graph

Crate tilo_ui_graph 

Source
Expand description

Pure, versioned schema and structural editor for Tilo serialized UI graphs.

Modules§

component
Component descriptions: what each described toolkit widget takes and does, as data.
keys
The spelling of a key and of a chord: what an app declares (key: "Ctrl+Enter"), what the person presses, and what a menu or a palette shows.
layout
The width classes a view’s container is laid out in (layout.md, “Responding to space”).
rich
Rich text as a component shows it: paragraphs with their marks, and how each reference in them reads for the person reading.

Structs§

UiDocument

Enums§

GraphPropKind
What a serialized UI graph node’s prop must hold, as the component that reads it declares in its own GRAPH_PROPS. tilolang doctor reads that declaration from the component’s code, so the contract cannot be lost with a comment beside it.
UiButtonRole
UiGraphEdit
UiGraphError
UiNavigation
Process-local navigation requested by a button.
UiNode
UiTextRole
UiTextSource

Constants§

UI_GRAPH_VERSION

Functions§

parse_ui_graph_edits
Parse a non-empty JSON array of tagged graph edits.