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§
Structs§
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’.