[−][src]Crate orbtk
Re-exports
pub use orbtk_proc_macros as proc_macros; |
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 | |
css_engine | |
ecs | |
fonts | |
material_font_icons | |
prelude | |
proc_macros | |
render | |
shell | |
theme | |
tree | |
utils | |
widgets |
Macros
Debug | Derive macro generating an impl of the trait |
into_property_source | |
trigger_event | |
widget | Used to define a widget, with properties and event handlers. |
Structs
AbsoluteLayout | Place widgets absolute on the screen. |
ActivateEvent | |
ActivateEventHandler | |
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. |
BuildContext | Used to create an entity for a widget with its properties as components. |
Button | The |
Canvas | Canvas is used to render 3D graphics. |
ChangedEvent | |
ChangedEventHandler | |
CheckBox | The |
CleanupSystem | Handles the inner cleanup while window is closing. |
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. |
ComboBox | The |
ComboBoxItem | The |
ComboBoxItemState | The |
ComboBoxState | The |
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 |
Context | 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 | |
EventQueue | |
EventQueueIterator | |
EventStateSystem | The |
FixedSizeLayout | Fixed size layout is defined by fixed bounds like the size of an image or the size of a text. |
FocusEventHandler | |
FontIconBlock | The |
FontIconRenderObject | |
Global | The |
GlobalMouseUpEvent | |
GlobalMouseUpEventHandler | Defines an event handler for a global mouse up event. Global mouse up events could not be handled. |
Grid | The |
GridLayout | Orders its children in a grid layout with columns and rows. If no columns and rows are defined the grid layout could also be used as an alignment layout. |
HashMap | A hash map implemented with quadratic probing and SIMD lookup. |
HashSet | A hash set implemented as a |
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 | The |
ListViewItemState | The |
ListViewState | The |
MessageBox | A message box is a container for wrapping a message. |
MouseDownEvent | |
MouseDownEventHandler | Used to handle mouse down events. Could be attached to a widget. |
MouseMoveEvent | |
MouseMoveEventHandler | Used to handle mouse down events. Could be attached to a widget. |
MouseUpEvent | |
MouseUpEventHandler | Used to handle mouse down events. Could be attached to a widget. |
Overlay | The |
PaddingLayout | Add padding to the widget. |
PipelineRenderObject | |
Point | |
Popup | The |
PopupLayout | Add padding to the widget. |
PopupState | The |
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 |
Registry | The struct |
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 | Used to handle scroll events. Could be attached to a widget. |
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. |
Settings |
|
SharedComponentBox | This struct is used to store a shared component with its type id. Used for dynamic component adding. |
Slider | The |
SliderState | The |
Stack | The |
StackLayout | Stacks visual the children widgets vertical or horizontal. |
StatesContext | The |
String16 | A UTF-16 encoded, growable string. |
StringComponentBuilder | The |
StringComponentStore | The |
StringMessage | Used to sent a simple string message over the message channel. |
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. |
TypeId | A |
WidgetContainer | The |
Window | The |
WindowAdapter | Represents a window. Each window has its own tree, event pipeline and shell. |
WindowEventHandler | |
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 of an event how it moves through the tree. |
FocusEvent | Used to request keyboard focus on the window. |
MessageError | |
NotFound | Not found error. |
Orientation | Is used to control the orientation of the |
ParentType | Used to define 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 |
Statics
ELEMENT_SLIDER | |
ELEMENT_TEXT_BOX | |
ELEMENT_WINDOW | |
LIST_VIEW |
Traits
ActivateHandler | |
Any | A trait to emulate dynamic typing. |
AsAny | |
Bordered | Contains a set of getters and setters to read and write to a border. |
ChangedHandler | |
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 | |
State | Used to define a state of a widget. |
System | This trait is used to interact with the components of entities. It could read and write to the components. |
Template | The |
Widget | The |
Functions
add_selector_to_widget | Adds the given |
check_mouse_condition | Checks if the given point is inside of a widget. |
default_theme | |
get_property | Get the property of a widget. |
get_property_or_value | Returns the value of a property of a widget if it exists otherwise the given value. |
initialize | |
light_theme | |
print_tree | |
remove_selector_from_widget | Removes the given |
Type Definitions
EventHandlerMap | |
FocusHandlerFn | |
GlobalMouseHandlerFunction | |
KeyHandler | |
MouseHandlerFunction | |
Priority | The run order of a system. The systems will be executed by priority from small to great. |
TriggerHandler | |
WidgetBuildContext | |
WindowHandlerFn |
Derive Macros
AsAny | |
Event | |
IntoHandler | |
Pipeline |