Internal checked bridge for owning layout edges and regional input. Public arrange retains its ordinary clipping fallback.
More...
#include <layout_traversal.hpp>
Internal checked bridge for owning layout edges and regional input. Public arrange retains its ordinary clipping fallback.
◆ adoptRegionalInput()
Validate and allocate the whole batch before publishing any gate.
- Parameters
-
| tree | UI-affine tree, between frames and outside guarded callbacks. |
| snapshot | Fresh owning GEOMETRY snapshot with current input history. |
| owners | Complete direct-child proposals, borrowed only during this call. |
- Returns
- Whether admission changed, or a typed identity/geometry/allocation error. No callback runs during validation or publication.
◆ arrange()
- Parameters
-
| tree | UI-affine tree borrowed during arrangement. |
| node | Checked child identity. |
| local | Parent-local allocation. |
| viewport | Complete surface viewport. |
| edge | Fresh edge copied synchronously; no widget borrow escapes. |
- Returns
- Success or the tree's unchanged arrangement/geometry/allocation error.
The documentation for this struct was generated from the following file: