[−][src]Module orbtk::prelude
Modules
api | |
behaviors | Behavior widgets are provides a default set of event actions like mouse event handling. Use them as child to expand the event behavior of your widget. |
colors | |
ecs | |
fonts | |
material_font_icons | |
render | |
shell | |
theme | |
utils | |
widget |
Macros
Debug | Derive macro generating an impl of the trait |
into_property_source | |
widget | Used to define a widget, with properties and event handlers. |
Structs
Application | The |
AttachedProperty | Used ot generate attached properties. |
Border | Describes a border of a shape with border |
BorderBuilder | Used to build a border, specifying additional details. |
Button | The |
Canvas | Canvas is used to render 3D graphics. |
CheckBox | The |
ClearRenderObject | |
ClickEvent | |
ClickEventHandler | Used to handle click events. Could be attached to a widget. |
Color | A r g b a color. |
Column | Used to define the column of the |
ColumnBuilder | Used to build a column, specifying additional details. |
Columns | Helper struct used inside of the columns Property. |
ColumnsBuilder | Used to build a columns, specifying additional details. |
ComponentBox | This struct is used to store a component with its type id. Used for dynamic component adding. |
ComponentBuilder | The |
ComponentStore | The |
Constraint |
|
ConstraintBuilder | Used to build a constraint, specifying additional details. |
Container | The |
Cursor | The |
CursorState | |
DefaultRenderObject | |
DirtySize | Size with width, height and dirty flag. |
Entity | Represents an entity. |
EntityBuilder | The entity builder is used to create an entity with components. |
EntityComponentManager | The EntityComponentManager represents the main entity and component storage. |
EntityStore | VecEntityStore is the default vector based implementation of an entity store. |
EventBox | |
EventQeueIterator | |
EventQueue | |
EventStateSystem | The |
FixedSizeLayout | Fixed size layout is defined by fixed bounds like the size of an image or the size of a text. |
FontIconBlock | The |
FontIconRenderObject | |
Global | The |
Grid | The |
GridLayout | Orders its children in a grid layout with columns and rows. If now columns and rows are defined the gird layout could also be used as alignment layout. |
HashMap | A hash map implemented with quadratic probing and SIMD lookup. |
Image | |
ImageRenderObject | Used to render an image. |
ImageWidget | The |
InitSystem | This system is used to initializes the widgets. |
ItemsWidget | The |
ItemsWidgetState | |
KeyDownEvent | |
KeyDownEventHandler | Used to handle key down events. Could be attached to a widget. |
KeyUpEvent | |
KeyboardState | Contains the state information for the keyboard. |
LayoutSystem | The |
LinearGradientStop | Describes a position on a colorful gradient. |
ListView | The |
ListViewItem | |
ListViewItemState | |
ListViewState | |
MouseDownEvent | |
MouseDownEventHandler | Used to handle mouse down events. Could be attached to a widget. |
MouseMoveEvent | |
MouseUpEvent | |
MouseUpEventHandler | Used to handle mouse down events. Could be attached to a widget. |
PaddingLayout | Add padding to the widget. |
PipelineRenderObject | |
Point | |
PostLayoutStateSystem | The |
Rc | A single-threaded reference-counting pointer. 'Rc' stands for 'Reference Counted'. |
Rectangle | Describes a new visual rectangle. |
RectangleRenderObject | |
RefCell | A mutable memory location with dynamically checked borrow rules |
RenderPipeline | RenderPipeline object. |
RenderSystem | The |
Row | Used to define the row of the |
RowBuilder | Used to build a row, specifying additional details. |
Rows | Helper struct used inside of the row Property. |
RowsBuilder | |
ScrollBar | The |
ScrollEvent | |
ScrollEventHandler | |
ScrollIndicator | The |
ScrollIndicatorState | The |
ScrollLayout | IMPORTANT: The scroll layout will only work for the text box now. A update will follow!!!! |
ScrollViewer | The |
ScrollViewerMode |
|
ScrollViewerState | The |
SelectedEntities |
|
SelectedIndices |
|
Selector | Describes a css selector. |
SharedComponentBox | This struct is used to store a shared component with its type id. Used for dynamic component adding. |
Stack | The |
StackLayout | Stacks visual the children widgets vertical or horizontal. |
String16 | A UTF-16 encoded, growable string. |
StringComponentBuilder | The |
StringComponentStore | The |
Switch | The |
SwitchState | State to handle the position of switch toggle. |
TextBlock | The |
TextBox | The |
TextBoxState | The |
TextRenderObject | Used to render a text. |
TextSelection | Is used to mark the selection of a text. |
TextSelectionLayout | The text selection layout is used to measure and arrange a text selection cursor. |
Theme |
|
ThemeBuilder | Used to build a theme, specifying additional details. |
ThemeValue |
|
Thickness | Used to describes a thickness e.g a border thickness. |
ToggleButton | The |
Tree | Base data structure to manage the entity entities of a window in a tree based structure. |
TreeIterator | Used to create an iterator for the tree. |
TypeId | A |
Window | The |
WindowAdapter | Represents a window. Each window has its own tree, event pipeline and shell. |
World | The |
WorldWrapper |
Enums
Alignment | Used to align a widget vertical or horizontal. |
Brush | A |
ColumnWidth | Used to define the width of a grid column. |
EventError | |
EventStrategy | Defines the strategy a event moves through the tree. |
Key | Represents a keyboard key. |
NotFound | Not found error. |
NotFound | Used as return type if a requested entity is not found on the tree. |
Orientation | Is used to control the orientation of the |
PropertySource | Use to build a property or to share it. |
RowHeight | Used to define the height of a grid row. |
ScrollMode | The |
SelectionMode | Represents a selection mode. |
SelectorRelation | |
SystemEvent | |
TextAlignment | Used to align a text. |
TextBaseline | Text baseline being used when drawing text |
Visibility | Is used to control the visibility of a widget |
WindowEvent |
Traits
Any | A type to emulate dynamic typing. |
Bordered | Contains a set of getters and setters to read and write to a border. |
Component | This trait is used to internal handle all components types. This trait is implicitly implemented for all other types. |
Debug |
|
Event | Used to define an event. |
EventHandler | This trait is used to define an event handler. |
IntoPropertySource | Used to convert components / properties into a PropertySource object. |
KeyDownHandler | |
Layout | A layout is used to dynamic order the children of a widget. |
MouseHandler | |
RenderObject | |
System | This trait is used to interact with the components of entities. It could read and write to the components. |
Functions
check_mouse_condition | Checks if the given point is inside of a widget. |
default_theme | |
get_property | Used to the a property of a widget. |
get_property_or_value | Returns the value of a property of a widget if it exists otherwise the given value. |
light_theme | |
print_tree |
Type Definitions
EventHandlerMap | |
KeyHandler | |
MouseHandlerFunction | |
Priority | The run order of a system. The systems will be executed by priority from small to great. |
Derive Macros
Pipeline |