Expand description
Core library for the weavetui
TUI framework.
This crate defines the fundamental traits and types for building interactive
Text User Interface (TUI) components, including Component
for rendering
and event handling, and ComponentAccessor
for managing component properties
and children.
It provides the building blocks for the weavetui
ecosystem, designed to be
used in conjunction with the weavetui_derive
crate for declarative component
creation.
Modules§
Macros§
- components
- Creates a vector of components from a list of component instances.
- kb
- Creates an array of keybindings.
Structs§
- Component
Handler - A handler for managing the lifecycle of a component.
Traits§
- Component
- The main trait for all UI components in the
weavetui
framework. - Component
Accessor - A trait that provides access to the basic properties of a component.
Type Aliases§
- Children
- A type alias for a
BTreeMap
that stores child components.