Skip to main content

Module widget

Module widget 

Source
Expand description

Widget library for agpu — reusable UI components.

Each widget implements the Widget trait and is fully discoverable via the ontology system. Widgets render through the Painter trait and register hitboxes for event routing.

Structs§

Button
A clickable button with a text label.
Checkbox
A toggle checkbox with a label.
List
A scrollable list of items.
Menu
A vertical context/popup menu.
Modal
A modal overlay dialog.
Panel
A collapsible panel container.
ProgressBar
A horizontal progress bar (determinate or indeterminate).
Radio
An exclusive-choice radio button.
Select
A dropdown select widget for single-item selection.
Slider
A horizontal slider for selecting a value within a range.
Table
A data table with column headers and rows.
Tabs
A tabbed container — shows one tab’s content at a time.
TextArea
A multi-line editable text area with scrolling.
TextInput
A single-line editable text field.
Tooltip
A tooltip popup displaying helper text.
TreeView
A hierarchical tree view widget.

Traits§

Widget
Trait implemented by all widgets.