[−] [src] 板条箱orbtk
复用Re-exports
pub使用orbtk_proc_macros作为proc_macros; |
模组Modules
接口api | |
行为behaviors | 行为控件提供了一组默认的事件操作,例如鼠标事件处理。 将它们用作子项可以扩展窗口小部件的事件行为。 |
色彩colors | |
css引擎css_engine | |
实体组件系统ecs | |
字体fonts | |
素材-字体-图标material_font_icons | |
序幕prelude | |
渲染render | |
壳Shell | |
主题theme | |
树型tree | |
实用程序utils | |
控件widgets |
宏Macros
Debug | 派生宏,生成特征 |
into_property_source | |
小部件 | 用于定义具有属性和事件处理程序的控件。 |
结构体Structs
应用程序Application |
|
附加属性AttachedProperty | 用于生成附加属性。 |
边框Border | 用边框 |
边框构建器BorderBuilder | 用于构建边框,指定其他详细信息。 |
构建上下文BuildContext | 用于为控件创建以其属性作为组件的实体。 |
按钮Button | 用户可以单击 |
画布Canvas | 画布用于渲染3D图形。 |
选择框CheckBox |
|
清除 渲染对象ClearRenderObject | |
点击事件ClickEvent | |
点击事件处理ClickEventHandler | 用于处理点击事件。 可以附加到某个控件。 |
色彩Color | 一种rgba色彩。 |
列Column | 用于定义 |
列构建器ColumnBuilder | 用于构建列,指定其他详细信息。 |
子列Columns | 列属性内使用的辅助结构。 |
子列构建器ColumnsBuilder | 用于构建子列,指定其他详细信息。 |
组件框ComponentBox | 此结构存储具有类型ID的组件, 用于动态组件添加。 |
组件框构建器ComponentBuilder |
|
组件库ComponentStore |
|
约束Constraint |
|
约束构建器ConstraintBuilder | 用于建立约束,指定其他详细信息。 |
容器Container |
|
上下文Context |
|
光标Cursor |
|
光标状态CursorState | |
默认 渲染对象DefaultRenderObject | |
Dirty尺寸DirtySize | 包含长宽和Dirty flag的尺寸 |
实体Entity | 表示一个实体。 |
实体构建器EntityBuilder | 实体构建器用于创建具有组件的实体。 |
实体、组件管理器EntityComponentManager | EntityComponentManager维护主要实体和组件存储库。 |
实体库EntityStore | VecEntityStore是实体存储的默认基于矢量的实现。 |
事件盒EventBox | |
事件队列迭代器EventQueueIterator | |
事件队列EventQueue | |
事件状态系统EventStateSystem |
|
固定尺寸的布局FixedSizeLayout | 固定大小的布局由固定边界像是图像的大小或文本的大小等来定义。 |
字体图标块FontIconBlock |
|
字体图标渲染对象FontIconRenderObject | |
全局Global |
|
网格Grid |
|
网格布局GridLayout | 在具有列和行的网格布局中排序其子级。 如果定义了列和行,则网格布局也可以用作对齐布局。 |
哈希图HashMap | 通过二次探测和SIMD查找实现的哈希图。 |
图像Image | |
图像渲染对象ImageRenderObject | 用于渲染图像。 |
图像控件ImageWidget |
|
初始化系统InitSystem | 该系统用于初始化控件。 |
项目控件ItemsWidget |
|
项目控件状态ItemsWidgetState | |
按键事件KeyDownEvent | |
按键事件处理器KeyDownEventHandler | 用于处理按键事件, 可以附加到某个控件。 |
按键抬起事件KeyUpEvent | |
键盘状态KeyboardState | 包含键盘的状态信息。 |
布局系统LayoutSystem |
|
线性渐变停止LinearGradientStop | 描述彩色渐变上的位置。 |
浏览列表ListView |
|
浏览列表项目ListViewItem | |
浏览列表项目状态ListViewItemState | |
浏览列表状态ListViewState | |
消息盒MessageBox | 消息盒是用于包装消息的容器。 |
鼠标按键事件MouseDownEvent | |
鼠标按键事件处理器MouseDownEventHandler | 用于处理鼠标按下事件。 可以附加到某个控件。 |
鼠标移动事件MouseMoveEvent | |
鼠标按键抬起事件MouseUpEvent | |
鼠标按键抬起事件处理器MouseUpEventHandler | 用于处理鼠标按键抬起事件。 可以附加到某个控件。 |
PaddingLayout | 向小部件添加填充。 |
PipelineRenderObject | |
点 | |
PostLayoutStateSystem |
|
指针Rc | 单线程引用计数指针。 ‘Rc’代表“引用计数”。 |
矩形Rectangle | 描述一个新的可视矩形。 |
RectangleRenderObject | |
RefCell | 具有动态检查借位规则的可变内存位置 |
渲染管道 | RenderPipeline对象。 |
渲染系统 |
|
行 | 用于定义 |
行构建器 | 用于构建行,指定其他详细信息。 |
行数 | 行属性内部使用的辅助结构。 |
行构建器 | |
滚动条 |
|
ScrollEvent | |
ScrollEventHandler | |
滚动指示器 |
|
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 |
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. |
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. |
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 |
Traits
Any | A trait 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 | |
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 | 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. |
initialize | |
light_theme | |
print_tree | |
remove_selector_from_widget | Removes the given |
Type Definitions
EventHandlerMap | |
KeyHandler | |
MouseHandlerFunction | |
Priority | The run order of a system. The systems will be executed by priority from small to great. |
WidgetBuildContext |