Module frame

Module frame 

Source
Expand description

Primary container and layout widget.

A Frame element is a node with a Layout controller and a Canvas view.

The screen is usually represented by a root frame node. A new screen Frame can be created with the screen::tile() or screen::pixel() functions. This will create a Frame element with zero Canvas coordinates and a free absolute Layout component. This node can be optionally initialized with a System control ID for handling system input events such as resizes.

Child frames can be created with the free::new() and tiled::new() functions.

Modules§

free
screen
tiled

Structs§

Builder
Builder for Frame.

Statics§

CONTROLS

Functions§

activate_pointer
Builtin button control ActivatePointer.
close
Builtin button control FrameClose.
hot_pointer
Builtin pointer control HotPointer.
refresh
Builtin button control FrameRefresh.
toggle_orientation
Builtin button control FrameToggleOrientation.

Type Aliases§

Frame