[][src]Crate orbtk_api

API crate that provides base api and elements for OrbTk like widgets basis.

Modules

application

This module contains the base elements of an OrbTk application (Application, WindowBuilder and Window).

event

This module contains all resources to call and handle events.

layout
macros
prelude
properties

This sub module contains extra structs used as widget properties.

render_object

This module contains all render objects used in OrbTk. Render objects are used to define how to draw parts of a widget.

services

This module contains global services.

systems

Contains all system used in OrbTk. Systems are meant as systems in OrbTks Entity Component System. These are used for event handling, building layout and drawing.

widget_base

Macros

into_property_source
trigger_event
widget

Defines a new type of Widget with its properties and event handlers. Widgets defined by this macro can be instantiated by calling the new() method. Inherits default properties from a base widget. Implements the Widget trait automatically. Also the struct serves as a builder of the builder pattern.