[][src]Module iced::widget

Display information and interactive controls in your application.

Re-exports

For convenience, the contents of this module are available at the root module. Therefore, you can directly type:

use iced::{button, Button};

Stateful widgets

Some widgets need to keep track of local state.

These widgets have their own module with a State type. For instance, a TextInput has some text_input::State.

Re-exports

pub use button::Button;
pub use checkbox::Checkbox;
pub use container::Container;
pub use image::Image;
pub use pane_grid::PaneGrid;
pub use pick_list::PickList;
pub use progress_bar::ProgressBar;
pub use radio::Radio;
pub use rule::Rule;
pub use scrollable::Scrollable;
pub use slider::Slider;
pub use svg::Svg;
pub use text_input::TextInput;
pub use canvas::Canvas;

Modules

button

Allow your users to perform actions by pressing a button.

canvasfeature="canvas" or feature="glow_canvas"

Draw 2D graphics for your users.

checkbox

Show toggle controls using checkboxes.

container

Decorate content and apply alignment.

imagefeature="image"

Display images in your user interface.

pane_grid

Let your users split regions of your application and organize layout dynamically.

pick_list

Display a dropdown list of selectable values.

progress_bar

Allow your users to visually track the progress of a computation.

radio

Create choices using radio buttons.

rule

Display a horizontal or vertical rule for dividing content.

scrollable

Navigate an endless amount of content with a scrollbar.

slider

Display an interactive selector of a single value from a range of values.

svgfeature="svg"

Display vector graphics in your user interface.

text_input

Display fields that can be filled with text.

Structs

Space

An amount of empty space.

Type Definitions

Column

A container that distributes its contents vertically.

Row

A container that distributes its contents horizontally.

Text

A paragraph of text.