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.
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.
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.
Functions
Focuses the next focusable widget.
Focuses the previous focusable widget.
Creates a horizontal
Rule
with the given height.Creates a new
ProgressBar
.Creates a new
Scrollable
with the provided content.Creates a new
TextInput
.Creates a new
Tooltip
with the provided content, tooltip text, and tooltip::Position
.Creates a vertical
Rule
with the given width.