Expand description
Display information and interactive controls in your application.
Re-exports
pub use button::Button;
pub use checkbox::Checkbox;
pub use container::Container;
pub use pane_grid::PaneGrid;
pub use pick_list::PickList;
pub use radio::Radio;
pub use scrollable::Scrollable;
pub use text::Text;
pub use text_input::TextInput;
pub use toggler::Toggler;
pub use tooltip::Tooltip;
pub use image::Image;
Modules
- Allow your users to perform actions by pressing a button.
- canvas
canvas
Draw 2D graphics for your users. - Show toggle controls using checkboxes.
- Decorate content and apply alignment.
- image
image
Display images in your user interface. - Intercept mouse events on a widget.
- Let your users split regions of your application and organize layout dynamically.
- Display a dropdown list of selectable values.
- Provide progress feedback to your users.
- qr_code
qr_code
Encode and display information in a QR code. - Create choices using radio buttons.
- Display a horizontal or vertical rule for dividing content.
- Navigate an endless amount of content with a scrollbar.
- Display an interactive selector of a single value from a range of values.
- svg
svg
Display vector graphics in your application. - Write some text for your users to read.
- Display fields that can be filled with text.
- Show toggle controls using togglers.
- Display a widget over another.
- Display an interactive selector of a single value from a range of values.
Macros
Structs
- Canvas
canvas
A widget capable of drawing 2D graphics. - A bar that displays progress.
- QRCode
qr_code
A type of matrix barcode consisting of squares arranged in a grid which can be read by an imaging device, such as a camera. - Display a horizontal or vertical rule for dividing content.
- An horizontal bar and a handle that selects a single value from a range of values.
- An amount of empty space.
- Svg
svg
A vector graphics image. - An vertical bar and a handle that selects a single value from a range of values.
Functions
- Creates a new
Button
with the provided content. - canvas
canvas
Creates a newCanvas
. - Creates a new
Checkbox
. - Creates a new
Column
with the given children. - Creates a new
Container
with the provided content. - Focuses the next focusable widget.
- Focuses the previous focusable widget.
- Creates a horizontal
Rule
with the given height. - Creates a new
Image
. - A container intercepting mouse events.
- Creates a new
PickList
. - Creates a new
ProgressBar
. - Creates a new
Radio
. - Creates a new
Row
with the given children. - Creates a new
Scrollable
with the provided content. - Creates a new
Slider
. - Creates a new
Text
widget with the provided content. - Creates a new
TextInput
. - Creates a new
Toggler
. - Creates a new
Tooltip
with the provided content, tooltip text, andtooltip::Position
. - Creates a vertical
Rule
with the given width. - Creates a new
VerticalSlider
.
Type Definitions
- A container that distributes its contents vertically.
- A container that distributes its contents horizontally.