Expand description
Widget state types passed to Context widget methods.
Each interactive widget (text input, list, tabs, table, etc.) has a
corresponding state struct defined here. Create the state once, then pass
a &mut reference each frame.
Structs§
- Command
Palette State - State for a command palette overlay.
- Context
Item - Item in a context bar showing active context sources.
- Form
Field - A single form field with label and validation.
- Form
State - State for a form with multiple fields.
- List
State - State for a selectable list widget.
- Multi
Select State - State for a multi-select list.
- Palette
Command - A single command entry in the palette.
- Radio
State - State for a radio button group.
- Scroll
State - State for a scrollable container.
- Select
State - State for a dropdown select widget.
- Spinner
State - State for an animated spinner widget.
- Streaming
Text State - State for a streaming text display.
- Table
State - State for a data table widget.
- Tabs
State - State for a tab navigation widget.
- Text
Input State - State for a single-line text input widget.
- Textarea
State - State for a multi-line text area widget.
- Toast
Message - A single toast notification message.
- Toast
State - State for toast notification display.
- Tool
Approval State - State for a tool approval widget.
- Tree
Node - A node in a tree view.
- Tree
State - State for a hierarchical tree view widget.
Enums§
- Approval
Action - Approval state for a tool call.
- Button
Variant - Visual variant for buttons.
- Toast
Level - Severity level for a
ToastMessage.