logo
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.
canvascanvas
Draw 2D graphics for your users.
Show toggle controls using checkboxes.
Decorate content and apply alignment.
imageimage
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_codeqr_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.
svgsvg
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

Creates a Column with the given children.
Creates a [Row`] with the given children.

Structs

Canvascanvas
A widget capable of drawing 2D graphics.
A bar that displays progress.
QRCodeqr_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.
Svgsvg
A vector graphics image.

Functions

Creates a new Button with the provided content.
canvascanvas
Creates a new Canvas.
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 horizontal Space with the given Length.
Creates a new Image.
Creates a new PickList.
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 Svg widget from the given Handle.
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, and tooltip::Position.
Creates a vertical Rule with the given width.
Creates a new vertical Space with the given Length.

Type Definitions

A container that distributes its contents vertically.
A container that distributes its contents horizontally.