Retained ordinary content owner with optional one-cell frame and embedded bars. Add one content root (a Row/Column/Grid for multiple controls). This is not virtualization. Initialize between frames before commands/preparation/binding. Before initialization paint is safe and empty; checked commands fail with INVALID_ARGUMENT. No callbacks or publication occur in layout or paint. Construct/mutate on the tree's UI thread; tree owns final widget destruction.
More...
|
| | ScrollArea (std::shared_ptr< ScrollController > controller={}, WidthPolicy width={}, ScrollAreaOptions options={}, ControlStyle style={}, SizePolicy policy={}) |
| | ScrollArea (std::shared_ptr< ScrollController > controller, WidthPolicy width, ScrollAreaOptions options, ControlStyle style, SizePolicy policy, FrameOptions frame, std::in_place_t advanced) |
| | Construct an area with an owning advanced frame, compiled before initialization.
|
|
| ~ScrollArea () override |
| | Release owning values; no user callback or terminal operation occurs.
|
| void | unmount () override |
| | Retire this node's lease and pointer token before destruction.
|
| std::expected< CellSize, TreeError > | measure (CellSize available) override |
| std::expected< CellSize, TreeError > | childAvailable (CellSize available) const override |
| std::expected< CellSize, TreeError > | measureChildren (std::span< const MeasuredChild > children) const override |
| std::expected< void, TreeError > | arrange (CellRect local) override |
| std::expected< CellRect, TreeError > | childClip (CellSize available) const override |
| std::expected< std::vector< CellRect >, TreeError > | arrangeChildren (std::span< const MeasuredChild > children, CellSize available) const override |
| std::expected< void, TreeError > | paint (PaintContext &context) override |
| ComputedStyle | styleDefaults () const override |
| | SizedWidget (SizePolicy policy={}) |
| | Own the supplied policies; checked by layout.
|
| SizePolicy | sizePolicy () const override |
| | Copy current policy without borrowing storage.
|
|
virtual | ~Widget ()=default |
| | Destroy on UI after the last active tree borrow.
|
|
virtual void | mount () |
| | Called exactly once after attachment; exceptions are reported.
|
| virtual bool | styleReadOnly () const noexcept |
| | Read actual view-only state during style staging; false by default.
|
| const std::shared_ptr< const StyleSnapshot > & | computedStyle () const noexcept |
| | Inspect the last atomically installed theme inside tree.read/frame.
|
| std::uint64_t | styleRevision () const noexcept |
|
virtual | ~LayoutItem ()=default |
| | Destroy with the implementing widget.
|
|
virtual | ~Layout ()=default |
| | Destroy with the implementing widget.
|
| virtual std::expected< LayoutChildPolicy, TreeError > | childLayoutFor (NodeId child, CellSize available) const |
| | Describe one child's clip and reveal policy after arrangeChildren.
|
Retained ordinary content owner with optional one-cell frame and embedded bars. Add one content root (a Row/Column/Grid for multiple controls). This is not virtualization. Initialize between frames before commands/preparation/binding. Before initialization paint is safe and empty; checked commands fail with INVALID_ARGUMENT. No callbacks or publication occur in layout or paint. Construct/mutate on the tree's UI thread; tree owns final widget destruction.