Skip to main contentModule layout
Source - LayoutNode
- Rect
- Align
- FlexDir
- compute
- Compute layout starting at (0,0) with given available size.
Returns the root LayoutNode with absolute coordinates.
- hit_test
- Hit-test: find deepest clickable, enabled node at (mx, my).
- set_focus
- Walk tree and set
focused = true on the node whose id matches, false on all others.