[−][src]Module druid::widget
Common widgets.
Structs
Align | A widget that aligns its child. |
Button | A button with a text label. |
Checkbox | A checkbox that toggles a boolean |
Column | A builder for a column widget that can contain flex children. |
Container | A convenience widget that combines common styling and positioning widgets. |
Either | A widget that switches between two possible child views. |
EnvScope | A widget that accepts a closure to update the environment for its child. |
Flex | A container with either horizontal or vertical layout. |
Label | A label that displays some text. |
List | A list widget for a variable-size collection of items. |
Padding | A widget that just adds padding around its child. |
Parse | Converts a |
ProgressBar | A progress bar, displaying a numeric progress value. |
Radio | A single radio button |
RadioGroup | A group of radio buttons |
Row | A builder for a row widget that can contain flex children. |
Scroll | A container that scrolls its contents. |
SizedBox | A widget with predefined size. |
Slider | A slider, allowing interactive update of a numeric value. |
Split | A container containing two other widgets, splitting the area either horizontally or vertically. |
Switch | A switch that toggles a boolean. |
TextBox | A widget that allows user text input. |
Enums
LabelText | The text for the label |
Traits
ListIter | This iterator enables writing List widget for any |
Widget | The trait implemented by all widgets. |
WidgetExt | A trait that provides extra methods for combining |