[−][src]Module tui::widgets
widgets
is a collection of types that implement Widget
or StatefulWidget
or both.
All widgets are implemented using the builder pattern and are consumable objects. They are not meant to be stored but used as commands to draw common figures in the UI.
The available widgets are:
Modules
canvas |
Structs
Axis | An X or Y axis for the chart widget |
BarChart | Display multiple bars in a single widgets |
Block | Base widget to be used with all upper level ones. It may be used to display a box border around the widget and/or add a title. |
Borders | Bitflags that can be composed to set the visible borders essentially on the block widget. |
Cell | A |
Chart | A widget to plot one or more dataset in a cartesian coordinate system |
Clear | A widget to to clear/reset a certain area to allow overdrawing (e.g. for popups) |
Dataset | A group of data points |
Gauge | A widget to display a task progress. |
LineGauge | A compact widget to display a task progress over a single line. |
List | A widget to display several items among which one can be selected (optional) |
ListItem | |
ListState | |
Paragraph | A widget to display some text. |
Row | Holds data to be displayed in a |
Sparkline | Widget to render a sparkline over one or more lines. |
Table | A widget to display data in formatted columns. |
TableState | |
Tabs | A widget to display available tabs in a multiple panels context. |
Wrap | Describes how to wrap text across lines. |
Enums
BorderType | |
GraphType | Used to determine which style of graphing to use |
Traits
StatefulWidget | A |
Widget | Base requirements for a Widget |