Skip to main contentModule widgets
Source pub use button::Button;pub use checkbox::Checkbox;pub use color_picker::ColorPicker;pub use combo_box::ComboBox;pub use container::Container;pub use drag_value::DragValue;pub use flex::FlexColumn;pub use flex::FlexRow;pub use hyperlink::Hyperlink;pub use image_view::ImageView;pub use inspector::InspectorPanel;pub use inspector::InspectorSavedState;pub use label::Label;pub use label::LabelAlign;pub use markdown::MarkdownView;pub use menu::ShortcutKey;pub use conditional::Conditional;pub use primitives::Padding;pub use primitives::Separator;pub use primitives::SizedBox;pub use primitives::Spacer;pub use primitives::Stack;pub use progress_bar::ProgressBar;pub use radio_group::RadioGroup;pub use resize::Resize;pub use scroll_view::current_scroll_style;pub use scroll_view::current_scroll_visibility;pub use scroll_view::set_scroll_style;pub use scroll_view::set_scroll_visibility;pub use scroll_view::ScrollBarColor;pub use scroll_view::ScrollBarKind;pub use scroll_view::ScrollBarStyle;pub use scroll_view::ScrollBarVisibility;pub use scroll_view::ScrollView;pub use slider::Slider;pub use splitter::Splitter;pub use tab_view::TabView;pub use table::clip_text_to_width as table_clip_text_to_width;pub use table::CellInfo;pub use table::CellPainter;pub use table::ColumnSize;pub use table::RowPredicate;pub use table::Table;pub use table::TableBuilder;pub use table::TableColumn;pub use table::TableRows;pub use text_area::TextArea;pub use text_field::TextField;pub use toggle_switch::ToggleSwitch;pub use tooltip::Tooltip;pub use tree_view::NodeIcon;pub use tree_view::TreeView;pub use window::Window;
- button
Button — a clickable button with hover, pressed, and focus states.- checkbox
Checkbox — a boolean toggle with a label.- collapsing_header
CollapsingHeader — a clickable header that shows/hides child content.- color_picker
ColorPicker — an inline-expanding colour selection widget.- combo_box
ComboBox — a single-selection dropdown widget.- conditional
- Conditional — show/hide a single child based on an external Cell.
- container
Container — a rectangular box with optional background, border, and
padding that holds zero or more child widgets.- drag_value
DragValue — a numeric scrubber that lets the user drag left/right to change a value.- flex
- Flex layout widgets:
FlexColumn (vertical) and FlexRow (horizontal). - hyperlink
Hyperlink — a clickable label rendered in link style (blue, underlined).- image_view
ImageView — paints an Option<(rgba8_top_down, w, h)> as an image.- inspector
- Widget inspector panel — uses the system
TreeView for tree display. - label
Label — static text display widget.- markdown
MarkdownView — render a Markdown string as formatted text with images.- menu
- Reusable menu infrastructure.
- primitives
- Primitive layout widgets: Stack, Padding, SizedBox, Spacer, Separator.
- progress_bar
ProgressBar — a read-only horizontal progress indicator.- radio_group
RadioGroup — a set of mutually exclusive radio buttons.- resize
Resize — a nested, user-draggable resizable container.- scroll_view
ScrollView — scrolling container with egui-style scrollbars.- slider
Slider — a horizontal range slider with a draggable thumb.- splitter
Splitter — draggable divider between two children.- tab_view
TabView — a tabbed container with a clickable tab bar.- table
Table — a virtualised data-table widget with header, scrolling body,
striping, overlines, row-selection, sort-toggle hooks and
scroll_to_row.- text_area
TextArea — a multiline text editor.- text_field
TextField — single-line editable text input.- text_field_core
- Internal helpers for
TextField: UTF-8 navigation, word boundaries,
hit-test geometry, shared edit state, and the undo command type. - toggle_switch
ToggleSwitch — an iOS-style pill-shaped boolean toggle widget.- tooltip
Tooltip — a wrapper widget that shows egui-style hover help.- tree_view
TreeView — compositional tree widget with expand/collapse, multi-select,
keyboard navigation, and drag-and-drop reordering.- window
Window — a floating, draggable, resizable panel with a title bar.- window_title_bar
WindowTitleBar — paint delegate for the strip at the top of a Window.