|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Single-use owning construction recipe; no mounted widget ownership. More...
#include <ui_description.hpp>
Public Member Functions | |
| Description ()=default | |
| Construct an empty recipe; mounting it returns INVALID_ARGUMENT. | |
| Description (Description &&) noexcept=default | |
| Transfer the unnamed recipe; its source becomes empty. | |
| Description & | operator= (Description &&) noexcept=default |
| Replace this recipe with the unnamed source, which becomes empty. | |
| Description (const Description &)=delete | |
| Description & | operator= (const Description &)=delete |
| Description && | settings (ControlSettings patch) && |
| Description && | mode (DocumentViewMode value) && |
| Description && | hex (DocumentHexOptions options={}) && |
| Description && | language (DocumentLanguage value) && |
| Description && | language (std::string_view name) && |
| Description && | syntax (DocumentSyntaxPolicy value) && |
| Description && | lineNumbers (bool enabled=true) && |
| Description && | fastScroll (std::uint64_t step=8, key::Modifier keyboard=key::CTRL, key::Modifier wheel=key::ALT) && |
| Description && | scrollStep (std::uint64_t rows) && |
| Description && | wrap (bool enabled=true) && |
| Description && | encoding (DocumentEncoding value) && |
| Description && | threeState () && |
| Description && | chrome (ButtonChrome value) && |
| Description && | glyphProfile (GlyphProfile value) && |
| Description && | glyphProfile (std::string_view value) && |
| Description && | glyphFallback (GlyphFallback value) && |
| Description && | glyphFallback (std::string_view value) && |
| Description && | glyphs (PrimitiveGlyphs value) && |
| Description && | maxPaintCells (std::size_t cells) && |
| Description && | value (double value) && |
| Description && | minimum (double value) && |
| Description && | maximum (double value) && |
| Description && | range (double minimum, double maximum) && |
| Description && | preferredWidth (std::int32_t cells) && |
| Description && | step (double amount) && |
| Description && | skin (std::string_view name) && |
| Description && | skin (SliderSkin value) && |
| Description && | skin (SpinBoxSkin value) && |
| Description && | glyphs (SliderGlyphs value) && |
| Description && | pageSteps (std::uint64_t count) && |
| Description && | wheelStep (double cells) && |
| Description && | keyStep (std::uint64_t cells) && |
| Description && | pageOverlap (std::uint64_t cells) && |
| Description && | arrows (bool enabled=true) && |
| Description && | minimumThumb (std::int32_t cells) && |
| Description && | focusable (bool value=true) && |
| Description && | readOnly (bool value=true) && |
| Description && | selectionMode (RadioSelectionMode value) && |
| Description && | immediate (bool enabled=true) && |
| Description && | fuzzy (bool enabled=true) && |
| Description && | prefix () && |
| Description && | noEcho (bool enabled=true) && |
| Description && | editMode (EditMode value) && |
| Description && | placeholder (TextValue value) && |
| Description && | placeholder (std::string_view value) && |
| Description && | horizontal (ScrollBarPolicy policy) && |
| Description && | vertical (ScrollBarPolicy policy) && |
| Description && | placement (ScrollPlacement placement) && |
| Description && | scrollOnFrame () && |
| Description && | scrollbar (std::string_view pattern) && |
| Description && | scrollbar (ScrollbarPattern pattern) && |
| Description && | scrollTrack (std::string_view pattern) && |
| Description && | scrollTrack (ScrollbarPattern pattern) && |
| Description && | scrollThumb (std::string_view pattern) && |
| Description && | scrollThumb (ScrollbarThumbPattern pattern) && |
| Description && | scrollArrows (std::string_view pattern) && |
| Description && | scrollArrows (ScrollbarArrowPattern pattern) && |
| Description && | scrollbar (ScrollbarSkin skin) && |
| Description && | frameEnabled (bool enabled=true) && |
| Description && | frameGlyphs (PrimitiveGlyphs glyphs) && |
| Description && | frameMaxPaintCells (std::size_t cells) && |
| Description && | axis (ScrollAxis axis) && |
| Description && | rowHeight (std::int32_t value) && |
| Description && | autoRowHeight (bool enabled=true) && |
| Description && | overscanRows (std::size_t value) && |
| Description && | maxColumns (std::size_t value) && |
| Description && | maxPreparedCells (std::size_t value) && |
| Description && | maxPreparedTextBytes (std::size_t value) && |
| Description && | mode (ChartMode value) && |
| Description && | chartGlyphSet (ChartGlyphSet value) && |
| Description && | candleGap (std::int32_t cells) && |
| Description && | yRange (std::optional< ChartRange > range) && |
| Description && | showStatus (bool value=true) && |
| Description && | statusRows (std::int32_t value) && |
| Description && | contentPolicy (DataContentPolicy value) && |
| Description && | spinnerInterval (SchedulerTime value) && |
| Description && | labels (ControlDataStateLabelSettings values) && |
| Description && | maxLayers (std::size_t value) && |
| Description && | title (TextValue value) && |
| Description && | title (std::string_view value) && |
| Description && | mode (DialogMode value) && |
| Description && | nonModal () && |
| Keep the main form available while this dialog is open. | |
| Description && | placement (DialogPlacement value) && |
| Description && | viewportMargin (std::int32_t value) && |
| Description && | anchorGap (std::int32_t value) && |
| Description && | closeOnEscape (bool value=true) && |
| Description && | closeButton (DialogCloseOptions options={}) && |
| Description && | maximumPanelSize (CellSize caps) && |
| Description && | frame (BorderOptions options) && |
| Description && | dialogSettings (ControlDialogSettings values) && |
| Description && | body (TextValue value) && |
| Description && | body (std::string_view value) && |
| Description && | messageSettings (ControlMessageSettings values) && |
| Description && | themeCatalogSettings (ControlThemeCatalogSettings values) && |
| Description && | themeSelectorSettings (ControlThemeSelectorSettings values) && |
| Description && | notificationSettings (ControlNotificationSettings values) && |
| Description && | initiallyOpen (bool opened=true) && |
| Description && | format (ControlKeyFormatSettings values) && |
| Description && | emptyText (std::string value) && |
| Description && | unavailableText (std::string value) && |
| Description && | entrySeparator (std::string value) && |
| Description && | overflowMarker (std::string value) && |
| Description && | padding (LayoutPadding insets) && |
| Description && | preset (SpinnerPreset value) && |
| template<typename Name> requires (std::same_as<T, Spinner> && std::convertible_to<Name, std::string_view>) | |
| Description && | preset (Name &&value) && |
| Description && | frames (std::initializer_list< std::string_view > values) && |
| Description && | frames (std::string_view value) && |
| Description && | interval (SchedulerTime value) && |
| Description && | direction (SpinnerDirection value) && |
| Description && | alignment (LayoutAlign value) && |
| Description && | active (bool value) && |
| Description && | reducedMotion (bool value) && |
| Description && | label (std::string_view value) && |
| Description && | label (TextValue value) && |
| Description && | maxFrames (std::size_t value) && |
| Description && | maxFrameBytes (std::size_t value) && |
| Description && | maxFrameCells (std::size_t value) && |
| Description && | horizontalAlign (LayoutAlign align) && |
| Description && | verticalAlign (LayoutAlign align) && |
| Description && | variant (std::string_view type) && |
| Description && | reference (NodeRef< T > reference) && |
| template<class U> requires std::same_as<T, Dialog> | |
| Description && | anchor (const Ref< U > &reference, DialogPlacement placement=DialogPlacement::BELOW_START) && |
| template<class Callback> requires std::same_as<T, Dialog> | |
| Description && | onDismiss (Callback callback) && |
| Description && | style (StyleTarget target) && |
| Description && | id (std::string_view value) && |
| Description && | classes (std::string_view value) && |
| template<class Callback = detail::QuitCommand> requires (std::same_as<T, Button> && portals::detail::ManagedAction<Callback, ClickEvent>) | |
| Description && | onClick (Callback callback) && |
| template<std::equality_comparable Value, class Callback> requires std::copy_constructible<Callback> && (std::same_as<std::invoke_result_t<Callback &, const Value &>, void> || std::same_as<std::invoke_result_t<Callback &, const Value &>, std::expected<void, TreeError>>) | |
| Description && | observe (ManagedState< Value > model, Callback callback) && |
| template<std::equality_comparable Value, class Callback> requires std::copy_constructible<Callback> && (std::same_as<std::invoke_result_t<Callback &, const Value &>, void> || std::same_as<std::invoke_result_t<Callback &, const Value &>, std::expected<void, TreeError>>) | |
| Description && | observe (ManagedSource< Value > source, Callback callback) && |
| Description && | onEvent (ManagedEventHandler< T > callback) && |
| Description && | onPrepare (ManagedPrepareHandler< T > callback) && |
| template<class Callback> requires std::copy_constructible<Callback> && portals::detail::ManagedTreeResult<std::invoke_result_t<Callback &, T &, Node <Widget>>> && (!std::same_as<std::invoke_result_t<Callback &, T &, Node<Widget>>, std::expected<void, TreeError>>) | |
| Description && | onPrepare (Callback callback) && |
| Description && | visible (bool value=true) && |
| Description && | enabled (bool value=true) && |
| Description && | framed (FrameOptions options={}) && |
| Description && | titleDecoration (TitleDecoration decoration) && |
| Description && | titleDecoration (std::string_view name) && |
| Description && | titleDecoration (CustomTitleDecoration decoration) && |
| Description && | framed (std::string_view pattern) && |
| Description && | framed (std::string_view pattern, std::string_view title) && |
| template<class Title> requires std::same_as<Title, ValueText> && (std::derived_from<T, SizedWidget> && !std::derived_from<T, ScrollArea>) | |
| Description && | framed (std::string_view pattern, Title title) && |
| template<class Value> requires std::formattable<Value, char> && std::equality_comparable<Value> && std::copy_constructible<Value> && (std::derived_from <T, SizedWidget> && !std::derived_from<T, ScrollArea>) | |
| Description && | framed (std::string_view pattern, Model< Value > title) && |
| Description && | framed (Ref< Border > outer, FrameOptions options={}) && |
| Description && | framed (Ref< Border > outer, std::string_view pattern) && |
| Description && | framed (Ref< Border > outer, std::string_view pattern, std::string_view title) && |
| template<class Title> requires std::same_as<Title, ValueText> && (std::derived_from<T, SizedWidget> && !std::derived_from<T, ScrollArea>) | |
| Description && | framed (Ref< Border > outer, std::string_view pattern, Title title) && |
| template<class Value> requires std::formattable<Value, char> && std::equality_comparable<Value> && std::copy_constructible<Value> && (std::derived_from <T, SizedWidget> && !std::derived_from<T, ScrollArea>) | |
| Description && | framed (Ref< Border > outer, std::string_view pattern, Model< Value > title) && |
| Description && | width (std::int32_t cells) && |
| Description && | height (std::int32_t cells) && |
| Description && | fitWidth () && |
| Description && | fitHeight () && |
| Description && | minWidth (std::int32_t cells) && |
| Description && | maxWidth (std::int32_t cells) && |
| Description && | minHeight (std::int32_t cells) && |
| Description && | maxHeight (std::int32_t cells) && |
| Description && | columns (std::size_t count) && |
| Description && | rows (std::size_t count) && |
| Description && | flow (GridFlow value) && |
| Description && | columnGap (std::int32_t cells) && |
| Description && | rowGap (std::int32_t cells) && |
| Description && | gridOptions (DeclarativeGridOptions options) && |
| Description && | presentation (GridPresentation presentation) && |
| Description && | columnSizes (const std::vector< AxisSize > &policies) && |
| Description && | rowSizes (const std::vector< AxisSize > &policies) && |
| Description && | scroll (std::shared_ptr< ScrollController > controller={}) && |
| Description && | scrollOptions (ScrollAreaOptions options) && |
| Description && | gridItem (GridItemOptions options) && |
| Description && | row (std::size_t index) && |
| Description && | column (std::size_t index) && |
| Description && | rowSpan (std::size_t count) && |
| Description && | columnSpan (std::size_t count) && |
| Description && | flexX (std::uint32_t weight=1) && |
| Description && | flexY (std::uint32_t weight=1) && |
| Description && | flex (std::uint32_t weight=1) && |
| Description && | setup (Setup< T > callback) && |
| Description && | focusScope () && |
| Declare this subtree as a nested focus scope, with scene-owned lifetime. | |
| Description && | focusDefault () && |
| Prefer this node when entering its nearest scope without eligible history. | |
Friends | |
| struct | detail::Access |
| struct | detail::ResourceAccess |
| template<detail::DescriptionInput Child> | |
| Description< Border > | border (Child &&, BorderOptions, ControlStyle) |
| template<detail::DescriptionInput Child> | |
| Description< ScrollArea > | scrollArea (Child &&, ScrollAreaOptions, std::shared_ptr< ScrollController >, ControlStyle) |
| template<class U, class... Args> | |
| Description< U > | custom (Args &&... args) |
| Capture constructor arguments without requiring inheritance from a DSL widget. | |
| template<class U> | |
| Description< U > | control (std::string_view text, ControlStyle style, SizePolicy policy) |
| Construct a standard text-control recipe with the scene's width policy. | |
| template<class U, detail::DescriptionInput... Children> | |
| Description< U > | linear (LinearOptions, Children &&...) |
| template<class U, detail::DescriptionRange R> | |
| Description< U > | linear (LinearOptions options, R &&children) |
| Immediately consume a range into the existing linear-layout mount transaction. | |
| template<detail::DescriptionInput... Children> | |
| Description< Overlay > | overlay (OverlayOptions, SizePolicy, Children &&...) |
| template<detail::GridInput... Children> | |
| Description< Grid > | grid (Children &&...) |
| Description< LineEdit > | lineEdit (ManagedState< std::string > model, LineEditConfig config) |
Single-use owning construction recipe; no mounted widget ownership.
Move-only recipe whose strings, arguments, children and callbacks survive their sources.
| T | Public Widget subtype constructed by the recipe, including final types. |
| T | Public Widget subtype. Factories enforce constructor compatibility when instantiated. Factory/modifier allocations and capture construction may throw before mount begins. Mount translates internal exceptions, consumes the entire recipe even on failure, and transfers registered callbacks to the existing ManagedScene. Destruction never changes mounted UI. |
|
inline |
|
inline |
|
inline |
| U | Public widget type of the ordinary-body anchor. |
| reference | Weak observing slot resolved after the entire cold mount, before publication. |
| placement | Preferred ABOVE_START/BELOW_START position; CENTER retains centered placement. |
|
inline |
| value | Nonnegative distance from an anchor. |
|
inline |
| enabled | Reserve functional end buttons on channels of at least three cells. |
|
inline |
| enabled | Measure each bounded mounted row from its composed content. |
|
inline |
| axis | Effective bar projection axis; standalone/shared writer ownership is unchanged. |
|
inline |
| value | Literal paragraph bytes copied immediately. |
|
inline |
| value | Owning MessageBox paragraph expression. |
|
inline |
| cells | Nonnegative empty columns between candle samples; ignored by LINE mode. |
|
inline |
| value | Chart candle glyph set, independent of primitive decorations. |
|
inline |
|
inline |
| value | Class names copied now, separated only by ASCII whitespace; empty clears. |
|
inline |
| options | Top-frame close chrome; calling with defaults enables it. |
|
inline |
| value | Existing Escape cancellation policy. |
|
inline |
| index | Zero-based local column; row must also be explicit. |
|
inline |
| cells | Nonnegative terminal cells between columns. |
|
inline |
| count | Positive fixed column count; row-major flow grows rows within the configured budget. |
|
inline |
| policies | Track policies copied now; length must equal the resolved shared column count. |
|
inline |
| count | Positive number of occupied columns, including intervening gaps. |
|
inline |
| value | Existing body visibility policy; automatic mode requires KEEP_BODY. |
|
inline |
| values | Sparse independent native options; unspecified actual values survive. |
|
inline |
|
inline |
| value | Publication mode shared by input and fluent changes. |
|
inline |
| value | Owning literal UTF-8 presentation text, never resolved as an expression. |
|
inline |
| value | Final local enabled state; false preserves layout/paint and uses existing input/style rules. |
|
inline |
| value | Explicit byte encoding. |
|
inline |
| value | Owning literal UTF-8 presentation text, never resolved as an expression. |
|
inline |
| step | Positive absolute visual-row step, at most INT64_MAX. |
| keyboard | Exact Up/Down modifier. |
| wheel | Exact wheel modifier. |
|
inline |
|
inline |
|
inline |
| weight | Positive flex weight for both axes, with zero preferred bases and existing bounds preserved. |
|
inline |
| weight | Positive horizontal flex weight; zero preferred basis, existing bounds and vertical axis are preserved. |
|
inline |
| weight | Positive vertical flex weight; zero preferred basis, existing bounds and horizontal axis are preserved. |
|
inline |
| value | Forward placement direction; COLUMN_MAJOR requires rows. |
|
inline |
| value | Whether the owning area/standalone bar joins focus traversal. |
|
inline |
Prefer this node when entering its nearest scope without eligible history.
|
inline |
Declare this subtree as a nested focus scope, with scene-owned lifetime.
|
inline |
| values | Owning sparse literal formatter patch, merged one leaf at a time. |
|
inline |
| options | Existing mandatory frame glyph/paint options; no optional enabled state. |
|
inline |
| options | Owning frame pattern, sides, title and finite limits; validated during mount. |
|
inline |
| outer | Empty observer published for the retained Border only after complete mount success. |
| options | Owning advanced frame settings. |
|
inline |
| outer | Empty observer for this recipe's new Border ancestor. |
| pattern | Checked compact preset name. |
| Description && portals::ui::Description< T >::framed | ( | Ref< Border > | outer, |
| std::string_view | pattern, | ||
| Model< Value > | title ) && |
| Value | Copyable owning scalar accepted by the standard formatter. |
| outer | Empty observing slot for this frame. |
| pattern | Checked compact preset. |
| title | Cold scalar root; compatible outer.model(...) preserves its default formatter. |
|
inline |
| outer | Empty observer published only after complete mount success. |
| pattern | Checked compact preset name. |
| title | Owning top-edge title, checked at mount with the existing frame limits. |
| Description && portals::ui::Description< T >::framed | ( | Ref< Border > | outer, |
| std::string_view | pattern, | ||
| Title | title ) && |
| Title | Exactly ValueText; deduction preserves the empty literal title overload. |
| outer | Empty observing slot for this frame, published after the complete subtree mounts. |
| pattern | Checked compact preset. |
| title | Owning live formatted title. |
|
inline |
| pattern | One of single/plain, rounded, double, heavy or ascii. |
| Description && portals::ui::Description< T >::framed | ( | std::string_view | pattern, |
| Model< Value > | title ) && |
| Value | Owning scalar accepted by the standard formatter. |
| pattern | Checked compact preset. |
| title | Cold scalar title source. |
|
inline |
| pattern | Checked compact preset name, with the existing aliases and mount errors. |
| title | UTF-8 top-edge title copied now and validated with the existing frame limits at mount. |
| Description && portals::ui::Description< T >::framed | ( | std::string_view | pattern, |
| Title | title ) && |
| Title | Exactly ValueText; deduction preserves the empty literal title overload. |
| pattern | Checked compact frame preset. |
| title | Owning live text expression using the same scalar dependencies as label/button captions. |
|
inline |
| enabled | True creates a missing default one-cell frame; false removes the effective frame. |
|
inline |
| glyphs | One-cell glyph mode for an effective enabled frame. |
|
inline |
| cells | Positive paint cap for an effective enabled one-cell frame. |
|
inline |
| values | Complete single-row frames, copied into owning configuration. |
|
inline |
|
inline |
| enabled | Allow one-edit prefix matching from three normalized query graphemes; false selects PREFIX. |
|
inline |
| value | Portable fallback for one-cell admission failures. |
|
inline |
| value | Compact unicode/ascii fallback name. |
|
inline |
| value | Named base below PSS overrides and literal custom sources. |
|
inline |
| value | Compact profile name; unknown names fail before first paint. |
|
inline |
| value | Border/Gauge/scroll one-cell decoration mode. |
|
inline |
| value | Owning one-cell graphemes, checked against the receiving width policy. |
|
inline |
| options | Complete parent-child placement; replaces prior relationship modifiers. |
|
inline |
| options | Complete owning declaration, including finite work budgets; replaces prior grid modifiers. |
|
inline |
| cells | Nonnegative fixed height; replaces only the vertical bounds/mode. |
|
inline |
| options | Fixed raw-byte row layout. |
|
inline |
| policy | Horizontal bar presence policy. |
|
inline |
|
inline |
| value | Case-sensitive style id copied into this recipe; type/classes are preserved. |
|
inline |
| enabled | Select while navigating; false restores explicit activation. |
|
inline |
| opened | Initial HelpView state; opening uses its existing finalizer and focus return. |
|
inline |
|
inline |
| cells | Positive exact 64-bit logical cells per arrow event. |
|
inline |
|
inline |
| value | Owning literal/format/resource expression resolved at construction. |
|
inline |
| values | Owning sparse native status expressions; unused expressions remain unresolved. |
|
inline |
| value | Lexical profile, prepared on workers without blocking the first plain frame. |
|
inline |
| name | Case-insensitive SQL/PostgreSQL, MySQL, Markdown/MD or plain profile name. |
|
inline |
| enabled | Show proven logical line numbers. |
|
inline |
| value | Positive table configured-column cap. |
|
inline |
|
inline |
|
inline |
|
inline |
| cells | Nonnegative hard maximum height; does not change the axis mode. |
|
inline |
| value | Finite upper bound greater than the effective minimum, with a finite span. |
|
inline |
| caps | Positive independent width/height caps; never the full-host structural size. |
|
inline |
| value | Positive host registration cap, including initially closed layers. |
|
inline |
| cells | Positive allocated paint-work cap, checked before construction. |
|
inline |
| value | Positive table visible body-cell cap. |
|
inline |
| value | Positive table header/body UTF-8 cap. |
|
inline |
| cells | Nonnegative hard maximum width; does not change the axis mode. |
|
inline |
| values | Owning sparse native message options. |
|
inline |
| cells | Nonnegative hard minimum height; does not change the axis mode. |
|
inline |
| value | Finite inclusive lower bound; validated with the receiving options and value. |
|
inline |
| cells | Positive minimum thumb length, capped by the actual track. |
|
inline |
| cells | Nonnegative hard minimum width; does not change the axis mode. |
|
inline |
| value | Existing line/candle rendering mode. |
|
inline |
| value | Native MODAL/NON_MODAL input policy. |
|
inline |
| value | Projection of the same byte source. |
|
inline |
| enabled | Hide all value glyphs and use a fixed-origin caret; false restores the type's normal presentation. |
|
inline |
Keep the main form available while this dialog is open.
Equivalent to mode(DialogMode::NON_MODAL); preserves all other settings. Later mode settings override this choice in declaration order.
|
inline |
| values | Sparse immutable center options; captured resolver/body remain code-owned. |
|
inline |
| Value | Owning derived source value. |
| Callback | Copyable presentation callback taking const Value& and returning void or expected<void, TreeError>. |
| source | Read-only source owned by the receiving scene. |
| callback | Owning action first delivered after complete mount and Ref publication. |
|
inline |
| Value | Owning equality-comparable managed state value. |
| Callback | Copyable presentation callback taking const Value&, returning void or expected<void, TreeError>. |
| model | State owned by the receiving scene. |
| callback | Owning action, first delivered after the entire lazy mount and reference publication. |
|
inline |
| Callback | Compact owning click callback, optionally receiving ClickEvent. |
| callback | Void, expected<Value, TreeError> or EditorCommandResult action; success values are ignored. |
|
inline |
| Callback | Copyable void or expected<void,TreeError> callback taking DialogDismissReason. |
| callback | Owning action admitted once after published dismissal; teardown invokes no action. |
|
inline |
| callback | Existing managed custom event adapter; standard bindings reject duplicates. |
|
inline |
| Callback | Owning copyable callback returning expected<Value, TreeError> with non-void Value. |
| callback | Existing dirty-frame work; its success value is ignored inside the entered scene scope. |
|
inline |
| callback | Existing managed dirty-frame adapter; no new polling or runtime is introduced. |
|
defaultnoexcept |
Replace this recipe with the unnamed source, which becomes empty.
|
inline |
| value | Owning literal UTF-8 presentation text, never resolved as an expression. |
|
inline |
| value | Extra requested rows per side, including explicit zero. |
|
inline |
|
inline |
| cells | Exact 64-bit overlap between pages; zero and values above viewport are supported. |
|
inline |
| count | Positive user increments per PageUp/PageDown action. |
|
inline |
| value | Public placeholder bytes copied now. |
|
inline |
| value | Public placeholder expression; never used as protected model data. |
|
inline |
| value | Native CENTER/BELOW_START/ABOVE_START placement. |
|
inline |
| placement | Existing gutter/overlay/frame placement; ON_FRAME needs an effective frame. |
|
inline |
|
inline |
|
inline |
| presentation | Owning region/row backgrounds and finite paint budget. |
|
inline |
| Name | String-like preset name. |
| value | Preset name copied into the checked configuration. |
|
inline |
|
inline |
| minimum | Finite inclusive lower bound. |
| maximum | Finite inclusive upper bound, greater than minimum with a finite span. |
|
inline |
| value | Block user mutation while preserving existing programmatic commands. |
|
inline |
|
inline |
| reference | Empty observing slot; duplicate slots in one mount are rejected. |
|
inline |
| index | Zero-based local row; column must also be explicit. |
|
inline |
| cells | Nonnegative terminal cells between rows. |
|
inline |
| value | Positive cell rows per logical row. |
|
inline |
| count | Positive fixed row count; column-major flow grows columns within the configured budget. |
|
inline |
| policies | Track policies copied now; length must equal the resolved BODY row count. |
|
inline |
| count | Positive number of occupied rows, including intervening gaps. |
|
inline |
| controller | Shared owning values; empty uses an independent default controller. |
|
inline |
| pattern | Independent typed part preset. |
|
inline |
| pattern | Independent part preset; unknown names fail before painting. |
|
inline |
| pattern | Typed preset; omitted skin leaves retain context defaults. |
|
inline |
| skin | Owning source copied into sparse configuration; glyphs are validated at mount. |
|
inline |
| pattern | Compact legacy/frame/minimal/ascii preset, copied as a typed value. |
|
inline |
|
inline |
| options | Complete existing ScrollArea settings; focusable=true explicitly adds a focus stop. |
|
inline |
| rows | Positive visual rows per ordinary arrow/wheel unit, at most INT64_MAX. |
|
inline |
| pattern | Independent typed part preset. |
|
inline |
| pattern | Independent part preset; unknown names fail before painting. |
|
inline |
| pattern | Independent typed part preset. |
|
inline |
| pattern | Independent part preset; unknown names fail before painting. |
|
inline |
| value | Keyboard publication policy. |
|
inline |
| patch | Owning sparse instance overrides; false, zero and builtin-equal values remain explicit. |
|
inline |
| callback | Owning customization action, run in modifier order before children. Capture the existing Application explicitly when a low-level tree operation is needed. |
|
inline |
| value | Whether native status labels/subtree/timer are created. |
|
inline |
| value | Typed built-in slider skin. |
|
inline |
| value | Typed SpinBox presentation. |
|
inline |
|
inline |
| value | Positive uint64 monotonic milliseconds per spinner step. |
|
inline |
| value | Positive fixed status strip height in cell rows. |
|
inline |
| amount | Positive finite user increment; programmatic values are not snapped. |
|
inline |
| target | Owning style identity, staged through ManagedScene::style. |
|
inline |
| value | Syntax recovery policy; EXACT explicitly permits long prefix reads. |
|
inline |
| values | Owning sparse constructor scalars for an actual default-catalog recipe. |
|
inline |
| values | Sparse owning native selector view settings. |
|
inline |
|
inline |
| value | Literal caption bytes, copied into an owning expression. |
|
inline |
| value | Owning caption expression; resolved by the actual native heading. |
|
inline |
| decoration | Owning prefix/suffix, each at most64 bytes and16 one-cell printable graphemes. |
|
inline |
| name | none/spaced/square/angle/round/profile; unknown values fail with INVALID_ARGUMENT at mount. |
|
inline |
| decoration | Opt-in title ends; validated at mount, with no extra height. |
|
inline |
| value | Owning literal UTF-8 presentation text, never resolved as an expression. |
|
inline |
|
inline |
| type | Owning name resolved from the explicitly supplied immutable mount context. |
|
inline |
| policy | Vertical bar presence policy. |
|
inline |
| align | Child alignment across ordinary Overlay rows. |
|
inline |
| value | Nonnegative viewport inset in cells. |
|
inline |
| value | Final local visibility; false excludes this subtree from layout, paint and input. |
|
inline |
| cells | Positive finite logical cells per wheel event. |
|
inline |
| cells | Nonnegative fixed width; replaces only the horizontal bounds/mode. |
|
inline |
| enabled | Wrap complete ordinary graphemes. |
|
inline |
| range | Finite increasing or equal explicit endpoints; nullopt restores automatic scale. |
|
friend |
Construct a standard text-control recipe with the scene's width policy.
| text | UTF-8 bytes copied now; invalid text returns INVALID_ARGUMENT at mount. |
| style | Owning manual control appearances. |
| policy | Owning layout constraints. |
|
friend |
Capture constructor arguments without requiring inheritance from a DSL widget.
| T | Public Widget subtype, including final types, constructible from the owned arguments. |
| Args | Decayed owning argument types; string-like inputs are materialized as std::string. |
| args | Values copied/moved now and moved into T at mount. Other pointers/reference_wrapper remain explicit borrows: their referents must outlive the widget. No deep copy is inferred. |
|
friend |
Immediately consume a range into the existing linear-layout mount transaction.
| T | Existing Row or Column subtype accepting LinearOptions. |
| R | Input range of one Description type; elements must be rvalues, or R an rvalue non-view, non-borrowed container. |
| options | Owning layout settings, validated by the existing layout engine. |
| children | Recipes consumed once, in iteration order, before this function returns. |
|
friend |
| model | Explicit scene-owned model. |
| config | Full legacy options, bypassing context defaults. |