[][src]Module orbtk_api::widget_base

Structs

BuildContext

Used to create an entity for a widget with its properties as components.

Context

The Context is provides access for the states to objects they could work with.

Registry

The struct Registry represents a global registry. It is used to register and call global elements like services.

StatesContext

The StatesContext provides access to the widget states.

WidgetContainer

The WidgetContainer wraps the entity of a widget and provides access to its properties, its children properties and its parent properties.

Enums

ParentType

Used to define the parent_typeof a widget.

Traits

AsAny
State

Used to define a state of a widget.

Template

The Template trait defines the template of a particular type of a widget.

Widget

The Widget trait is used to define a new widget.

Functions

find_parent

Finds th parent of the target_child. The parent of the target_child must be the given parent or a child of the given parent.

get_all_children
mark_as_dirty

Mark the widget and shared widgets as dirty.

register_property
toggle_flag

Toggles the selector state`.

Type Definitions

WidgetBuildContext