Crate winio

Source
Expand description

A single-threaded asynchronous GUI runtime, based on compio and ELM design.

Structs§

App
Root application, manages the async runtime.
BorrowedWindow
A borrowed window handle.
BrushPen
Pen with specified brush.
Button
A simple button.
Canvas
A simple drawing canvas.
CheckBox
A simple check box.
Child
Helper to embed one component into another. It handles different types of messages and events.
ComboBox
A simple combo box.
ComboEntry
A combo box with editable text box.
ComponentSender
Sender of input messages and output events.
CustomButton
Custom button for MessageBox.
DrawingContext
Canvas drawing context.
DrawingFont
Font for drawing.
DrawingFontBuilder
Builder of DrawingFont.
DrawingImage
Canvas compatible drawing image.
DrawingPath
A drawing path.
DrawingPathBuilder
Builder for DrawingPath.
Edit
A simple single-line text input box.
FileBox
File open/save box.
FileFilter
File type filter.
GradientStop
A transition point in a gradient.
Grid
A grid layout container.
Label
A simple single-line label.
LayoutChildBuilder
Builder of a layoutable child.
LinearGradientBrush
Linear gradient brush.
LogicalSpace
The logical space.
MessageBox
Message box.
ObservableVec
An observable vector. It outputs events after being changed.
Progress
A progress bar.
RadialGradientBrush
Radial gradient brush.
RadioButton
A simple radio box. See RadioButtonGroup for making selection groups.
RadioButtonGroup
A group of RadioButton. Only one of them could be checked.
RelativeSpace
The relative space, which maps [0.0, 1.0] to the logical space.
SolidColorBrush
Brush with single solid color.
StackPanel
A stacked layout container.
Window
A simple window.

Enums§

ButtonEvent
Events of Button.
CanvasEvent
Events of Canvas.
CheckBoxEvent
Events of CheckBox.
ColorTheme
Color theme of application.
ComboBoxEvent
Events of ComboBox.
ComboBoxMessage
Messages of ComboBox.
ComboEntryEvent
Events of ComboEntry.
EditEvent
Events of Edit.
GridLength
The width or height of a grid cell.
HAlign
Horizontal alignment.
LabelEvent
Events of Label.
MessageBoxButton
The pre-defined message box buttons.
MessageBoxResponse
Response of message box.
MessageBoxStyle
Style of message box.
MouseButton
Represents the mouse button.
ObservableVecEvent
The events of ObservableVec.
Orient
Orientation.
ParseGridLengthError
Error can be returned when parsing GridLength.
ProgressEvent
Events of Progress.
RadioButtonEvent
Events of RadioButton.
VAlign
Vertical alignment.
WindowEvent
Events of Window.

Traits§

AsRawWindow
Trait to exact the raw window handle.
AsWindow
Trait to borrow the window handle.
Brush
Drawing brush.
Component
Foundamental GUI component.
Layoutable
Trait for a layoutable widget.
Pen
Drawing pen.

Type Aliases§

Angle
Angle of vector.
Color
Color type.
Margin
Logical margin.
Point
Logical point.
RawWindow
Pointer to QWidget.
Rect
Logical rectangle.
RectBox
Logical rectangle box.
RelativePoint
Relative point.
RelativeSize
Relative size.
RelativeToLogical
Transform from the relative space to the logical space.
RelativeVector
Relative vector.
Rotation
Logical rotation.
Size
Logical size.
Vector
Logical vector.