[−][src]Module druid::widget
Common widgets.
Modules
| align | A widget that aligns its child (for example, centering it). |
| button | A button widget. |
| flex | A widget that arranges its children in a one-dimensional array. |
| label | A label widget. |
| padding | A widget that just adds padding during layout. |
| widgetbox |
|
Structs
| Align | A widget that aligns its child. |
| Button | A button with a text label. |
| Column | A builder for a column widget that can contain flex children. |
| Flex | A container with either horizontal or vertical layout. |
| Label | A label that displays some text. |
| Padding | A widget that just adds padding around its child. |
| Row | A builder for a row widget that can contain flex children. |
| WidgetBox | Boxed version of a |
Enums
| LabelText | The text for the label; either a localized or a specific string. |
| WidgetType | Enum to store each |
Constants
| MAX_WIDGETS | Max number of |
Traits
| GlobalWidgets | Specialised Trait for handling static |
Functions
| get_widget_id | Assign a unique Widget ID |
Type Definitions
| WidgetId | Widgets are identified by an 8-bit ID |