Noninteractive Unicode label; text remains data, including control characters.
More...
|
| | Label (GraphemeText text, ControlStyle style={}, SizePolicy policy=DEFAULT_CONTENT_POLICY) |
| | Construct an owning undecorated label on UI, normally through tree.emplace.
|
| std::expected< CellSize, TreeError > | measure (CellSize available) override |
| | Report intrinsic text and decoration width, with height one.
|
| std::expected< void, TreeError > | arrange (CellRect local) override |
| | Retain a zero-origin rectangle with the allocated local extent.
|
| std::expected< void, TreeError > | paint (PaintContext &context) override |
| | Submit local fill/text commands from the synchronized presentation snapshot.
|
| const GraphemeText & | text () const |
| | Inspect the control's owning Unicode text on UI.
|
| bool | focused () const |
| | Inspect the last synchronized focus presentation on UI.
|
| bool | enabled () const |
| | Inspect the last synchronized subtree eligibility presentation on UI.
|
| 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 void | unmount () |
| | Called once before destruction, children first; cleanup continues on exceptions.
|
| 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.
|
|
| | Control (GraphemeText text, std::string_view prefix, std::string_view suffix, ControlStyle style, SizePolicy policy) |
| | Own text/options and create fixed ASCII decorations under the text's validated width policy.
|
| | Control (GraphemeText text, GraphemeText prefix, GraphemeText checkedPrefix, ControlStyle style, SizePolicy policy) |
| | Own explicitly validated equal-width boolean decorations; no additional retained fields.
|
| bool | booleanChromeMatches () const |
| std::expected< void, TreeError > | paintCaption (PaintContext &context, bool stretchChrome) |
| | Paint the synchronized caption with intrinsic or allocated-width decorations.
|
| void | showChecked (bool checked) |
| | Select a same-width prefix between frames; used only by the checkbox binding.
|
| bool | shownChecked () const |
| | Inspect the single checked presentation flag on UI.
|
| void | showMixed (bool mixed) |
| | Select the fixed mixed decoration after caller-owned paint invalidation.
|
Noninteractive Unicode label; text remains data, including control characters.