Available on crate feature
winio only.Re-exports§
pub use super::super::OptionsPageMessage;pub use super::OptionsPageInit;pub use crate::PluginApp;
Macros§
- __join
- Polls multiple futures simultaneously, returning a tuple of all results once complete.
- __paste
- init
- Helper macro for
Component::init. - layout
- Helper macro for layouts in
Component::render. - start
- Helper macro for
Component::start.
Structs§
- App
- Root application, manages the async runtime.
- Borrowed
Widget - A borrowed window handle.
- Borrowed
Window - A borrowed window handle.
- Brush
Pen - Pen with specified brush.
- Button
- A simple button.
- Canvas
- A simple drawing canvas.
- Check
Box - A simple check box.
- Child
- Helper to embed one component into another. It handles different types of messages and events.
- Combo
Box - A simple combo box.
- Combo
Entry - A combo box with editable text box.
- Component
Sender - Sender of input messages and output events.
- Custom
Button - Custom button for
MessageBox. - Drawing
Context - Canvas drawing context.
- Drawing
Font - Font for drawing.
- Drawing
Font Builder - Builder of
DrawingFont. - Drawing
Image - Canvas compatible drawing image.
- Drawing
Path - A drawing path.
- Drawing
Path Builder - Builder for
DrawingPath. - Edit
- A simple single-line text input box.
- FileBox
- File open/save box.
- File
Filter - File type filter.
- Gradient
Stop - A transition point in a gradient.
- Grid
- A grid layout container.
- Grid
Child Builder - Builder of a child for
Grid. - Label
- A simple single-line label.
- Linear
Gradient Brush - Linear gradient brush.
- ListBox
- A simple list box.
- Logical
Space - The logical space.
- Message
Box - Message box.
- Message
BoxButton - The pre-defined message box buttons.
- Monitor
- Represents the geometry of a monitor.
- Observable
Vec - An observable vector. It outputs events after being changed.
- Progress
- A progress bar.
- Radial
Gradient Brush - Radial gradient brush.
- Radio
Button - A simple radio box. See
RadioButtonGroupfor making selection groups. - Radio
Button Group - A group of
RadioButton. Only one of them could be checked. - Relative
Space - The relative space, which maps [0.0, 1.0] to the logical space.
- Solid
Color Brush - Brush with single solid color.
- Stack
Panel - A stacked layout container.
- Stack
Panel Child Builder - Builder of a child for
StackPanel. - TextBox
- A simple multi-line text input box.
- ToolTip
- Tool tip helper for widgets.
- Window
- A simple window.
Enums§
- Button
Event - Events of
Button. - Canvas
Event - Events of
Canvas. - Check
BoxEvent - Events of
CheckBox. - Color
Theme - Color theme of application.
- Combo
BoxEvent - Events of
ComboBox. - Combo
BoxMessage - Messages of
ComboBox. - Combo
Entry Event - Events of
ComboEntry. - Edit
Event - Events of
Edit. - Grid
Length - The width or height of a grid cell.
- HAlign
- Horizontal alignment.
- Label
Event - Events of
Label. - List
BoxEvent - Events of
ListBox. - List
BoxMessage - Messages of
ListBox. - Message
BoxResponse - Response of message box.
- Message
BoxStyle - Style of message box.
- Mouse
Button - Represents the mouse button.
- Observable
VecEvent - The events of
ObservableVec. - Orient
- Orientation.
- Parse
Grid Length Error - Error can be returned when parsing
GridLength. - Progress
Event - Events of
Progress. - Radio
Button Event - Events of
RadioButton. - RawWidget
- Raw window handle.
- RawWindow
- Raw window handle.
- Text
BoxEvent - Events of
TextBox. - VAlign
- Vertical alignment.
- Window
Event - Events of
Window.
Traits§
- AsRaw
Widget - Trait to exact the raw window handle.
- AsRaw
Window - Trait to exact the raw window handle.
- AsWidget
- Trait to borrow the window handle.
- AsWindow
- Trait to borrow the window handle.
- Brush
- Drawing brush.
- Color
Ext - Extension trait for
Color. - Color
Theme Ext - Extension trait for
ColorTheme. - Component
- Foundamental GUI component.
- Enable
- Trait for a widget to enable or disable.
- Layoutable
- Trait for a layoutable widget.
- Monitor
Ext - Extension trait for
Monitor. - Pen
- Drawing Pen.
- Visible
- Trait for a widget to set visibility.
Functions§
- run
- Runs a root component, and exits when the component outputs an event.
Type Aliases§
- Angle
- Angle of vector.
- Color
- Color type.
- Margin
- Logical margin.
- Point
- Logical point.
- Rect
- Logical rectangle.
- RectBox
- Logical rectangle box.
- Relative
Point - Relative point.
- Relative
Size - Relative size.
- Relative
ToLogical - Transform from the relative space to the logical space.
- Relative
Vector - Relative vector.
- Rotation
- Logical rotation.
- Size
- Logical size.
- Vector
- Logical vector.