[][src]Module orbtk::widgets

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

Macros

Debug

Derive macro generating an impl of the trait Debug.

Structs

Button

The Button widget can be clicked by user. It's used to perform an action.

Canvas

Canvas is used to render 3D graphics.

CheckBox

The CheckBox widget can be switch its selected state. It contains a selection box and a text.

Container

The Container layout widget surrounds its child with a padding. Draws a box around the child.

Cursor

The Cursor widget represents a text cursor used to mark text.

CursorState
FontIconBlock

The FontIconBlock widget is used to draw text. It is not interactive.

Grid

The Grid defines a flexible grid area that consists of columns and rows.

HashMap

A hash map implemented with quadratic probing and SIMD lookup.

Image
ImageWidget

The ImageWidget widget is used to draw an image. It is not interactive.

ItemsWidget

The ItemsWidget is a simple no interactive items drawer widget.

ItemsWidgetState
ListView

The ListView is an items drawer widget with selectable items.

ListViewItem
ListViewItemState
ListViewState
Rc

A single-threaded reference-counting pointer. 'Rc' stands for 'Reference Counted'.

RefCell

A mutable memory location with dynamically checked borrow rules

ScrollBar

The ScrollBar widget represents a position inside of a scroll container.

ScrollIndicator

The ScrollIndicator widget contains two scroll bars.

ScrollIndicatorState

The ScrollIndicatorState handles the ScrollIndicator widget.

ScrollViewer

The ScrollViewer defines a layout that is used to stack its children on the z-axis.

ScrollViewerState

The ScrollViewerState handles the ScrollViewer widget.

Selector

Describes a css selector.

Stack

The Stack defines a layout that is used to stack its children on the z-axis.

Switch

The Switch widget can be switch between on and off.

SwitchState

State to handle the position of switch toggle.

TextBlock

The TextBlock widget is used to draw text. It is not interactive.

TextBox

The TextBox widget represents a single line text input widget.

TextBoxState

The TextBoxState handles the text processing of the TextBox widget.

Theme

Theme is the representation of a css styling.

ToggleButton

The ToggleButton widget can be clicked by user and could switch between selected / not selected. It's used to perform an action.

TypeId

A TypeId represents a globally unique identifier for a type.

Window

The Window widget provides access to the properties of a application window. It also contains global properties like keyboard modifier and focused widget.

Traits

Any

A type to emulate dynamic typing.

Debug

? formatting.

Functions

default_theme
light_theme