Expand description
Contextual interface elements.
Widgets are parameterized references to combinations of possibly concrete
component types. Each widget also defines its control functions.
Most widgets are graphical in some way and are parented to a Frame widget
that provides the primary container and layout functionalities.
Non-graphical widgets are the Form widget, which is completely generic,
and the Playback widget which has at least an Sfx view component and can
be parented to any other widget.
Re-exports§
pub use self::button::Button;pub use self::field::Field;pub use self::form::Form;pub use self::frame::Frame;pub use self::menu::Menu;pub use self::numbox::Numbox;pub use self::picture::Picture;pub use self::playback::Playback;pub use self::textbox::Textbox;
Modules§
- button
- Button widget.
- composite
- Compositions of widgets
- field
- Text entry widget.
- form
- Generic widget for submitting callbacks with current model state
- frame
- Primary container and layout widget.
- menu
- Selection widget.
- numbox
- Number box.
- picture
- Image display.
- playback
- A widget for audio playback.
- textbox
- Display text data.
Macros§
- build_
and_ get_ node_ ids - Process the build actions and return the created node IDs with the given names
- build_
and_ return_ node_ id - Process the build actions and return the Nth created node ID (starting from 0)
Structs§
- Widget
- Defines a reference to a particular combination of component kinds in an element node.
Traits§
- Build
Actions - Trait for widgets that are built from a list of
Actions - Build
Element - Trait for widget
Elementbuilders