|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Public Portals API. More...
Namespaces | |
| namespace | legacy |
| Minimal streaming compatibility for the original MarketDepthModelSample. This API does not run an Application, perform rendering, or own a terminal session. The caller serializes and flushes output and must not mix it with an active Application. | |
| namespace | syntax |
| Compact typed policy values for viewer descriptions and commands. | |
Classes | |
| class | ActionBinding |
| Move-only scoped disconnect token; never owns a tree or widget. Disconnect/destruction may run on any thread. It prevents future callback admission; an already admitted callback finishes on UI. Captures are reclaimed on UI at the next collecting UI operation or router destruction. Tokens may safely outlive the router. More... | |
| struct | ActionEvent |
| Owning semantic command, usable without terminal input. More... | |
| struct | AggregateFieldProjection |
| Project one field from an immutable, borrowed aggregate row. More... | |
| class | Application |
| One UI owner for scheduler, tree, routing and a single terminal run. All calls/destruction except requestStop require the creating thread. Scene owns typed nodes and bindings; release them before this object. Terminal I/O never runs inside layout/paint. No automatic recovery follows uncertain output. Run is single-use, including failed/closed sessions. More... | |
| struct | ApplicationError |
| Failure after orderly shutdown, including a separate restoration failure. More... | |
| struct | ApplicationObserver |
| Optional synchronous measurement sink; disabled by default. The borrowed observer must outlive run or active session cleanup. It must not perform I/O, mutate/reenter the application, or retain borrowed state. It may collect bounded samples. Exceptions fail run explicitly. More... | |
| struct | ApplicationOptions |
| Finite runner and component policies; one owner services all I/O. More... | |
| class | ApplicationReadyTerminal |
| Exclusive ready-only transport borrowed by an application session. Every operation must return without waiting for I/O, a timer or another callback. Operations perform bounded work; poll returns one owning batch respecting TerminalOptions limits. DEADLINE with no error means no input/progress is currently available. Errors remain explicit. submit transfers a complete encoded batch into bounded owned storage, without acknowledging output. flushReady reports exact newly accepted bytes and the retained suffix, using FrameOutput accounting. Acceptance into a bounded host queue may count as progress; physical display is not promised. close must also be nonblocking, idempotent and noexcept. The transport must outlive cleanup, including Application destruction when a session is still active. Calls run on the UI owner thread. More... | |
| class | ApplicationScene |
| Borrowed scene extension; bindings/models/providers belong to the caller. Construct the Application first, then the scene; destroy the scene before Application. The scene and application must survive every callback and run. No hook may destroy either owner or reenter run. Hooks execute on the creating UI thread; thrown exceptions become explicit failures followed by cleanup. More... | |
| struct | ApplicationStats |
| Owning cumulative totals from a run or session, without samples or terminal data. More... | |
| struct | ApplicationStep |
| One owning snapshot returned by a bounded session step. More... | |
| class | ApplicationTerminal |
| Custom/replay terminal borrowed for exactly one run; no competing I/O is allowed. The owner retains its storage and must outlive run. Application always calls close after run starts, including exceptions and stop. Values returned by read own their bytes/events and respect the configured terminal batch limits. An injected clock must advance consistently with this terminal's deadlines. More... | |
| class | AsyncReceive |
| Owning typed data awaiter; normally obtained through UiAsyncContext::receive. More... | |
| class | AsyncReply |
| Copyable producer endpoint owning no UI state, callbacks or coroutine frame. T and its deleter must support transitively immutable shared ownership on any releasing thread. One accepted completion ends admission; rejected publication leaves retry possible. The producer must retain the reply and result on WOULD_BLOCK and retry when capacity returns. Synchronous completion queues a value; it never resumes a coroutine inline. More... | |
| class | AsyncTimer |
| One-shot absolute millisecond wait on the existing scheduler. More... | |
| struct | AxisSize |
| Owning per-axis bounds; preferred=-1 or CONTENT uses intrinsic measurement. More... | |
| class | BackgroundExecutor |
| Borrowed host service. A scene never owns, stops or joins this executor. UI integration calls service once per existing application cycle, after scheduler dispatch. A ready host must keep scheduling steps while work is pending; wake only signals the existing scheduler condition and does not interrupt native terminal reads or schedule a foreign event loop. More... | |
| class | BackgroundJob |
| Worker-safe work item; never retain Application, UI references, callbacks or coroutine frames. Inputs, callable captures and deleters must be safe on any releasing worker. The owner must impose domain byte limits separately. Cooperative cancellation cannot interrupt arbitrary blocking code. More... | |
| class | BackgroundLatest |
| UI-owned latest source; the executor and its host outlive this holder. Existing scene integration services this holder after dispatch. Replacement cancels the previous ticket and replaces only this source's rejected intent. No self-post or inline UI continuation occurs. This bounds count to one unadmitted intent per source; callers enforce their input byte budgets. More... | |
| struct | BackgroundOptions |
| Count bounds, independent of the transitive byte size of inputs and results. More... | |
| class | BackgroundPool |
| Explicit fixed worker owner for a synchronous run or host-owned lifetime. requestStop never joins; join is the explicit final synchronous boundary after UI retirement and terminal close attempt. Destruction also joins as a final safety net, so this type must never be owned by a scene, node, coroutine frame, or host callback. Inputs and cancelled pending jobs can be released on the calling host thread at final retirement; worker-safe deletion does not imply a bounded transitive payload destruction cost. More... | |
| class | BackgroundTicket |
| Move-only cancellation ownership; destruction requests cancellation but never joins. More... | |
| class | BackgroundWorkerStorage |
| Optional executor capability for bounded opaque worker-owned caches. Direct operations borrow the live executor. Leases retain only separate light controls. Payload callbacks run synchronously only inside this executor's BackgroundJob::run extent. They must not retain a borrowed value/build scope, UI state, or coroutine storage. More... | |
| struct | BookmarkOptions |
| Checked bookmark capacity, independent of logical source length. More... | |
| class | Border |
| Frame using the existing vertical LinearLayout with one-cell insets for each present side. Paint borrows only widget-owned glyphs until the enclosing tree.frame ends. The inner child clip prevents fixed/minimum-size children from painting or receiving input on edges. Manual style defaults are construction-only; dynamic styling uses the existing style resolver. No I/O, timer, retained command storage or allocation occurs inside paint itself. More... | |
| struct | BorderOptions |
| Owning frame decoration and finite paint-work policy. More... | |
| class | Button |
| One-line button; registration is an explicit caller-owned ActionBinding. More... | |
| struct | ByteDocumentCapabilities |
| Capabilities captured without I/O during cold source creation. More... | |
| struct | ByteDocumentMetadata |
| Worker-observed provider metadata. More... | |
| class | ByteDocumentProvider |
| Read-only worker provider; callers serialize operations using the existing executor. Provider/domain storage is external to page accounting, as with WindowProvider. No destination or mutable alias may escape read(). More... | |
| class | ByteDocumentReadSession |
| One worker-owned provisional read transaction; destroy it on its creating worker. A successful seal qualifies all preceding pages. Until then callers must not publish them. Implementations retain bounded metadata/handles only, never destination aliases. More... | |
| class | ByteDocumentSource |
| Cold source; inspect/read reject its creating (UI) thread. Dispatch synchronous operations through the existing executor; no scheduler is created. One shared source serializes provider operations on workers. Separate sources sharing a provider require provider-level serialization. Pages can be retained by several views. More... | |
| struct | ByteReadCommand |
| Exact provider request; destination size bounds the byte window. More... | |
| struct | ByteReadResult |
| Short reads alone never imply EOF. More... | |
| class | Canvas |
| Synchronous clipped cell drawing inside a retained widget's paint hook. The context and optional brush are borrowed through the enclosing frame. Commands use widget-local coordinates; the frame sink applies surface translation and ancestor clipping. No I/O, allocation, model access or invalidation. Discard the frame's commands on error. More... | |
| struct | Cell |
| Owning metadata; IDs may only be interpreted within the source buffer. More... | |
| class | CellBuffer |
| Owning bounded cell framebuffer and immutable-width-policy intern pools. More... | |
| struct | CellBufferLimits |
| Owning caps; creation allocates all intern pool capacity, including defaults. More... | |
| struct | CellBufferMemory |
| Measured C++ storage accounting, excluding allocator overhead and process RSS. More... | |
| class | CellFormat |
| Owning single-value formatter for the existing table callback contract. More... | |
| struct | CellPoint |
| An owning value in terminal columns/rows, x right and y down. More... | |
| class | CellRect |
| An owning, invariant-preserving half-open cell rectangle. More... | |
| struct | CellSize |
| An owning available extent in terminal columns/rows. More... | |
| struct | CellStyle |
| Small owning paint value, independent of themes and text metrics. More... | |
| struct | CellView |
| A synchronous borrowed display glyph plus owning metadata and style. More... | |
| class | Chart |
| UI-owned retained plot of a bounded immutable model range. Accessors run only in prepareChart, never paint/measure. They must not retain row borrows, mutate the model/tree, block or perform I/O. Projected OHLC values are presentation data; provider ownership is retained and the business model is never copied by the view. More... | |
| struct | ChartOptions |
| Owning chart settings, validated during preparation. More... | |
| struct | ChartRange |
| Inclusive logical Y range, increasing upward. Equal endpoints center finite samples. More... | |
| class | CheckBox |
| Checkbox presentation; its bound boolean or explicit-state Property remains authoritative. More... | |
| class | CheckBoxBinding |
| Own one checkbox's action, subscription and shared UI model owner. Tree, router and scheduler must outlive this token; destroy/move on UI between frames, including from its callback. Model changes never invoke the business callback. Call sync before each frame after external changes/draining events: notifications can be rejected, and equal Property::set does not retry them. Latest committed value wins. More... | |
| struct | CheckBoxOptions |
| Owning typed checkbox input configuration. More... | |
| class | CheckStateBinding |
| Own one checkbox's action, subscription and shared UI model owner. Tree, router and scheduler must outlive this token; destroy/move on UI between frames, including from its callback. Model changes never invoke the business callback. Call sync before each frame after external changes/draining events: notifications can be rejected, and equal Property::set does not retry them. Latest committed value wins. More... | |
| class | ChoiceSelection |
| Owning accepted row identity and bounded label, independent of editor draft and source lifetime. More... | |
| struct | ClickEvent |
| Owning activation parameters copied from the existing router delivery. target is the activated button, including when input bubbled from a child. The observing identity may be stale after a callback removes its target. More... | |
| class | Clipboard |
| Injected UI clipboard boundary; called only from input handling, never from a frame. The binding shares ownership. Implementations must return promptly and may reenter UI code. Bytes remain data; no terminal escapes are interpreted. Exceptions become FAILED results. More... | |
| struct | CollectionLimits |
| Bound the row/index storage of an immutable in-memory collection; domain T payload is source-owned. More... | |
| struct | CollectionModelOptions |
| Policies for a scene-owned in-memory model adapter. More... | |
| class | Column |
| Lay visible children from top to bottom. More... | |
| struct | ColumnCaption |
| Owning fixed-schema caption and sizing, without identity bookkeeping. More... | |
| struct | ColumnId |
| Provider-assigned column identity; typed row accessors define column values. More... | |
| class | ComboBox |
| Retained editable model-backed choice; the tree owns its ordinary editor and trigger. More... | |
| struct | ComputedStyle |
| Owning resolved presentation; no actions or model state are encoded. More... | |
| class | Control |
| UI-owned one-line control with owning Unicode text and local paint coordinates. Mutate through the free setters between frames. The frame owner translates local commands and intersects their clips with NodeGeometry, then renders before leaving tree.frame. Focus/enabled flags are presentation snapshots only; EventRouter owns input eligibility. More... | |
| struct | ControlStyle |
| Owning paint values; no theme engine or behavior is encoded here. More... | |
| struct | CustomTitleDecoration |
| Owning title ends; each holds at most 64 UTF-8 bytes and 16 printable one-cell graphemes. More... | |
| struct | DataPresentation |
| Owning scalar state of one immutable presentation producer. More... | |
| struct | DataRangeStatus |
| Owning facts from the same successful virtual-view preparation, without another model read. More... | |
| struct | DataStateConfig |
| Construction-only settings for retained data presentation. More... | |
| struct | DataStateLabels |
| Owning message expressions resolved once under the receiving scene width policy. More... | |
| class | DataStateView |
| Retained Column composition of status and content; it owns no provider, cache or second runtime. More... | |
| struct | DeclarativeGridOptions |
| Owning automatic-placement settings; counts are distinct from GridOptions track policies. More... | |
| struct | DecodedScalar |
| Decoded Unicode scalar with its exact interval in the original byte stream. More... | |
| struct | DiagnosticContext |
| Fixed-size causal token; zero fields mean unobserved, never a reused identity. More... | |
| struct | DiagnosticNodeId |
| Session-local identity; never an object address. More... | |
| struct | DiagnosticOptions |
| Allocation budget applied when recording is enabled. More... | |
| struct | DiagnosticRecord |
| Fixed-size bounded record. More... | |
| class | Diagnostics |
| Explicit, thread-safe metadata recorder. Disabled by default; no clocks or I/O. enable/disable/snapshot are control-plane operations outside measure/layout/paint. Record admission tries the mutex once; it never waits, allocates, or calls user code. The recorder must outlive every DiagnosticScope borrowing it. A scheduler can share ownership. More... | |
| class | DiagnosticScope |
| Stack-only causal context on one thread; restores the previous scope on every exit. No global recorder is installed: lookups require the same explicitly supplied recorder. Must be destroyed in stack order on the constructing thread, before the recorder. More... | |
| struct | DiagnosticSnapshot |
| Owning bounded snapshot; copy only between frames, serialize after releasing the recorder lock. More... | |
| class | Dialog |
| Full-host structural root containing at most one visible opaque panel. This is deliberately not a SizedWidget: panel limits never narrow the structural root. Layout is pure; input confinement, registration, anchors and title/body composition belong to the managed owner. No observer, callback, model or tree reference is retained here. More... | |
| struct | DialogCloseOptions |
| Optional finite close chrome settings; the glyph occupies three terminal cells. More... | |
| struct | DialogOptions |
| Owning panel geometry and managed input settings, in terminal cells. More... | |
| struct | DispatchResult |
| Owning routing outcome; empty identities mean no eligible target/handler. More... | |
| class | DocumentBytePage |
| Immutable window sharing page credit until its final owner releases it. More... | |
| struct | DocumentByteRange |
| Half-open original logical-byte range; an omitted end requests this snapshot through EOF. More... | |
| struct | DocumentCheckpoint |
| Exact sparse anchor, never an approximate requested location. More... | |
| class | DocumentCopy |
| Immutable bounded byte copy whose accounting outlives its payload. More... | |
| class | DocumentDecoder |
| class | DocumentDecoderCheckpoint |
| struct | DocumentDecodeResult |
| Committed feed progress or a transactional failure with its byte location. More... | |
| struct | DocumentDecoderLocalResult |
| Owning local proof outcome; no input view or source owner is retained. More... | |
| struct | DocumentDecoderOptions |
| Encoding selection, malformed-input policy and per-call work bound. More... | |
| struct | DocumentError |
| Failure with an optional native provider cause, preserved by source operations. More... | |
| struct | DocumentExportOptions |
| Bounded export work configuration, independent of range/document size. More... | |
| struct | DocumentExportResult |
| Export outcome, including the prefix preserved after an error. More... | |
| class | DocumentExportSink |
| Worker sink; storage/output policy belongs to the host implementation. write borrows bytes only for its call and must report a partial prefix even on error. Implementations must not retain the borrowed span or invoke UI code. A blocking sink retains its own cancellation latency; the exporter cannot forcibly interrupt it. Callers serialize an entire export per sink; concurrent write/finish is unsupported. More... | |
| struct | DocumentFastScroll |
| Optional Viewer-only absolute fast navigation policy; no runtime or source ownership. More... | |
| class | DocumentFileSink |
| Cold exclusive file sink. Existing paths are never overwritten, including the source file. The first worker write atomically creates the output. A failed/cancelled export preserves its explicitly requested partial output; no rollback or durability is promised. More... | |
| struct | DocumentHexOptions |
| Fixed raw-byte rows; auto-fit may choose a smaller row at preparation time. More... | |
| class | DocumentHighlightCheckpoint |
| class | DocumentHighlighter |
| struct | DocumentHighlighterOptions |
| Fixed-capacity policy copied into checkpoints. More... | |
| struct | DocumentHighlightResult |
| Committed progress; errors leave their triggering transition uncommitted. More... | |
| struct | DocumentIndexOptions |
| Fixed RAM and per-call worker bounds. More... | |
| struct | DocumentIndexProgress |
| Prefix knowledge; exact total exists only after EOF. More... | |
| struct | DocumentLineLocation |
| Bounded lookup result. More... | |
| struct | DocumentMetadata |
| Metadata qualified by the source namespace. More... | |
| struct | DocumentOperationFailure |
| Source/admission cause and, when applicable, the precise decoder failure. More... | |
| class | DocumentReadBatch |
| Explicit source-owning provisional batch, confined to its creating worker. Read pages can outlive the batch, but must not be published before successful seal. Destruction closes the backend before returning metadata credit; it performs no I/O validation and cannot turn an abandoned batch into a committed result. More... | |
| struct | DocumentReadRequest |
| Owning request dispatched through the existing executor. More... | |
| struct | DocumentRevision |
| Exact document namespace and provider revision. More... | |
| struct | DocumentSearchMatch |
| Immutable owning selection; remains readable after session/source replacement. text is the exact decoded UTF-8 literal. snippet contains bounded preceding whole-grapheme context and the match; it is empty when the match exceeds its snippet cap. Neither string borrows source pages or UI state. More... | |
| struct | DocumentSearchOptions |
| Query/work/result limits, independent of document extent or total match count. More... | |
| class | DocumentSearchSession |
| Bounded worker cursor for exact, case-sensitive literal search without normalization. Search starts at the real source origin so grapheme boundaries are proven. Query, KMP/scalar maps, scratch and selected results use source->budget(). Sources must be seekable; unsupported streams return UNSUPPORTED explicitly. Operations serialize on this session, but start/advance belong on workers: they may wait for another operation, and advance performs source I/O. No UI reference or callback is retained. Cancellation preserves consistent accepted input; a later advance can resume when the query/request/revision is unchanged. A revision change fails instead of mixing matches from different generations. The byte quantum limits logical source admissions/processing; an underlying provider's cold replay or blocking I/O can still occupy its worker longer. Capacity failures preserve exact budgetDemand; budgetPeak includes retained session/page storage plus the failed operation, excluding source/provider pins and other callers' retained matches. These are capacities, not process RSS. More... | |
| struct | DocumentSearchStep |
| Value-only progress with at most one selected owning result. More... | |
| struct | DocumentSourceOptions |
| Page bounds limit windows, never logical line length. More... | |
| class | DocumentView |
| Read-only retained document viewport; source I/O, decoding and layout run on application workers. Construct with ui::viewer for automatic scene-owned preparation. Paint only consumes immutable frames. Raw tree emplacement provides an empty viewport until a managed source is attached. More... | |
| struct | DocumentViewConfig |
| Bounded text projection; these limits never restrict logical line length. More... | |
| struct | DocumentViewStatus |
| Owning scalar observation; no source I/O or preparation is performed by status commands. More... | |
| struct | DocumentWriteReply |
| One synchronous sink admission, including partial writes followed by an error. More... | |
| class | DropDown |
| Read-only main display with complete model-backed popup browsing. More... | |
| struct | EditCapabilities |
| Explicit source guarantees; unsupported atomicity is never inferred. More... | |
| struct | EditCommitResult |
| Explicit per-field result of a non-atomic submit. More... | |
| class | EditEndpoint |
| Source capability adapter; calls must return promptly without UI I/O. External work is submitted through the application's existing scheduler/worker path. submit() returns PENDING for admission, or a qualified final result; applyReply() on the edit session handles later delivery. Unconditional endpoints must serialize backend acceptance for each target; rejecting a second in-flight request is valid. More... | |
| class | EditFieldKey |
| Owning field identity; local shorthand is deliberately not persistent. More... | |
| struct | EditingFinishedEvent |
| Owning completion observation; does not perform another validation or model update. More... | |
| struct | EditOptions |
| Bounded retained editing, independent of collection extent. More... | |
| struct | EditorChord |
| Owning exact editor shortcut; only identities surviving router key translation are accepted. More... | |
| class | EditorCommandResult |
| Owning checked editor command, preserving exactly its collector reporting receipt. Construction is private: adapters cannot mistake an unrelated failure for an already reported command. Copying preserves the receipt without keeping a scene or widget alive. No implicit expected conversion exists. More... | |
| struct | EditReceipt |
| Owning acknowledgement qualified independently of current navigation. More... | |
| struct | EditRecord |
| One bounded immutable field-value read, never a whole-provider materialization. More... | |
| struct | EditRequest |
| Owning bounded write request usable on the existing worker path. More... | |
| struct | EditTarget |
| Frozen write destination; ordinal hints and nearest positions are excluded. More... | |
| class | EventRouter |
| UI-owned focus and synchronous bubbling over an existing WidgetTree. Tree and Scheduler must outlive the router. Destroy on its creating UI thread outside a router callback; violation terminates. All operations reject wrong-thread calls before touching user state. Dispatch/invoke/bind reject nested dispatch with WOULD_BLOCK. References borrowed by handlers cannot escape. No terminal bytes or queue are produced. Allocation failures become NO_MEMORY; callback exceptions become CALLBACK_FAILED. Focus changes request paint; geometry invalidation never disables keyboard access. More... | |
| struct | EventRouterOptions |
| Bounded router storage; no event queue is created. More... | |
| struct | FieldValidation |
| Owning validation presentation; messages remain meaningful without color. More... | |
| class | FileDocumentProvider |
| Cold file adapter reusing FileLogModel raw worker I/O without record limits. Exact document revision advances on every observed extent or file generation change. Calls are serialized by the caller; native metadata/read handles are owned by each operation. More... | |
| struct | FileLogFailure |
| Copyable diagnostic; nativeCode is errno/GetLastError for native failures, otherwise zero. More... | |
| struct | FileLogMetadata |
| Worker-observed byte metadata; byteExtent is never a row count. More... | |
| class | FileLogModel |
| File-backed rich model with optional bounded WindowSource delivery. Creation owns the path without opening it. All I/O methods are worker-only; they do not start threads. Every operation owns its native handle and bounded block cache. No row history, dense row index, mapping or complete-file text is retained. Callers schedule operations on their existing executor. Published pages use the WindowSource budget and remain immutable. More... | |
| struct | FileLogOptions |
| Fixed bounds independent of file length; no row index is constructed. More... | |
| struct | FileLogReadFailure |
| Exact failure of one worker load; safe to copy into that job's completion. More... | |
| struct | FileLogSearchResult |
| One bounded search step; repeat from nextByteOffset when reachedEnd is false. More... | |
| struct | FillCommand |
| Fill an owning half-open area with styled one-cell ASCII spaces. More... | |
| class | FindBar |
| Retained query/navigation/count composition over owning document or model search results. The UI tree owns all children. The document recipe is synchronous and bounded; the model recipe uses the existing application's background executor. Direct construction creates no asynchronous service. Read low-level observations only inside tree.read; use the existing Ref commands between frames. More... | |
| struct | FindBarAppearance |
| Manual child appearances and ordinary retained layout defaults. More... | |
| struct | FindLimits |
| Independent source/result caps; query admission uses the ordinary editor TextLimits. More... | |
| class | FindMatch |
| Owning immutable selected range; retains original data, never a scene or widget. Empty handles represent empty-query/no-match states. Old handles remain readable after replacement; Ref.current() determines whether their result identity still belongs to the current search. More... | |
| struct | FindSearchOptions |
| Independent worker scan and retained-result budgets for model-backed literal search. More... | |
| class | FinitePositionResolver |
| Read-only finite model navigation without retaining the source or any row payload. Snapshot ownership remains with the model/application. Each call temporarily locks the weak snapshot, returning CLOSED after its last owner retires. Calls may run concurrently only when the snapshot's read/index implementation is worker-safe. locateRow must be a bounded index. No fallback scans or ordinal guessing are used. For UI use, keep change proofs small; large configurable proofs run on the existing worker path. This adapter neither schedules work nor subscribes to model updates. More... | |
| class | FiniteTextDocument |
| Explicit owning finite UTF-8 document/session; no UI ownership or file I/O. Whole-buffer segmentation and existing snapshot history have costs proportional to finite admitted text. Large/windowed editors use the metadata-only map with their own boundary proofs and history. Caller serializes operations; borrowed text expires on successful text mutation or destruction. There are no callbacks. Logical identity, selection and history survive view replacement and SaveAs. More... | |
| struct | FiniteTextDocumentOptions |
| Explicit finite-buffer adapter configuration; not a windowed editor. More... | |
| class | FiniteWindowProvider |
| Opt-in finite Model adapter without changing exact-count Model semantics. Keeps the existing immutable domain snapshot externally owned; copies only inline values into charged pages. This read-only delivery adapter does not forward model editing, query, search, or extent APIs; retain the original model binding for those operations. Dynamic values need an explicit storage codec and are deliberately not accepted. The snapshot must satisfy ModelSnapshot's worker-safe read/destruction contract. Create the WindowSource with initialRevision equal to snapshot->revision(). More... | |
| class | FormField |
| Retained label/editor/help/message composition using the ordinary vertical layout. The tree owns the field and its children. No model, scheduler or transaction is created by this widget. Read snapshots only inside tree.read; mutating free functions are UI-only outside frames. More... | |
| struct | FormFieldAppearance |
| Manual style/layout defaults; semantic field rules are configured separately. More... | |
| struct | FormFieldOptions |
| Owning composition settings for an explicitly supplied custom editor. More... | |
| struct | FrameAppearance |
| Resolved frame parts; absent parts inherit the ordinary control state. More... | |
| struct | FrameGlyphs |
| Owning custom source; each glyph must be one printable one-cell grapheme, at most 64 bytes. More... | |
| struct | FrameOptions |
| Owning advanced frame settings; legacy BorderOptions remains a literal value type. More... | |
| class | FrameOutput |
| Exclusive transport boundary, borrowed by FrameWriter for its lifetime. Implementations own submitted bytes, perform no I/O in submit, and preserve the exact unsent suffix on deadline/stop without an error. An accompanying error marks uncertain progress even on deadline/stop. All errors may have unknown effects. One executor calls all methods; no callbacks or concurrent calls are supported. A successful flush means bytes accepted, not hardware/display acknowledgement. More... | |
| struct | FrameSides |
| Present frame sides, also defining one-cell content insets. More... | |
| class | FrameWriter |
| Bounded owner of last committed and pending frames; never performs I/O in submit. One executor owns every call and destruction; external synchronization is needed for transfer. The output reference must outlive this non-movable writer. No callbacks, background work or implicit destructor flush. Destroying with pending output requires closing that output session before any other writer is used. A deadline/stop without error retains the exact transaction. Any transport error or inconsistent progress permanently poisons this writer and invalidates its committed frame. Recovery requires closing/joining the old transport, then a new writer whose first full transaction sends CAN and the mode baseline. This requires terminal support for CAN abort of this encoder's CSI/UTF-8 prefixes; arbitrary external output requires an owner-established fresh parser instead. Reopening alone does not reset the parser. Never restart output while the old native worker can write. More... | |
| struct | FrameWriterLimits |
| Owning writer resource caps. At most two capped frames coexist. More... | |
| class | Gauge |
| Noninteractive horizontal determinate gauge with widget-owned fill text. Paint has no owning allocation or polling; text remains alive until the enclosing frame ends. Value mutations are UI-only and use checked tree operations or existing onPrepare callbacks. Manual style defaults are construction-only; dynamic styling uses the existing style resolver. More... | |
| struct | GaugeOptions |
| Owning strictly determinate gauge settings. More... | |
| struct | GlyphAppearance |
| Logical glyph overrides; absent values retain the control's owning manual map. More... | |
| struct | GlyphId |
| Output-only glyph index scoped to one buffer between clear/resize/move. More... | |
| struct | GlyphSelection |
| Complete logical selection; resolution and copies never allocate. More... | |
| struct | Grapheme |
| Owning metadata for a half-open UTF-8 byte range. More... | |
| class | GraphemeText |
| Owning validated UTF-8 and immutable extended grapheme measurements. More... | |
| class | Grid |
| UI-owned Grid implementing the existing pure Layout contract. Every visible child needs a placement. All spans are checked, including hidden/stale entries. Later siblings paint/hit above earlier siblings; placement order does not change stacking. Intrinsic tracks absorb child demand, then Row's allocation rules apply independently on each axis. Constructors own settings; invalid settings are reported by Layout methods. Layout errors are INVALID_ARGUMENT, NODE_LIMIT, INVALID_GEOMETRY or NO_MEMORY. No I/O, retained spans or tree traversal. More... | |
| struct | GridCell |
| Owning explicit placement, keyed by full identity rather than visible sibling index. More... | |
| struct | GridItemOptions |
| Owning parent-child relationship; omitted coordinates request automatic placement. More... | |
| struct | GridOptions |
| Owning sparse grid configuration; no implicit tracks or automatic placement. More... | |
| struct | GridPlacementPlan |
| Owning preflight result independent of any tree identity or visibility. More... | |
| struct | GridPosition |
| Resolved local origin in the same order as the input relationships. More... | |
| struct | GridPresentation |
| Backgrounds only; these values never inherit into child control state styles. More... | |
| struct | GridRowStyles |
| Optional owning row backgrounds; logical row zero is even. More... | |
| struct | GridScrollOptions |
| Owning opt-in to the existing scroll-controller lifecycle, fixed before mount. More... | |
| struct | GzipDocumentOptions |
| Fixed RAM and replay policy; limits do not restrict logical document size. More... | |
| class | GzipDocumentProvider |
| Optional gzip-only source with bounded RAM checkpoints and cancellable replay. Logical offsets are decompressed byte offsets. Exact logical extent is unknown until every concatenated member and physical EOF have been validated. Gzip headers, CRC/ISIZE, truncation and trailing garbage are checked strictly. Previously returned bytes can precede a later member-integrity error; they do not prove whole-archive validity. A failing read publishes none of that call's partial output, and never reports clean EOF. More... | |
| class | HelpView |
| Ordinary nonmodal focus-scope container; its sole content is an existing ScrollArea. More... | |
| struct | HelpViewOptions |
| Ordinary help pane options; open/close bindings belong to the application. More... | |
| struct | HexByteCell |
| struct | HexRowOptions |
| struct | HexRowResult |
| struct | HistoryAvailability |
| Effective history commands available without adopting a model revision or changing presentation. More... | |
| class | InputDecoder |
| Bounded streaming decoder for a deliberately small 7-bit VT input profile. More... | |
| struct | InputIssue |
| Byte offsets describe the consumed rejected prefix, without raw ANSI diagnostics. Subsequent discard bytes are accounted by InputStep::consumed, not another issue. More... | |
| struct | InputModeReport |
| Owning DECRPM reply; the caller validates the expected mode and protocol phase. More... | |
| struct | InputModifiers |
| Observed modifiers, also usable by a native input adapter. More... | |
| struct | InputOptions |
| Explicit resource and timing policy, independent of terminal capabilities. More... | |
| struct | InputPointerContext |
| Owning decoder context; validity changes are ordered by the caller. More... | |
| struct | InputPointerPrecision |
| Owning precise pointer sample; pixel coordinates are zero based in the text area. More... | |
| struct | InputProbeCandidate |
| Syntactically matching reply within an explicitly expected window. More... | |
| struct | InputProbeWindow |
| A single-use expected reply window, captured at sequence start. More... | |
| struct | InputSizeReport |
| Owning CSI 48 text-area dimensions, in wire order; not terminal authentication. More... | |
| struct | InputStep |
| One bounded pull result; no hidden output queue. More... | |
| class | KeyBinding |
| Weak UI-affine command observation; destruction never unregisters the command. More... | |
| class | KeyBindingId |
| Scene-local, never reused registration identity; not a persistence key. More... | |
| struct | KeyBindingsSnapshot |
| Independent historical read snapshot; scope disconnect is observed on the next UI admission/query. More... | |
| struct | KeyBindingView |
| Owning read DTO, retaining no callback, resolver, subscription or widget. More... | |
| struct | KeyCapabilities |
| Application-supplied native phase support, independent of physical-key identity. More... | |
| struct | KeyConflict |
| One bounded pair relation; ordinals refer only to its owning snapshot. More... | |
| struct | KeyEvent |
| Owning key value without an inferred physical keyboard scan code. More... | |
| struct | KeyFormatOptions |
| Owning ASCII-first formatter settings; glyph support is never inferred. More... | |
| class | KeyHints |
| One-line named-key projection; only a visible overflow action can receive focus. More... | |
| struct | KeyHintsOptions |
| Single-row compact presentation options, bounded by the canonical registration limit. More... | |
| struct | KeyInfo |
| Owning metadata normalized once before canonical publication. More... | |
| class | KeySelection |
| Copyable immutable owning shortcut selection, or a deferred typed construction error. Copies share normalized values; no source string or initializer list is retained. Moving/copying this receipt allocates nothing. Registration origin belongs to onKey. More... | |
| class | Label |
| Noninteractive Unicode label; text remains data, including control characters. More... | |
| class | Layout |
| Pure container interface; callbacks run inside tree.read and an enclosing tree.frame. No callback may call tree operations, recurse into layout, mutate models, retain spans, or perform I/O. Independent algorithms for Grid/Overlay can implement this interface without changing Widget. More... | |
| struct | LayoutChildPolicy |
| Owning pure layout result for one direct child. More... | |
| struct | LayoutGeometrySnapshot |
| Owning geometry independent of later live invalidation or widget destruction. descendantClip precedes ancestor intersection; an off-viewport target may have an empty cumulative clip while its unclipped surface rectangle remains useful for reveal. More... | |
| class | LayoutItem |
| Optional const sizing interface, read only within tree.read. More... | |
| struct | LayoutPadding |
| Owning nonnegative padding in terminal cells. More... | |
| class | LayoutSnapshot |
| Owning immutable identities and local sizes from one completed layout pass. Copies share immutable value storage, without widgets, tree owners or borrowed text. Captured values remain readable after tree invalidation, removal or destruction. Concurrent const reads are safe; assignment requires caller synchronization. More... | |
| class | LinearLayout |
| Shared Row/Column implementation; UI-owned and mutated via setLinearOptions. More... | |
| struct | LinearOptions |
| Owning linear container options. More... | |
| class | LineEdit |
| UI-owned Unicode draft; mutate only through its scoped binding between frames. Cursor/anchor are UTF-8 byte boundaries, while scrolling and painting use terminal cells. Paint borrows owning text through the enclosing tree.frame and performs no service/model calls. PASSWORD caches one ASCII '*' per grapheme; NO_ECHO has fixed width one and a fixed-origin caret. Protected modes suppress outbound copy/cut but permit inbound paste when writable. Models, getters, commit receipts and bounded history can contain plaintext; no storage zeroization is promised. More... | |
| class | LineEditBinding |
| Scoped model/action ownership; destroy and move on UI outside frames. Tree, router and scheduler outlive the binding. Call sync before each frame. Drafts survive external revisions; confirmation detects conflict and Escape adopts latest. EditMode selects immediate publication, confirmation on focus loss, or explicit confirmation only. Admitted callbacks retain state; removal suppresses future callbacks and observer delivery. More... | |
| struct | LineEditEvents |
| Optional owning UI callbacks delivered after the legacy result, while the node remains live. Callbacks may remove the node or binding. Node removal stops subsequent delivery. Reentrant focus changes publish presentation without repeating this operation's completion or commit. More... | |
| struct | LineEditHistoryShortcuts |
| Fixed-size owning shortcuts; nullopt disables an individual binding. More... | |
| struct | LineEditOptions |
| Owning bounds and appearances for a one-line editor. More... | |
| struct | LineEditResult |
| Exact editing or confirmation result delivered on the UI thread. More... | |
| struct | LogAppendReceipt |
| Owning receipt for one atomic complete batch; drop-oldest is a successful outcome. More... | |
| class | LogBookmarkProvider |
| Bounded worker extension for log positions; unrelated to total extent. The provider owns its logical resource. Capture and resolve run on the existing application worker and must never retain borrowed commands or row payload. More... | |
| struct | LogCheckpointOptions |
| Configurable metadata bounds; no source-count limit or LRU eviction. More... | |
| struct | LogLimits |
| Positive plain-log admission and retention bounds; oversized settings are rejected. More... | |
| struct | LogLine |
| Immutable UTF-8 record with its original byte position; separators are excluded. More... | |
| class | LogNavigation |
| Weak UI-affine checkpoint session owned by an existing scene. Removing a view leaves this session alive. Handles retain no source, view or runtime. Reusing a handle explicitly resumes its history; views otherwise navigate independently. More... | |
| struct | LogReadingCheckpoint |
| Owning saved logical reading position; contains no source or view references. More... | |
| struct | LogRestoreStatus |
| Observed status belonging to a navigation session, not a widget. More... | |
| struct | LogStatus |
| Owning scalar observation; never retains record payload or widgets. More... | |
| class | LogView |
| Native bounded plain-text log with whole-grapheme wrap and a stable reading anchor. The rolling mode exclusively owns records and prepared visible-row text. External-source recipes retain bounded immutable prepared windows and node-scoped application work; paint never reads a source or parses text. Use checked tree commands between frames on UI. Construct through ManagedScene::logView or ui::logView: managed preparation and its scoped scroll-intent observation are required. Raw WidgetTree emplacement alone is not a usable log; commands and measurement return INVALID_ARGUMENT until managed initialization is present. The native frame requires right and bottom sides for its scrollbar and status/tail action. CRLF, CR and LF separate complete records; a final separator adds no phantom empty record. More... | |
| struct | LogViewConfig |
| Owning bounded-log settings; frame bars use ON_FRAME without a horizontal gutter. More... | |
| struct | ManagedDiagnostic |
| One owned error and its bounded causal trace, independent of widget lifetime. More... | |
| struct | ManagedDiagnosticBatch |
| Owning snapshot or drained history; counters saturate at size_t's maximum. More... | |
| struct | ManagedDiagnosticContext |
| Owning causal breadcrumb; source_location refers to compiler-owned static source names. More... | |
| struct | ManagedDiagnosticOptions |
| Finite error-history and causal-context budgets. All limits must be positive. More... | |
| struct | ManagedError |
| Original error plus independent runner/restoration and cleanup failures. More... | |
| class | ManagedModel |
| Weak UI handle to a model owned by one ManagedScene. Handles may be copied and destroyed on any thread. Operations require the creating UI thread. Closing the scene closes its model endpoints; handles do not extend ownership. More... | |
| class | ManagedNavigation |
| Weak UI-affine navigation handle owned by an existing scene/model scope. Removing a view does not remove its context. Closing the scene cancels pending resolution and retires all callbacks. Handles retain no model, snapshot, widget, source or runtime. Copied immutable channel snapshots and bookmarks remain ordinary independent values. More... | |
| struct | ManagedOptions |
| Finite managed bookkeeping budgets, independent of the existing tree/queue limits. More... | |
| class | ManagedScene |
| Additive lifecycle owner over one existing Application subtree. UI affine and nonmovable. Application/tree/router/scheduler must outlive this owner. Destroy outside callbacks and tree frames; self/ancestor node removal in callbacks is supported. Standard controls retain their existing binding and LineEdit semantics. Use run() to preserve detailed managed failures alongside runner and restoration errors. No raw owning Property or individual binding token escapes this owner. More... | |
| class | ManagedSource |
| Read-only weak scene-owned derived value; no writable alias or subscription escapes. More... | |
| class | ManagedState |
| Weak UI handle to a scene-owned Property, never an owning alias. Copies and destruction of the handle are thread independent. Operations check the captured UI identity before locking the property. Immutable snapshots follow Property's transfer requirements. The Application must outlive the scene, but not this weak handle. More... | |
| struct | MeasuredChild |
| Owning child input for a pure layout computation. More... | |
| class | MemoryDocumentProvider |
| Adapter retaining existing immutable shared text without copying whole input. More... | |
| class | MemoryQueryProvider |
| Explicit in-memory provider using the bounded local transform, with rejection recovery. Evaluates synchronously on UI. Use a delayed provider for work that must leave UI. Callback captures must own immutable storage; callbacks cannot retain borrowed arguments. More... | |
| class | Menu |
| Initially visible action-backed command list, without popup or submenu behavior. Actions own callback/state; the menu owns only prepared presentation and local selection. Construct through ui::menu to attach actions and routed input to the managed scene. More... | |
| struct | MenuOptions |
| Finite admission limit for an ordinary retained command list. More... | |
| class | Model |
| UI-owned source connecting immutable providers and scoped ranges to a real WidgetTree. The tree must outlive the source; use a long-lived context when views are disposable. Publisher and request tokens may outlive source/tree/scheduler. Read one pin per model per frame. Scheduler dispatch and source mutation belong between frames. More... | |
| class | ModelBookmark |
| Copyable bookmark owning metadata only; never retains model, snapshot, view or page. Copies share immutable opaque bytes without allocation. Resource identity is process-local unless the provider supplies a portable identity/codec on export. This value alone cannot reopen a source or recreate missing model data. More... | |
| struct | ModelCheckpointOptions |
| Bounded history options, independent of model row count. More... | |
| class | ModelConsumer |
| Move-only UI-owned range slot. Equal/overlapping consumers are independent. Close/destruction retires only this consumer; outstanding worker reservations survive. Model and tree may close first. Destruction/move assignment on another thread terminates. More... | |
| class | ModelFrame |
| One immutable model revision retained by the frame owner for all its views. Obtain once before WidgetTree::frame, pass the same value to every view, and retain it until borrowed rendering finishes. Different models require application transactions. More... | |
| struct | ModelOptions |
| Finite per-model storage and work budgets; all fields must be positive. More... | |
| struct | ModelPosition |
| Owning scalar position; offset is meaningful only in the declared data revision. More... | |
| class | ModelRange |
| Independent owner for borrowed rows and provider error text. More... | |
| struct | ModelRangeId |
| Stable identity of a scoped range consumer, distinct even for equal row intervals. More... | |
| struct | ModelRebindOptions |
| Explicit rebinding policy; omitted history options inherit the session's settings. More... | |
| class | ModelRequest |
| Copyable worker token; retains work storage and one reservation until its last owner dies. Cancellation is a stop request, never a join. Worker code must finish/release its own owners. Completion queues an owning result; no view callback runs on the worker. More... | |
| struct | ModelResource |
| Logical resource namespace, distinct from its current delivery session. Reuse an existing SourceStamp as the resource origin; no second identity issuer is needed. Keep lineage stable only while the provider can map old positions. A new unrelated document at the same path needs a different identity or lineage. More... | |
| struct | ModelRow |
| A typed domain row and its stable identity; a table uses a typed record as T. More... | |
| struct | ModelRows |
| Provider result borrowing from its immutable snapshot. More... | |
| class | ModelSnapshot |
| Immutable list/table provider storage, independent of view/source lifetime. Implement read as bounded in-memory access, without I/O, waiting or domain mutation. Every ready range of one data revision must agree, including overlapping ranges from different snapshot objects. Shared ownership does not make mutable aliases safe. Opting this source into a background model adapter requires worker-safe read access, including concurrent reads of the same immutable storage; no UI frame or thread-affine cache may be used. Snapshots and transitively owned T values must support destruction on the last owner's thread; UI reentry from a destructor requires a still-live UI context. More... | |
| struct | MouseInputEvent |
| Checked zero-based cell coordinates; no viewport clipping is performed. More... | |
| struct | NativePointerOptions |
| Advanced native pointer policy; no physical host qualification is inferred. More... | |
| struct | NativeTerminalHandles |
| Borrowed native descriptors supplied to open(); no Windows headers required. More... | |
| struct | NavigationBindingOptions |
| Independent opt-in view channels; scrolling never changes current by itself. More... | |
| class | NavigationBookmarkCodec |
| Explicit provider conversion; no generic serializer for process-local RowId/SourceStamp exists. Caller keeps this object alive and serializes operations. Descriptor strings stay valid throughout each outer operation. Callbacks run synchronously without a new runtime; providers performing I/O must be invoked on the application's existing worker path. Codec payloads contain location metadata only, excluding values, secrets, drafts, Undo/Redo history and write authority. Callback-internal allocations are provider-owned and are not accounted by the envelope limits. No codec or borrowed span is retained. More... | |
| class | NavigationCheckpoint |
| Immutable owning checkpoint; copies share bytes and never retain providers or UI objects. A default value is empty/invalid and allocates nothing. Capture/load stage a new value; failures never replace a caller's existing checkpoint or navigation state. Envelope checksum detects accidental corruption, not malicious modification or authenticity. Parse validates structure only; restore requires a matching provider and does not apply positions to views, grant write permissions, or resolve a position against live data. More... | |
| struct | NavigationCheckpointEntry |
| A metadata-only position and its purpose; never a model value or draft. More... | |
| struct | NavigationCheckpointOptions |
| Positive metadata capacities; none depends on the logical model extent. More... | |
| class | NavigationCheckpointStorage |
| Optional synchronous storage seam; no filesystem or scheduler is installed implicitly. Caller owns and serializes this adapter. Invoke load/save on an existing worker when the adapter can block; these functions do not dispatch work or enforce UI affinity. Read/write failures may affect external storage, but cannot alter memory checkpoints or navigation state. Atomic replacement/durability is the adapter's explicit contract. More... | |
| struct | NavigationCodecDescriptor |
| Provider-issued durable identity; not a path inferred by the checkpoint library. More... | |
| struct | NavigationOptions |
| Positive bounded metadata limits; no source extent or viewport is retained. More... | |
| struct | NavigationPosition |
| Published logical position, independent of provider revisions and screen coordinates. Full revision-qualified bookmarks are read separately from ManagedNavigation::bookmark(). ITEM positions compare by complete row identity; their offset is always zero. More... | |
| class | NavigationSelection |
| Immutable bounded selected identities; copies share payload without allocating. More... | |
| class | Node |
| Copyable typed observer; never owns or exposes an unchecked widget pointer. More... | |
| struct | NodeGeometry |
| Owning arranged geometry; invalid geometry must never be used for hit-testing. More... | |
| struct | NodeId |
| Owning identity, independent of addresses; zero is never a live identity. More... | |
| struct | NodeSnapshot |
| Owning snapshot of a live node; handles remain checked after subsequent mutations. More... | |
| struct | NotificationOptions |
| Fixed host budgets and explicit localization; no borrowed option spans. More... | |
| struct | NotificationSnapshot |
| Independent bounded queue snapshot with saturating policy counters. More... | |
| struct | NumericRange |
| Owning inclusive bounds and user increment; validated together with a numeric value. More... | |
| class | NumericState |
| Weak checked numeric source over the existing scene-owned Property runtime. Copies own no scene/widget. All reads and writes are UI-affine; saved snapshots are independent. More... | |
| class | NumericValue |
| Small owning numeric snapshot whose public operations preserve its finite range invariant. No scene, widget, callback or mutable alias is retained. Values between user ticks are valid. More... | |
| struct | Ohlc |
| One domain bucket; finite values satisfy low <= open/close <= high. More... | |
| class | OhlcBucket |
| Constant-storage domain aggregation, performed before display snapshot coalescing. One producer owns mutation; copy value() into immutable provider storage before publishing. No allocation, I/O or UI affinity. Caller chooses bucket boundaries and tick ordering. More... | |
| class | Overlay |
| UI-owned overlay using the existing traversal, geometry and sibling stacking. Later siblings are above earlier siblings for normal paint order and EventRouter hit testing. Layout methods are pure and follow Layout's borrowed-span contract. Invalid settings/policies return INVALID_ARGUMENT, checked overflow INVALID_GEOMETRY, allocation failure NO_MEMORY. More... | |
| class | OverlayHost |
| Transparent overlay with exact body identity and body-only intrinsic measurement. The managed owner binds the body before layout. Unbound hosts return INVALID_ARGUMENT. Hidden body contributes no intrinsic extent. Existing Overlay placement and sibling order apply. Pure layout methods borrow their spans only for the call and never access the tree. More... | |
| struct | OverlayHostOptions |
| Owning registration budget for a single scene overlay host. More... | |
| struct | OverlayOptions |
| Owning overlay alignment and insets; all children share the content rectangle. More... | |
| class | PageBuilder |
| One reserved worker-only builder. Never expose its writable resource after publication. More... | |
| class | PaintContext |
| Borrowed synchronous command sink supplied by the frame owner. submit must consume commands immediately or retain their text only until the enclosing WidgetTree::frame callback returns. The frame owner must render before leaving that callback. No command/text/context borrow may survive the frame. No terminal I/O here. More... | |
| struct | ParentLayoutEdge |
| Owning arranged edge before intersection with any ancestor's clip. More... | |
| class | Password |
| Protected single-line editor with numeric metadata and constant-mask frame data. The draft and snapshots are immutable PasswordValue identities. Frames do not borrow, decrypt or call application services. PASSWORD reveals grapheme count; NO_ECHO measures one cell and fixes the caret at its origin. Input-event and opted-in clipboard buffers are external plaintext; owned clipboard payload bytes are wiped before release. More... | |
| class | PasswordBinding |
| Scoped action/model ownership on the tree UI thread, outside frames. Tree, router and scheduler outlive the binding. Admitted operations retain their state across callback removal. Deferred drafts retain their baseline revision and never overwrite external changes. No operation exposes an ordinary text draft or history. More... | |
| struct | PasswordOptions |
| Owning protected-editor policy; no plaintext history, copying or cutting exists. More... | |
| struct | PasswordResult |
| Secret-free editing outcome; a commit owns only protected immutable snapshots. More... | |
| class | PasswordValue |
| Copyable identity of immutable logical bytes in protected native storage. More... | |
| struct | PasswordValueAccessFailure |
| Independent ownership and protected-access failures, without secret diagnostics. More... | |
| struct | PasteInputEvent |
| Owning raw paste bytes, possibly invalid UTF-8 or containing controls. Never forward these bytes to a terminal writer or interpret them as commands. More... | |
| class | PointerCapture |
| Move-only weak cancellation token; owns no callback, widget, tree or router. Destruction/disconnect may run on any thread and prevents future admission. Already admitted delivery keeps its callable and widget alive until return. Tokens may outlive the router. Eligibility and focus retirement are checked on UI, without background polling. More... | |
| struct | PointerCaptureCapabilities |
| Host-declared input guarantees; this value does not enable terminal reporting modes. More... | |
| struct | PopupEntry |
| Owning finite popup entry; callbacks and leaf presentation remain in ActionSet. More... | |
| class | PopupMenu |
| Sized action-backed popup plane, owned by one private managed Dialog activation. Use ui::popupMenu as an initially closed scene layer. One Ref observes this real Menu subtype; removal through ManagedScene removes its private root as well. No command store or scheduler is added. More... | |
| struct | PopupMenuOptions |
| Immutable finite popup construction options; cell extents include panel borders. More... | |
| struct | PositionChange |
| Scalar ordering operation; payload and row identities remain in the model. More... | |
| class | PositionChangeHistory |
| Optional immutable bounded ordering history owned only by supporting providers. No rows, view handles or scene references are retained by a proof. Callers obtain one map for a channel/batch, not a freshly allocated map per selected identity. More... | |
| class | PositionChangeMap |
| Immutable bounded provider proof between two revisions of a finite order. The provider must report all ordering changes truthfully; validation checks shape and arithmetic, not the contents of two snapshots. O(operation count), never O(rows). The operation cap is configurable. Large proofs belong on the existing worker path; constructing a map does not dispatch work or make a UI scan acceptable. More... | |
| struct | PositionHistoryReply |
| Qualified metadata-only proof result; expired history is an observable outcome. More... | |
| struct | PositionMapOptions |
| Bounded change-proof admission options; no model rows are retained. More... | |
| struct | PositionMapping |
| Proven mapped ordinal or gap; removed items become a gap with the requested affinity. More... | |
| struct | PositionReply |
| Owning resolution receipt; meaningful only for its matching live request. More... | |
| struct | PositionRequest |
| Immutable qualified navigation request; does not start work by itself. More... | |
| class | PositionResolver |
| Bounded provider extension independent of views, schedulers, and total extent. Implementations must not perform I/O or unbounded scans on the UI thread. I/O resolvers run on the existing source worker path and honor cooperative cancellation. Return PENDING rather than block for absent data. No second task/runtime is created. More... | |
| class | PreparedTextHistory |
| Owning, move-only staged history and already segmented restoration text. More... | |
| class | Property |
| UI-owned typed value with node-scoped observers and explicit partial delivery. WidgetTree and its Scheduler are borrowed and must outlive this object. All operations and destruction use the UI thread. Retained snapshots may outlive every UI owner. Each changed set invalidates the source target synchronously, then publishes in observer registration order on the data lane with reject overflow. No atomic multicast is promised. Callbacks run only through Scheduler between frames; reentrant set appends notifications after already accepted events. Scheduler budgets bound a self-updating callback chain. T construction/copy/move/comparison and callback construction/move must not reenter UI APIs. T destruction may reenter after replacement: the old value is retained until all publication attempts finish. Destructors must not throw or call members of an object being destroyed. More... | |
| struct | PropertyChange |
| Immutable owning value/revision pair; revision zero is the initial value. T must own its data transitively; mutable aliases must not change published snapshots. More... | |
| struct | PropertyOptions |
| Finite observer endpoint storage, independent of Scheduler queue capacity. More... | |
| struct | PropertyUpdate |
| A successful set result; notification rejection does not undo the committed value. Counts describe publication attempts, not callback execution. Accepted events can still be cancelled by source destruction, Subscription disconnect, node removal or scheduler stop. Equal set is a no-op and never retries notifications rejected by an earlier set. More... | |
| struct | PssDeclarationOrigin |
| One declaration's source coordinates, retained even when a later duplicate wins. More... | |
| struct | PssDocument |
| Owning parsed declarations and provenance; input bytes need not survive the call. Metadata is not automatically installed into a scene by CT-PSS v0. More... | |
| struct | PssError |
| Allocation-free error owning its bounded subject; message always has static lifetime. More... | |
| struct | PssFileError |
| Allocation-free original file failure; the owning source identity is stored separately. Capture cause immediately after the failing operation. The standard error category must outlive this value, as required by std::error_code; the PSS file boundary uses standard static categories. No file handle, input view, path view, or dynamically formatted message is retained. More... | |
| struct | PssLocation |
| Position in original PSS bytes, including an accepted leading BOM. More... | |
| struct | PssRuleOrigin |
| Owning coordinates and occurrence links for one source-order rule. More... | |
| struct | PssScalarValue |
| Allocation-free declaration scalar; its owning occurrence property identifies the active field. More... | |
| class | Publisher |
| Copyable, worker-safe endpoint. It owns the closed channel state, never UI captures. May outlive Scheduler: publish then returns closed. T must own its transitively immutable data; mutable aliases must not modify it. Its deleter may run on UI or any producer thread. More... | |
| struct | Query |
| Owning domain criteria, exact indexed source, and explicit output page. This value performs no I/O. Q and its reachable data must be immutable while shared, own all worker-visible storage, and support destruction on the last owner's thread. More... | |
| class | QueryController |
| UI-owned adapter coordinating a fixed provider session and one long-lived Model. Operations require the creating UI thread and a live tree context, outside frames. Release/close before WidgetTree. Criteria and token owners are worker-safe; controller is not. Model data revisions are projection revisions; source provenance is exposed separately. More... | |
| struct | QueryOptions |
| Configurable finite query budgets; all values must be positive. More... | |
| struct | QueryPage |
| Provider's owning page at the exact source revision, before projection publication. More... | |
| class | QueryProvider |
| Provider owned by a UI query controller; workers retain only query tokens. More... | |
| class | QueryRequest |
| Copyable worker token owning criteria, source pin and one bounded reservation. Cancellation never joins. Complete queues ownership; acceptance is not UI application. Retain and retry the same result after rejected publication. No UI references are retained. More... | |
| class | QuerySnapshot |
| Derived model snapshot with distinct projection revision and exact source provenance. Retains the source pin and provider result for every borrowed row. Construction does not validate the page; QueryController validates worker results before creating this wrapper. More... | |
| class | RadioGroup |
| Ordinary one-focus-stop, model-owned resident radio group with clipped row painting. More... | |
| class | RadioGroupBinding |
| UI-only owning input/subscription registration; destroy before its borrowed tree/router. More... | |
| class | RadioGroupValue |
| Coherent immutable resident options and optional selection; copies share all row storage. No mutable aliases escape. Empty construction represents no options and no selection. Selection changes reuse the prepared row/index projection; retained values outlive the UI. More... | |
| struct | RadioItem |
| One immutable, validated single-line radio caption and its input eligibility. More... | |
| struct | RadioOption |
| Owning cold caption and eligibility for ordinary radio model creation; no hand-written ID required. More... | |
| struct | RenderError |
| Owning renderer error, independent of the scene lifetime. More... | |
| struct | RenderLimits |
| Owning full-frame resource caps; over-limit scenes fail without truncation. More... | |
| struct | RgbColor |
| Owning RGB color; terminal encoding belongs to the output adapter. More... | |
| class | Row |
| Lay visible children from left to right. More... | |
| class | RowCollection |
| Immutable owning rows with explicit provider identity and bounded identity lookup. More... | |
| struct | RowId |
| Provider-assigned row identity, independent of position; increment generation on reuse. More... | |
| struct | RowLookup |
| Owning lookup result; no row storage is borrowed. More... | |
| struct | RowRange |
| Half-open logical row interval; arithmetic is checked before provider access. More... | |
| struct | SceneResourceError |
| Owning resource position, independent of parser, scene and widget lifetimes. More... | |
| class | Scheduler |
| One UI executor; call dispatch only between frames, never during layout/paint. create captures its calling thread. Callbacks run there without the queue lock. No method mutates a widget or requests a frame: downstream callbacks own invalidation. Destruction must occur on UI, outside dispatch, after UI tokens; publishers may survive it. Callbacks must terminate promptly: budgets bound counts, not application callback wall time. More... | |
| struct | SchedulerClock |
| Borrowed clock service, invoked under the scheduler mutex on UI or producer threads. read must be thread-safe, nonblocking and non-reentrant. Context must outlive Scheduler; stopped publishers never read it. Null read selects the steady clock. More... | |
| struct | SchedulerConnection |
| UI owns the subscription; workers receive copies of only the publisher. More... | |
| struct | SchedulerDispatch |
| One bounded dispatch result; stop can interrupt the cycle after the current callback. More... | |
| struct | SchedulerMetrics |
| Thread-safe, copied metrics; no retained samples or unbounded history. More... | |
| struct | SchedulerOptions |
| Finite resource limits and maximum work per dispatch; all fields must be positive. More... | |
| struct | SchedulerQueueMetrics |
| Queue counters saturate at UINT64_MAX; latency is measured in clock milliseconds. More... | |
| class | ScrollArea |
| 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... | |
| struct | ScrollAreaGeometry |
| Owning normalized placement result; every represented cell lies in the allocation. The viewport defines the logical range. childClipSize excludes overlay ownership strips; it therefore may be smaller than viewport only for explicitly selected OVERLAY. More... | |
| struct | ScrollAreaLayoutSnapshot |
| Owning observation captured after a complete low-level layout pass. Capture every area's observation before preparation invalidates geometry. The future managed snapshot adapter performs this automatically; this value itself retains no tree or widget. More... | |
| struct | ScrollAreaOptions |
| Owning ordinary-area settings; content is retained rather than automatically virtualized. OVERLAY keeps nominal range/visibility and may obscure edge content. ON_FRAME requires frame. Embedded bars share the area's input/paint owner and never add focus stops. More... | |
| struct | ScrollAxisConfiguration |
| Owning initial configuration of one exact scrolling axis. More... | |
| struct | ScrollAxisMetrics |
| Owning one-axis logical metrics, independent of materialized content. More... | |
| struct | ScrollAxisSnapshot |
| Owning immutable observation of one axis at a controller revision. More... | |
| class | ScrollBar |
| Independent one-axis projection of an owning controller, without a content offset. Initialization chooses a sole standalone metrics writer or an area-owned read projection. Before initialization paint is empty and checked commands fail with INVALID_ARGUMENT. No timers, virtual-view adapters, tree ownership or observer runtime are retained. More... | |
| struct | ScrollbarAppearance |
| Resolved scrollbar parts; absent values inherit the ordinary control state. Colors and attributes are shared by both axes; glyphs are orientation-specific. More... | |
| struct | ScrollbarAxisGlyphs |
| Sparse owning glyph overrides for one axis, validated before painting. Every nonempty source must be exactly one printable one-cell grapheme under the receiving WidthPolicy. More... | |
| struct | ScrollBarOptions |
| Owning standalone bar settings, validated before mounting or replacement. No callbacks, tree identity, borrowed storage, timers or terminal resources are retained. More... | |
| struct | ScrollbarSkin |
| Owning scrollbar skin; no callbacks, borrowed views, timers or layout changes. Ends occupy existing track cells, below the thumb in paint priority; their clicks keep ordinary track behavior. Both axes share part colors/attributes through the existing style resolver. FRACTIONAL_BLOCK selects a blank track and eighth-cell placement beneath explicit part overrides. It rejects nonblank tracks, custom thumb shapes/caps, ASCII primitives and non-one-cell coverage glyphs. Missing resolved scrollbar colors use a local dark surface and normal/focused/disabled ink palette; explicit part/segment/control colors keep priority. Other presets retain terminal-default colors. More... | |
| struct | ScrollbarThumbAppearance |
| Complete resolved thumb segment values, shared by both axes. Missing declarations inherit the common thumb while resolving this value. More... | |
| class | ScrollController |
| Shared owning, UI-affine scroll values built on the existing ScrollState. The controller owns no tree/widget/router references or observer runtime. Public access is read-only after checked creation; mounted commands must use their checked node/tree owner. Shared ownership does not permit concurrent mutation. Final destruction only releases values and may occur on any thread; checked queries require the creating UI thread. More... | |
| struct | ScrollControllerOptions |
| Owning pre-mount configuration; no callbacks, tree or widget references. More... | |
| struct | ScrollControllerSnapshot |
| Owning two-axis observation, safe to retain after the controller is destroyed. Values are independent of subsequent UI changes; concurrent const reads are safe. More... | |
| struct | ScrollExtent |
| Logical content extent; ordinary retained layout still has int32 cell bounds. More... | |
| struct | ScrollFractionalThumb |
| Owning thumb interval in eighths of a track cell; no references or invalidation. More... | |
| struct | ScrollLayoutOptions |
| Value-only placement inputs, without a frame painter or widget lifetime. More... | |
| struct | ScrollOffset |
| Owning exact integral position and sub-cell remainder; no affinity or invalidation. More... | |
| struct | ScrollPreparationResult |
| Owning result; successful preparation does not imply successful final rendering. More... | |
| struct | ScrollRange |
| Derived viewport-start range, preserving the existing ScrollState count contract. More... | |
| struct | ScrollRepeatServices |
| Existing scheduler services for held arrows and eligible fractional input transitions. Tree and borrowed callback captures must outlive the binding, node and admitted calls. The node's existing UiScope owns timer lifetime. now may throw; exceptions become CALLBACK_FAILED. Fractional profiles use the configured smoothDurationMs; integral profiles remain immediate. More... | |
| struct | ScrollRevealTarget |
| Owning one-shot reveal input for an explicit low-level scene preparation. Managed scenes retain their own focus/explicit serial and completion watermark. Custom scenes must likewise pass this value only while their request is pending; scrolling alone is not a request. More... | |
| class | ScrollState |
| Owning one-dimensional logical position with floor quantization to integral rows. Integral and fractional parts are stored separately, preserving every uint64 index even above 2^53. Fractions use double precision; no epsilon snapping is performed. Saturation discards overscroll. No allocation, callbacks, tree invalidation or I/O occurs. The owner serializes access; views use UI only. More... | |
| struct | ScrollThumb |
| Owning one-cell-track thumb geometry; values are relative to the track start. More... | |
| struct | ScrollTrack |
| Owning local one-cell track; axis determines whether length is rows or columns. More... | |
| struct | SearchHighlight |
| Half-open byte range in the original label, always on complete grapheme boundaries. More... | |
| struct | SearchItem |
| Immutable copied top-K item. It never owns the source corpus or worker index. More... | |
| struct | SearchOptions |
| Configurable finite source, index, query and result budgets. More... | |
| struct | SearchRank |
| Deterministic rank. Smaller tuple sorts first; source ordinal resolves equal scores. More... | |
| struct | SearchResult |
| Immutable bounded search value, distinct from QueryPage<T> and source row count. More... | |
| class | SearchSelection |
| Owning bounded selection; display bytes survive source and scene retirement. More... | |
| struct | SearchSourceIdentity |
| Exact source identity independent of a result model's publication revision. More... | |
| class | SecretView |
| Synchronous read-only byte borrow, valid only during its callback. More... | |
| class | SecureString |
| Move-only bounded secret storage with checked synchronous plaintext access. More... | |
| struct | SecureStringAccessFailure |
| Callback and cleanup diagnostics; opaque user errors are never logged. More... | |
| struct | SecureStringCapabilities |
| Applied guarantees, rather than potential platform features. More... | |
| struct | SecureStringCleanupErrors |
| Allocation-free cleanup diagnostics in chronological order. More... | |
| struct | SecureStringError |
| Owning, secret-free library diagnostic; nativeCode is zero when inapplicable. More... | |
| struct | SecureStringFailure |
| A primary failure and independently preserved bounded cleanup diagnostics. More... | |
| struct | SecureStringOptions |
| Requested mandatory guarantees, established even for an empty value. More... | |
| struct | Shortcut |
| Owning shortcut alternatives; one registration invokes at most once per completed event. More... | |
| struct | ShortcutBehavior |
| Command admission independent of low-level KeyEvent binding behavior. More... | |
| struct | ShortcutError |
| Allocation-free diagnostic independent of source and scene lifetime. More... | |
| struct | ShortcutOptions |
| Configurable finite parser limits; every value must be positive. More... | |
| struct | ShortcutSequence |
| One owning multi-stroke alternative, without action or held-key state. More... | |
| class | SizedWidget |
| Widget with owning policies, changed only through setSizePolicy on UI. More... | |
| struct | SizePolicy |
| Owning independent policies for width and height. More... | |
| class | Slider |
| Horizontal numeric view using the existing control style, layout and input runtime. NumericValue remains authoritative through its binding. Paint reads only prepared presentation. More... | |
| struct | SliderAppearance |
| Complete resolved Slider part paints, inheriting the ordinary control state. More... | |
| class | SliderBinding |
| Own one native slider binding without a second scheduler or numeric model runtime. Tree/router/scheduler must outlive this UI-affine token. Admitted callbacks retain their state. More... | |
| struct | SliderGlyphs |
| Owning custom one-cell printable graphemes used for slider parts. Each value is at most 64 UTF-8 bytes and must measure one cell under the receiving width policy. More... | |
| struct | SliderOperationEvent |
| Owning operation observation; model revisions and live onChange calls can be numerous. More... | |
| struct | SliderOptions |
| Horizontal slider presentation and user-input configuration. More... | |
| struct | SourceAnchor |
| Owning navigation intent, including optional capability-gated operations. More... | |
| class | SourceArena |
| Fixed-capacity monotonic storage shared by typed/text pages; no upstream fallback. Allocate all transitively owned page payload through this resource. Deallocation is deferred until the last arena owner releases it. Allocation and construction happen on one worker. More... | |
| class | SourceBudget |
| Thread-safe credit ledger; final page/worker release may happen on any thread. More... | |
| struct | SourceBudgetOptions |
| Configurable root shared by typed pages, future text pages and replacement sessions. More... | |
| struct | SourceBudgetUsage |
| Simultaneous source reservations; bytes are requested capacities, not process RSS. More... | |
| struct | SourceCapabilities |
| Immutable navigation capabilities of the delivery channel, not of the complete model. More... | |
| class | SourceCapacityObserver |
| Move-only worker-safe capacity observation; destruction unregisters without waiting. More... | |
| class | SourceCredit |
| Move-only credit; backing storage must be destroyed before this final credit owner. More... | |
| struct | SourceCursor |
| Owning opaque gap token; no arithmetic, row count or pointer semantics. More... | |
| struct | SourceReadCommand |
| Immutable worker command; maxRows is an upper bound, never an extent. More... | |
| struct | SourceReadReply |
| Owning result with fixed metadata; no optional/variant deep copies. More... | |
| struct | SourceStamp |
| Immutable source namespace; replacement sessions must share their old budget root. More... | |
| class | Spacer |
| Invisible flexible space along its direct Row/Column parent's main axis. Does not paint, accept input, focus, or schedule work. Other parents are rejected. More... | |
| class | Spacing |
| Invisible fixed cell space along its direct Row/Column parent's main axis. More... | |
| class | SparseDocumentIndex |
| Worker-owned sparse index with adaptive thinning and resumable bounded scans. Serialize mutable operations using the existing executor. Lines are never materialized. Empty documents have one empty line; a final separator introduces a trailing empty line. More... | |
| class | SpinBox |
| Numeric editor with one ordinary LineEdit and two nonfocusable step buttons. The containing tree owns all three child nodes. NumericValue is the only committed source. More... | |
| class | SpinBoxBinding |
| UI-affine owner of the editor source and nonfocusable arrow actions. More... | |
| struct | SpinBoxResult |
| Existing text editing outcome and its exact numeric receipt, if publication occurred. EDITED means a draft was accepted; it does not imply a numeric commit. Accepted spellings are preserved. More... | |
| class | Spinner |
| Retained indeterminate indicator using the receiving scene's existing scheduler. Construct through ui::spinner or ManagedScene::spinner to enable animation. A standalone tree.emplace remains a valid static presentation. All access is UI-affine through WidgetTree. Paint borrows only widget-owned text until the enclosing frame ends. More... | |
| struct | SpinnerOptions |
| Owning single-row indicator configuration; no thread or timer is created by this value. More... | |
| class | StatusBar |
| Ordinary horizontal status sections with a full-allocation background. Children retain their existing layout, text and input contracts. The bar is not a focus stop and has no message timer. Managed scenes synchronize eligibility; low-level callers call syncStatusBar before painting after eligibility changes. More... | |
| struct | StyleAxisSize |
| One tagged style mode; changing mode leaves no former exact-size constraint. More... | |
| struct | StyleDeclarations |
| Typed declarations; absent values preserve less-specific rules or widget defaults. More... | |
| class | StyleEngine |
| UI-owned style transaction coordinator; tree must outlive this nonmovable object. Bindings own metadata and only observe Node handles. Stale bindings are pruned on the next successful operation. Destruction leaves already computed widget values intact. One engine may own a widget's style at a time; overlapping engines are unsupported. No notifications, I/O, workers or hot reload. All mutations reject active frames and wrong-thread calls before work. More... | |
| struct | StyleError |
| Allocation-free error; message borrows a static string literal. More... | |
| struct | StyleId |
| Output-only style index scoped to one buffer between clear/resize/move. More... | |
| class | StyleLayerHandle |
| Weak UI-affine observer; destruction does not remove its layer. More... | |
| struct | StyleLayerOptions |
| Aggregate logical owning payload budgets; base slots count as layers. More... | |
| struct | StyleLayerSource |
| Owning provenance snapshot for one real engine layer, including unknown typed sources. The observing handle never owns the scene. Retaining document extends only immutable metadata lifetime. More... | |
| struct | StyleLayerUpdate |
| Replace an existing layer, or remove it when sheet is absent. More... | |
| struct | StylePaintDeclarations |
| Sparse paint attributes for an existing presentation part. More... | |
| struct | StyleRegistration |
| Owned metadata for one checked target in an atomic binding batch. More... | |
| struct | StyleRoleLimits |
| Limits paid only by opt-in semantic registrations. More... | |
| struct | StyleRolePalette |
| Owning role projection; retain a const shared snapshot across node/engine retirement. More... | |
| struct | StyleRolePatch |
| Cold sparse paint patch; names never encode focus or selection state. More... | |
| class | StyleRoleRegistration |
| UI-thread scoped registration; the engine retains only a weak observer. Copies share participation. Dropping the last copy retires it without callbacks; use unregisterRoles for explicit paint invalidation while the node remains live. Retained palette snapshots own their data and never assert that a node is live. More... | |
| struct | StyleRoleValue |
| One immutable-at-publication role in normal/focused/disabled/selected/header/caret order. More... | |
| struct | StyleRule |
| One owned selector/declaration pair in source order. More... | |
| struct | StyleSelector |
| Conjunction of optional type, id, classes, one state and read-only; no hierarchy combinators. More... | |
| struct | StyleSheet |
| Owned immutable-at-use rules; constructing typed values may allocate and throw. More... | |
| struct | StyleSizing |
| Sparse style sizing; legacy min-width remains solely in minWidth. More... | |
| class | StyleSnapshot |
| Immutable resident presentation with independently sparse extension blocks. Widget bindings share equal values. Construction can allocate; all read access and flattening are allocation-free. Retain the owning shared pointer to keep borrowed block references alive across a style publication or destruction of the originating widget. More... | |
| struct | StyleTarget |
| Owned subject metadata, supplied explicitly for built-in or custom widget types. More... | |
| class | Subscription |
| UI-owned move-only cancellation token. Release before Scheduler. Disconnect is immediate logically; an executing callback owns its captures until return. Destruction/move assignment on a foreign thread terminates (affinity contract violation). More... | |
| class | Switch |
| One-line boolean switch using the ordinary CheckBox binding and theme. More... | |
| class | SwitchChrome |
| Owning validated switch decorations, independent of any widget or scene. More... | |
| struct | TableColumn |
| A typed owning column definition; identity is independent of visual order. More... | |
| struct | TableColumnOptions |
| Owning metadata for a typed column; validation remains part of table preparation. More... | |
| struct | TableColumnSpec |
| Owning column recipe whose identity is assigned by tableColumns. More... | |
| struct | TerminalError |
| Owning error value, independent of session lifetime. More... | |
| class | TerminalFrameOutput |
| Non-owning adapter; session must outlive adapter and writer. The writer exclusively controls session output until it is destroyed. Session read/size remain available to the same executor. Close is always owner-managed. More... | |
| struct | TerminalOptions |
| Session resource bounds and cancellation/resize sampling cadence. More... | |
| struct | TerminalRead |
| Bounded owning transport result; earlier results are never invalidated. More... | |
| class | TerminalSession |
| Move-only terminal mode and I/O owner; no I/O belongs in paint/measure. More... | |
| struct | TerminalWrite |
| Owning output progress for this flush call, not a rendered-frame commit. More... | |
| struct | TextAnchorOptions |
| Finite metadata retention, independent of logical document size. More... | |
| class | TextChangeMap |
| Bounded metadata-only helper for a text provider; not a PositionResolver. Caller serializes every operation. Creation allocates; publication and resolution allocate nothing, perform no I/O or callbacks, and inspect only bounded metadata. Missing proof returns UNAVAILABLE. The enclosing provider must validate/snap mapped scalar hints to actual grapheme boundaries before publishing TEXT replies. This avoids a whole-document grapheme index requirement. Bookmarks contain scalars only. Content-state tokens are positive, provider-local values, not logical resource identities. More... | |
| struct | TextClip |
| Owning metadata for the maximal whole-cluster prefix in a cell budget. More... | |
| struct | TextCommand |
| One horizontal text run; controls display placeholders, never line breaks. More... | |
| struct | TextEditedEvent |
| Accepted user text delta, including history commands; owns the exact existing operation result. More... | |
| struct | TextError |
| Owning error value, independent of the failed input's lifetime. More... | |
| class | TextHistory |
| Specialized owning text history with allocation-free publication. More... | |
| struct | TextHistoryOptions |
| Configurable bounds and explicit-boundary grouping for text history. More... | |
| struct | TextHistorySnapshot |
| Owning UTF-8 bytes and byte offsets validated during preparation. More... | |
| struct | TextInputEvent |
| One Unicode scalar, not a grapheme cluster; Alt may be present. More... | |
| struct | TextLimits |
| Owning limits checked without silently truncating input or clusters. More... | |
| struct | TextMappedPosition |
| Intermediate scalar mapping; not a boundary-validated PositionReply. More... | |
| class | TextSaveTicket |
| Owning save acknowledgement qualification; retains target metadata, never document bytes. A ticket alone does not perform I/O or grant write authority. The application saves the bytes observed at its revision and acknowledges only successful writes. More... | |
| class | TextSegment |
| One immutable whole-grapheme byte range retaining its original owning input. More... | |
| class | TextSegments |
| Immutable bounded token collection; copies retain one input and its metadata without copying text. More... | |
| struct | TextSelection |
| Byte-boundary selection owned by the document session, independent of a view. More... | |
| struct | TextSplice |
| Scalar text replacement proof; does not read or retain document bytes. Units are chosen by the enclosing provider; the finite adapter uses UTF-8 bytes. A scalar mapping alone cannot prove that a mapped offset is a grapheme boundary. More... | |
| struct | TextSplitOptions |
| Owning text-analysis limits; words are Unicode-whitespace-delimited tokens, not UAX #29 words. More... | |
| class | TextValue |
| Owning literal bytes or a resource key, measured only at resolution. More... | |
| struct | ThemeTokens |
| Typed palette tokens for the built-in theme factories. More... | |
| class | ThreeState |
| Named checkbox presentation using the existing CheckBox runtime. ui::threeState binds the fixed three-state activation cycle. Direct low-level construction remains unbound and follows the explicit base binding contract. More... | |
| struct | ToastActionEvent |
| Original action identity and owning immutable data, safe after subtree removal. More... | |
| struct | ToastData |
| Immutable owning payload, independent of callback and scene lifetimes. More... | |
| struct | ToastId |
| Original center identity and never-reused record sequence. More... | |
| struct | ToastIndicatorOptions |
| Optional static or alternating one-cell diagnostic decoration. More... | |
| struct | ToastOptions |
| Owning notification request settings; copying may allocate. More... | |
| struct | ToastPostReceipt |
| Allocation-free queue admission receipt. More... | |
| struct | ToastSnapshot |
| Owning record observation; no callback or scene references. More... | |
| struct | TokenRun |
| One nonempty semantic interval in original source bytes. More... | |
| class | UiAcknowledgement |
| Copyable execution receipt; polling never waits and retains no UI owner or callback. More... | |
| class | UiAsync |
| Optional UI owner of at most one coroutine frame and one wait, with no separate runtime. Uses one permanent node-scope registration and at most one timer/data registration. Existing Scheduler capacities and dispatch budgets apply. Tree and scheduler must outlive this owner. Destruction is UI-only, does not join workers, and defers a currently executing frame's release until resume returns. No method requests redraw; coroutine application effects invalidate explicitly. More... | |
| class | UiAsyncContext |
| Weak context copied into owning coroutine parameters; never extends the UI owner's life. More... | |
| struct | UiDeliveryOutcome |
| Owning nonblocking observation of one admitted delivery. More... | |
| class | UiEndpoint |
| Copyable worker-safe endpoint for short, always deferred UI commands. The callback and its captures stay exclusively in the UI-owned Scheduler registration. Uses the existing shared CONTROL queue with REJECT; commands are never coalesced. Queue defaults and budgets come from SchedulerOptions (32 entries/32 per dispatch). May outlive its node, scene and scheduler; later publication returns CLOSED. More... | |
| class | UiScope |
| UI-owned scope disconnecting all its subscriptions and timers, in any token order. Owned callback captures survive self-close until the active dispatch returns. Arbitrary reference captures remain the caller's responsibility. Release before Scheduler. More... | |
| class | UiTask |
| Lazy move-only coroutine frame, created and released on its creating UI thread. The task owns its function parameters, never a captured coroutine lambda's closure. Direct low-level use requires a free/static coroutine function with owning parameters; ui::async separately retains its callable until the entire frame is destroyed. Allocation in the calling expression can throw before start(); no work runs until successful adoption. Only this adapter's awaiters are supported. A suspended task must not retain widget/view borrows. More... | |
| struct | UiTaskOutcome |
| UI-readable outcome remains available after context removal. More... | |
| struct | Version |
| Version components of the linked Portals library, owned by the caller. More... | |
| class | VirtualList |
| One UI-owned view with bounded owning row text and one independent model consumer. Construct with a consumer of the frame's model. Delegate owns its captures and returns owning text; it runs only during preparation and must not perform I/O, mutate models/tree, or retain row borrows. Preparation is transactional on allocation/delegate failure. The retained frame and text survive through render inside WidgetTree::frame. No row widgets, worker, hidden pin or terminal I/O exist. Use tree-checked free mutations; read getters through tree.read. Destroy on the UI owner. More... | |
| struct | VirtualListOptions |
| Owning fixed-row presentation settings; invalid heights are rejected at preparation. More... | |
| class | VirtualRowEditParticipant |
| Typed opt-in for custom editor state owned by a delegated row. Custom controls call RowContext::admitEdit before changing an unfinished draft. Opaque widget caches are not cloned or reset by the host. All operations run on the UI thread. More... | |
| class | VirtualRows |
| Bounded real widget subtrees, independent of the text-only VirtualList. More... | |
| struct | VirtualRowsOptions |
| Bounded real-child row host settings; fixed-height defaults with opt-in natural sizing. More... | |
| struct | VirtualRowsPosition |
| Owning committed row-host orientation; native cursor sources never invent ordinals. More... | |
| class | VirtualTable |
| One UI-owned table with bounded owning cell text and one independent model consumer. Construct with a consumer of the frame's model. Each column owns captures and returns owning text; each formatter runs only during preparation and must not perform I/O, mutate models/tree, or retain row borrows. Preparation is transactional on allocation/delegate failure. The retained frame and text survive through render inside WidgetTree::frame. No row widgets, worker, hidden pin or terminal I/O exist. Use tree-checked free mutations; read getters through tree.read. Destroy on the UI owner. More... | |
| struct | VirtualTableOptions |
| Owning table settings; preparation rejects invalid dimensions and exceeded budgets. Inherited VirtualListOptions define fixed body-row height, overscan, width policy and row styles. More... | |
| struct | VisibleModelReadError |
| Owning preparation/provider failure, independent of the table and provider lifetime. More... | |
| class | VisibleModelSnapshot |
| Copyable immutable ready values for one physically visible table interval. More... | |
| class | Widget |
| UI-owned extension object. Hooks borrow their arguments for one call. Models are separate explicit owners chosen by the application. Hooks must not block, perform terminal I/O, or retain contexts. Measure/arrange/paint cannot mutate the tree. More... | |
| class | WidgetTree |
| Exclusive parent/child ownership on Scheduler's UI thread. Scheduler must outlive this object. Destruction on another thread or inside a tree callback terminates; request close instead. All operations check affinity first. Logical removal is immediate and allocation-free, reclamation waits for the outermost borrow. References cannot escape edit/withScope/frame callbacks. Library allocations become NO_MEMORY; callback exceptions become CALLBACK_FAILED without undoing user effects. More... | |
| struct | WidgetTreeOptions |
| Finite storage and recursive traversal limits, including the root node. More... | |
| struct | WidthPolicy |
| Owning deterministic width policy; no font or terminal matching promise. More... | |
| class | WindowConsumer |
| Move-only UI consumer. Fetch continuation/retry tokens with takeRequest(), then dispatch on a worker. More... | |
| class | WindowNotifier |
| Copyable worker endpoint; retains only worker-safe state, never a UI source owner. More... | |
| class | WindowPage |
| Cheap owning page; copying never copies T or allocates. More... | |
| class | WindowPin |
| Owning immutable committed window, containing at most four bounded pages. More... | |
| class | WindowProvider |
| Worker provider; the source captures capabilities once and never calls load on UI. More... | |
| class | WindowRequest |
| Copyable worker token. Dispatch load() through the existing background executor. The library owns no worker/runtime. Copies share cancellation and one reservation; final release returns capacity after the provider, workspace, results and queued owners have stopped using it. More... | |
| struct | WindowRow |
| Immutable typed row; use arena storage for all dynamically owned payload. More... | |
| class | WindowSource |
| Tree-scoped source using only existing scheduler queues; no total/origin/runtime is required. More... | |
| struct | WindowSourceOptions |
| Positive bounded storage/work defaults, independent of logical source length. More... | |
| class | WorkerStorageBuild |
| Nonmovable build scope, valid only inside withBuild's worker callback. More... | |
| struct | WorkerStorageId |
| Generation-fenced slot identity; carries no payload ownership. More... | |
| class | WorkerStorageLease |
| Light retirement capability; locking it can never acquire payload/State ownership. More... | |
| struct | WorkerStorageStats |
| Allocation-capacity observations, distinct from process RSS. More... | |
| class | WorkerStorageValue |
| Opaque worker-owned payload. Destruction must be worker-safe and nonthrowing. More... | |
Concepts | |
| concept | ColumnProjection |
| An owning copyable callable that projects a borrowed immutable row. | |
| concept | ColumnFormatter |
| A copyable formatter returning exactly owning GraphemeText for a projection result. | |
Typedefs | |
| using | RoutedEvent = std::variant<ActionEvent, KeyEvent, TextInputEvent, PasteInputEvent, MouseInputEvent> |
| Synchronous input value; callback borrows it only until return. | |
| using | ApplicationCause |
| Original component error; no formatted text or borrowed exception is retained. | |
| using | CheckBoxResult = std::expected<PropertyUpdate<bool>, TreeError> |
| Exact Property set outcome; errors mean no commit, successful receipts can reject notifications. | |
| using | CheckStateResult = std::expected<PropertyUpdate<CheckState>, TreeError> |
| Exact typed Property set receipt; successful commits can reject notifications. | |
| using | DocumentSearchFailure = DocumentOperationFailure |
| Search-specific spelling of the shared document operation failure. | |
| using | InputTime = std::uint64_t |
| Caller-supplied monotonic milliseconds; no wall clock or I/O is used. | |
| using | InputEvent |
| Independent owning result, usable beyond decoder reset/destruction. | |
| using | InputProtocolEvent = std::variant<InputSizeReport, InputModeReport> |
| Terminal protocol data kept separate from user input and single-use probe windows. | |
| using | KeyTextResolver = std::function<std::expected<std::string, TextResourceError>(std::string_view)> |
| Same exact resolver type as ui::TextResolver; used only during checked normalization. | |
| using | LogError = std::variant<TreeError, TextError> |
| Exact native admission failure, retaining original UTF-8 diagnostics. | |
| using | VisibleModelError = std::variant<ManagedError, VisibleModelReadError> |
| Exact scene access failure or owning table preparation/provider failure. | |
| template<class T> | |
| using | ManagedEventHandler = std::function<std::expected<EventReply, TreeError>(T &, const RoutedEvent &)> |
| Owning, copyable custom input adapter; arguments are borrowed for one invocation. | |
| template<class T> | |
| using | ManagedPrepareHandler = std::function<std::expected<void, TreeError>(T &, Node<Widget>)> |
| Owning, copyable custom presentation adapter at the dirty-frame boundary. | |
| using | ManagedErrorHandler = std::function<void(const ManagedDiagnostic &)> |
| Scene-owned UI observer; the diagnostic is borrowed only until the call returns. | |
| template<class T> | |
| using | ManagedViewHandler |
| Owning callback after each successful virtual-view preparation, including layout retries. Both arguments are borrowed for this invocation. Copy a request to retain provider work; use its original typed completion/retry API. Do not dispatch the scheduler, repin models, or mutate the managed registry here. Low-level presentation changes are allowed. | |
| template<class T> | |
| using | ManagedListFormatter = std::function<GraphemeText(const ModelRow<T> &)> |
| Owning formatter of a borrowed visible list row into owning text. The callback runs during preparation on UI and must not retain the borrowed row. | |
| template<class T> | |
| using | ManagedChartAccessor = std::function<std::optional<Ohlc>(const T &)> |
| Owning projection of a borrowed domain row into an optional candle. The callback runs during preparation on UI; nullopt introduces a chart gap. It must not retain the borrowed row. | |
| using | ManagedChartOrigin = std::function<std::expected<std::uint64_t, TreeError>()> |
| Owning chart-origin callback, evaluated in registration order before chart preparation. | |
| using | MessageResult = std::expected<MessageChoice, ManagedError> |
| Immutable domain outcome, preserving the complete original managed failure. | |
| using | MessageDialog = ui::MessageBox |
| Canonical composite type for ui::Ref<MessageDialog>; exactly the existing ui::MessageBox facade. The name avoids the Win32 MessageBox macro. Existing qualified handles and factory signatures remain valid. | |
| using | PasswordFailure |
| Owning original causes, including independently retained callback/cleanup diagnostics. | |
| using | RadioGroupResult = std::expected<PropertyUpdate<RadioGroupValue>, TreeError> |
| Exact selection commit and observer-publication receipt, or a precommit TreeError. | |
| using | RenderCommand = std::variant<TextCommand, FillCommand> |
| One text or fill command, with TextCommand's synchronous borrow lifetime. | |
| using | SchedulerTime = std::uint64_t |
| Monotonic milliseconds; the clock must not move backwards. | |
| using | SliderResult = std::expected<PropertyUpdate<NumericValue>, TreeError> |
| Exact numeric Property operation receipt; unexpected means no commit. | |
| using | SpinnerLabelResolver = std::function<std::expected<std::string, TextResourceError>(std::string_view)> |
| Owning synchronous label lookup, invoked only while staging a configuration. | |
| using | TerminalDeadline = std::chrono::steady_clock::time_point |
| Absolute monotonic time used by terminal waits. | |
| using | TextValueError = std::variant<TextError, TextResourceError> |
| Original text validation error or a distinct resource lookup error. | |
| using | ThemeSelector = ui::ThemeSelectorRef |
| Canonical composite facade type for ui::Ref<ThemeSelector>; exactly the legacy ui::ThemeSelectorRef. The facade observes a view and its owning Apply metadata; it does not become a Widget or theme-selection model. | |
Enumerations | |
| enum class | Action { ACTIVATE , CANCEL , MOVE_LEFT , MOVE_RIGHT , MOVE_UP , MOVE_DOWN , MOVE_HOME , MOVE_END , ERASE_BACKWARD , ERASE_FORWARD } |
| Frontend-independent commands; text and paste remain distinct data events. More... | |
| enum class | ClickSource { PROGRAMMATIC , KEYBOARD , MOUSE } |
| Origin of an admitted activation, without inferred physical input. More... | |
| enum class | EventReply { IGNORED , HANDLED } |
| Explicit bubbling decision; ignored continues toward the original root. More... | |
| enum class | DispatchStatus { NO_TARGET , UNHANDLED , HANDLED } |
| Distinguish a miss/ineligible target from an eligible unhandled event. More... | |
| enum class | ApplicationPhase { CREATE , OPEN , INPUT , DISPATCH , PREPARE , RENDER , SUBMIT , FLUSH , STOP , CLOSE , CONTROL_LATENCY } |
| Application runner phase, also used to identify a failure boundary. More... | |
| enum class | ApplicationFailure { INVALID_OPTIONS , ALREADY_RUN , NO_MEMORY , CALLBACK_FAILED , OBSERVER_FAILED , NOT_STARTED , REENTRANT_OPERATION , BACKGROUND_FAILED } |
| Failures introduced by the runner itself. More... | |
| enum class | NativeScreenMode { MAIN_SCREEN , ALTERNATE_SCREEN } |
| Screen ownership for the native application transport. More... | |
| enum class | AsyncError { INVALID_ARGUMENT , WRONG_THREAD , CLOSED , CANCELLED , WOULD_BLOCK , NO_MEMORY , CALLBACK_FAILED , IDENTITY_EXHAUSTED } |
| Failures of the optional single-frame UI coroutine adapter. More... | |
| enum class | UiTaskRestart { REJECT_RUNNING , CANCEL_PREVIOUS } |
| Explicit policy for repeated actions on one owner. More... | |
| enum class | UiTaskStatus { IDLE , RUNNING , SUCCEEDED , CANCELLED , FAILED } |
| Retained business outcome, independent of scheduler queue acceptance. More... | |
| enum class | BackgroundAdmission { STARTED , RETAINED } |
| Whether the newest source intent was admitted or retained for a future capacity change. More... | |
| enum class | BackgroundError { INVALID_ARGUMENT , UNAVAILABLE , CLOSED , WOULD_BLOCK , NO_MEMORY , START_FAILED , WRONG_THREAD , LIMIT_EXCEEDED , CALLBACK_FAILED } |
| Executor admission and startup failures; domain errors stay in the result value. More... | |
| enum class | CellKind { BLANK , LEAD , CONTINUATION } |
| A cell's role in a complete display grapheme. More... | |
| enum class | CellBufferError { INVALID_LIMITS , INVALID_POLICY , COLUMN_LIMIT , ROW_LIMIT , CELL_LIMIT , OUT_OF_BOUNDS , INVALID_GRAPHEME , POLICY_MISMATCH , WIDE_AT_EDGE , GLYPH_LIMIT , GLYPH_BYTE_LIMIT , STYLE_LIMIT , ALLOCATION_FAILURE } |
| Observable, owning buffer failure; no partial write or resize is returned. More... | |
| enum class | ChartMode { LINE , CANDLES } |
| Retained chart rendering mode. More... | |
| enum class | ChartGlyphSet { ASCII , BOX_DRAWING } |
| Candle brushes; Unicode falls back to ASCII when the width policy requires wide symbols. More... | |
| enum class | ButtonChrome { BRACKETS , NONE } |
| Button caption decoration; action routing and identity remain unchanged. More... | |
| enum class | CheckState { UNCHECKED , CHECKED , MIXED } |
| Explicit checkbox value; MIXED describes an aggregate or an opt-in user choice. More... | |
| enum class | CheckCycle { TWO_STATE , THREE_STATE } |
| User activation policy for an explicitly typed checkbox binding. More... | |
| enum class | DataPhase { READY , LOADING , EMPTY , FAILED , OFFLINE , REFRESHING } |
| Presentation facts; offline is explicit domain information, never inferred from an error string. More... | |
| enum class | DataContentPolicy { KEEP_BODY , REPLACE } |
| Explicit content policy; automatic range wrappers always keep their request-owning body live. More... | |
| enum class | PssProperty { FOREGROUND , BACKGROUND , BOLD , ITALIC , UNDERLINE , MIN_WIDTH , FRAME_LINE_FOREGROUND , FRAME_LINE_BACKGROUND , FRAME_LINE_BOLD , FRAME_LINE_ITALIC , FRAME_LINE_UNDERLINE , FRAME_TITLE_FOREGROUND , FRAME_TITLE_BACKGROUND , FRAME_TITLE_BOLD , FRAME_TITLE_ITALIC , FRAME_TITLE_UNDERLINE , FRAME_ENDS_FOREGROUND , FRAME_ENDS_BACKGROUND , FRAME_ENDS_BOLD , FRAME_ENDS_ITALIC , FRAME_ENDS_UNDERLINE , SCROLLBAR_TRACK_FOREGROUND , SCROLLBAR_TRACK_BACKGROUND , SCROLLBAR_TRACK_BOLD , SCROLLBAR_TRACK_ITALIC , SCROLLBAR_TRACK_UNDERLINE , SCROLLBAR_THUMB_FOREGROUND , SCROLLBAR_THUMB_BACKGROUND , SCROLLBAR_THUMB_BOLD , SCROLLBAR_THUMB_ITALIC , SCROLLBAR_THUMB_UNDERLINE , SCROLLBAR_ENDS_FOREGROUND , SCROLLBAR_ENDS_BACKGROUND , SCROLLBAR_ENDS_BOLD , SCROLLBAR_ENDS_ITALIC , SCROLLBAR_ENDS_UNDERLINE , SCROLLBAR_ARROWS_FOREGROUND , SCROLLBAR_ARROWS_BACKGROUND , SCROLLBAR_ARROWS_BOLD , SCROLLBAR_ARROWS_ITALIC , SCROLLBAR_ARROWS_UNDERLINE , SCROLLBAR_CORNER_FOREGROUND , SCROLLBAR_CORNER_BACKGROUND , SCROLLBAR_CORNER_BOLD , SCROLLBAR_CORNER_ITALIC , SCROLLBAR_CORNER_UNDERLINE , SCROLLBAR_TRACK_PATTERN , SCROLLBAR_THUMB_PATTERN , SCROLLBAR_ARROW_PATTERN , SCROLLBAR_THUMB_START_FOREGROUND , SCROLLBAR_THUMB_START_BACKGROUND , SCROLLBAR_THUMB_START_BOLD , SCROLLBAR_THUMB_START_ITALIC , SCROLLBAR_THUMB_START_UNDERLINE , SCROLLBAR_THUMB_BODY_FOREGROUND , SCROLLBAR_THUMB_BODY_BACKGROUND , SCROLLBAR_THUMB_BODY_BOLD , SCROLLBAR_THUMB_BODY_ITALIC , SCROLLBAR_THUMB_BODY_UNDERLINE , SCROLLBAR_THUMB_END_FOREGROUND , SCROLLBAR_THUMB_END_BACKGROUND , SCROLLBAR_THUMB_END_BOLD , SCROLLBAR_THUMB_END_ITALIC , SCROLLBAR_THUMB_END_UNDERLINE , SCROLLBAR_THUMB_SINGLE_FOREGROUND , SCROLLBAR_THUMB_SINGLE_BACKGROUND , SCROLLBAR_THUMB_SINGLE_BOLD , SCROLLBAR_THUMB_SINGLE_ITALIC , SCROLLBAR_THUMB_SINGLE_UNDERLINE , SLIDER_TRACK_FOREGROUND , SLIDER_TRACK_BACKGROUND , SLIDER_TRACK_BOLD , SLIDER_TRACK_ITALIC , SLIDER_TRACK_UNDERLINE , SLIDER_FILL_FOREGROUND , SLIDER_FILL_BACKGROUND , SLIDER_FILL_BOLD , SLIDER_FILL_ITALIC , SLIDER_FILL_UNDERLINE , SLIDER_THUMB_FOREGROUND , SLIDER_THUMB_BACKGROUND , SLIDER_THUMB_BOLD , SLIDER_THUMB_ITALIC , SLIDER_THUMB_UNDERLINE , GLYPH_PROFILE , GLYPH_FALLBACK , SCROLLBAR_HORIZONTAL_TRACK_GLYPH , SCROLLBAR_HORIZONTAL_THUMB_GLYPH , SCROLLBAR_HORIZONTAL_START_GLYPH , SCROLLBAR_HORIZONTAL_END_GLYPH , SCROLLBAR_HORIZONTAL_BACKWARD_GLYPH , SCROLLBAR_HORIZONTAL_FORWARD_GLYPH , SCROLLBAR_HORIZONTAL_THUMB_START_GLYPH , SCROLLBAR_HORIZONTAL_THUMB_BODY_GLYPH , SCROLLBAR_HORIZONTAL_THUMB_END_GLYPH , SCROLLBAR_HORIZONTAL_THUMB_SINGLE_GLYPH , SCROLLBAR_VERTICAL_TRACK_GLYPH , SCROLLBAR_VERTICAL_THUMB_GLYPH , SCROLLBAR_VERTICAL_START_GLYPH , SCROLLBAR_VERTICAL_END_GLYPH , SCROLLBAR_VERTICAL_BACKWARD_GLYPH , SCROLLBAR_VERTICAL_FORWARD_GLYPH , SCROLLBAR_VERTICAL_THUMB_START_GLYPH , SCROLLBAR_VERTICAL_THUMB_BODY_GLYPH , SCROLLBAR_VERTICAL_THUMB_END_GLYPH , SCROLLBAR_VERTICAL_THUMB_SINGLE_GLYPH , SCROLLBAR_CORNER_GLYPH , WIDTH , HEIGHT , MAX_WIDTH , MIN_HEIGHT , MAX_HEIGHT , ROLE_FOREGROUND , ROLE_BACKGROUND , ROLE_BOLD , ROLE_ITALIC , ROLE_UNDERLINE } |
| PSS v0 declaration identities in metadata and compact descriptions. More... | |
| enum class | PssOriginKind { PSS_BYTES , SYNTHETIC_TYPED } |
| Coordinates describe either original PSS bytes or explicit typed ordinals. More... | |
| enum class | PssErrorCode { NONE , INPUT_LIMIT , RULE_LIMIT , CLASS_LIMIT , DECLARATION_LIMIT , TEXT_LIMIT , DOCUMENT_LIMIT , SOURCE_NAME_LIMIT , INVALID_UTF8 , NUL_BYTE , EXPECTED_SELECTOR , EXPECTED_IDENTIFIER , EXPECTED_PUNCTUATION , UNTERMINATED_COMMENT , DUPLICATE_ID , DUPLICATE_STATE , UNKNOWN_STATE , UNKNOWN_PROPERTY , INVALID_VALUE , INVALID_WIDTH , ALLOCATION } |
| Structured PSS errors independent of compiler wording. More... | |
| enum class | DiagnosticEvent { INPUT , QUEUE_ACCEPTED , QUEUE_REJECTED , QUEUE_DISPATCH , QUEUE_REPLACED , QUEUE_CANCELLED , TARGET , FOCUS , ACTION , HANDLER_STARTED , HANDLER_RETURNED , PROPERTY , INVALIDATION , FRAME_REQUESTED , FRAME_NOT_REQUESTED , FRAME_SUBMITTED , OUTPUT , COMPLETED , QUEUE_RETURNED } |
| Metadata stages; no stage contains application text or terminal bytes. More... | |
| enum class | DiagnosticReason { NONE , QUEUE_FULL , REPLACED , CANCELLED , NO_TARGET , TARGET_DISABLED , STALE_TARGET , UNBOUND_ACTION , UNHANDLED , HANDLER_FAILED , VALUE_UNCHANGED , VALUE_CHANGED , OUTCOME_UNKNOWN , FRAME_NOT_REQUESTED , DIFF_EMPTY , OUTPUT_FAILED , OUTPUT_ACCEPTED , OUTPUT_PENDING } |
| Enumerated evidence, never an exception message or inferred model value. More... | |
| enum class | DiagnosticInput { NONE , KEY , TEXT , PASTE , MOUSE , OTHER } |
| Input category only; scalar, clipboard, modifiers and coordinates are omitted. More... | |
| enum class | DiagnosticState { DISABLED , ENABLED , IDENTITY_EXHAUSTED } |
| Recording state, including a terminal identity exhaustion condition. More... | |
| enum class | DiagnosticError { INVALID_ARGUMENT , NO_MEMORY , UNSUPPORTED_VERSION } |
| Configuration/export failure. More... | |
| enum class | DialogMode { MODAL , NON_MODAL } |
| Input policy applied by the managed dialog owner. More... | |
| enum class | DialogPlacement { CENTER , BELOW_START , ABOVE_START } |
| Preferred panel position within the owning host. More... | |
| enum class | DialogDismissReason { PROGRAMMATIC , CANCEL } |
| Generic dismissal cause, independent of application results. More... | |
| enum class | DialogClosePlacement { START , END } |
| Which top-frame segment owns the close affordance. More... | |
| enum class | ColorMode { TRUE_COLOR , ANSI16 } |
| Color encoding selected explicitly by the terminal owner. More... | |
| enum class | DiffError { OUTPUT_LIMIT , ALLOCATION_FAILURE } |
| Bounded encoding failure; input buffers are unchanged. More... | |
| enum class | FrameError { PENDING , POISONED , FRAME_LIMIT , OUTPUT_LIMIT , ALLOCATION_FAILURE } |
| Submission failure; the supplied frame remains owned by the caller. More... | |
| enum class | DocumentEncoding { UNRESOLVED , UTF8 , UTF16LE , UTF16BE , UTF32LE , UTF32BE , WINDOWS1251 , WINDOWS1252 } |
| Resolved byte encoding, or an unresolved selection. More... | |
| enum class | DocumentDecodePolicy { REPLACE , STRICT_MODE , ESCAPE } |
| Handling of malformed input; ESCAPE is reserved and unsupported. More... | |
| enum class | DocumentDecodeStatus { NEED_INPUT , OUTPUT_FULL , WORK_LIMIT , DONE , MALFORMED , ENCODING_UNRESOLVED , INVALID_OFFSET , UNSUPPORTED_POLICY } |
| Completion, backpressure, or typed failure of a feed call. More... | |
| enum class | DocumentDecoderLocalStatus { READY , AT_END , NEED_PREFIX , NEED_SUFFIX , MALFORMED , INVALID_RANGE , INVALID_ORIGIN } |
| Result of proving a decoded-scalar boundary from a fixed local original-byte window. More... | |
| enum class | HexByteClass { ZERO , SPACE , PRINTABLE , CONTROL , HIGH_BYTE } |
| enum class | HexError { INVALID_OPTIONS , OFFSET_OVERFLOW , TEXT_TOO_SMALL , CELLS_TOO_SMALL } |
| enum class | DocumentLanguage { PLAIN , POSTGRESQL_LEXICAL , MYSQL_LEXICAL , MARKDOWN_SOURCE } |
| Explicit lexical profiles; unknown names resolve to PLAIN. More... | |
| enum class | DocumentSyntaxState { DISABLED , PENDING , READY , UNSUPPORTED_PROFILE , RESOURCE_LIMIT , UNAVAILABLE , REPLAY_UNAVAILABLE , PREVIEW } |
| Syntax projection state; text remains readable while context is prepared. More... | |
| enum class | DocumentSyntaxPolicy { AUTO , PREVIEW , EXACT } |
| Recovery policy; the language still selects the lexical rules. More... | |
| enum class | DocumentSyntaxAccuracy { NONE , PREVIEW , EXACT } |
| Accuracy of the syntax roles actually displayed, independently of recovery errors. More... | |
| enum class | SemanticRole { NORMAL , KEYWORD , NUMBER , STRING , COMMENT , IDENTIFIER , OPERATOR , HEADING , MARKUP } |
| Theme-independent source roles implemented by these profiles. More... | |
| enum class | DocumentHighlightStatus { NEED_INPUT , OUTPUT_FULL , WORK_LIMIT , DONE , INVALID_CONFIGURATION , INVALID_INPUT , UNSUPPORTED_PROFILE , RESOURCE_LIMIT } |
| Streaming progress, caller backpressure or an explicit lexical limitation. More... | |
| enum class | DocumentMySqlMode { NORMAL , NO_BACKSLASH_ESCAPES } |
| MySQL lexical string modes supported initially and by source SET SQL_MODE. More... | |
| enum class | DocumentSearchDirection { NEXT , PREVIOUS } |
| Literal navigation order; wrapping belongs to the caller. More... | |
| enum class | DocumentSearchState { PENDING , FOUND , END } |
| One bounded advance; PENDING is ordinary continuation, not source backpressure. More... | |
| enum class | DocumentLinePolicy { RAW_BYTES , UTF8 , UTF16_LE , UTF16_BE } |
| Policy qualifying every index checkpoint; UTF16 requires a decoder adapter. More... | |
| enum class | DocumentLocationState { EXACT , PENDING , UNKNOWN } |
| Precision of a requested line start. More... | |
| enum class | DocumentViewMode { TEXT , HEX } |
| Projection of the same original source bytes. More... | |
| enum class | FindDirection { NEXT , PREVIOUS } |
| Direction through the stored bounded prefix; both directions wrap. More... | |
| enum class | FindSearchError { INVALID_ARGUMENT , LIMIT_EXCEEDED , INVALID_TEXT , NOT_READY , CANCELLED , NO_MEMORY , CALLBACK_FAILED } |
| Model search failures, distinct from editor admission and scheduler/tree failures. More... | |
| enum class | FieldStatus { UNCHECKED , VALID , INVALID , PENDING , TECHNICAL_ERROR } |
| Presentation of the most recent explicit or editor-publication validation. More... | |
| enum class | FramePattern { SINGLE , PLAIN = SINGLE , ROUNDED , DOUBLE , HEAVY , ASCII } |
| Built-in frame line patterns, independent of terminal width policy. More... | |
| enum class | FrameTitleAlignment { START , CENTER , END } |
| Alignment of the maximal whole-grapheme title prefix fitting the top edge. More... | |
| enum class | TitleDecoration { NONE , SPACED , SQUARE , ANGLE , ROUND , PROFILE } |
| Optional top-title break decoration; NONE preserves literal legacy titles. More... | |
| enum class | GeometryError { COORDINATE_OVERFLOW } |
| Failure of a checked cell-coordinate operation. More... | |
| enum class | GlyphProfile : std::uint8_t { DEFAULT , UNICODE_GLYPHS , ASCII , NF_ROUNDED , NF_CHEVRON , NF_SLASH , NF_BACKSLASH } |
| Explicit glyph map, independent of colors and geometry. NF maps use Nerd Fonts 3 Powerline codepoints. Selecting one asserts host/font support; the library neither detects missing font glyphs nor installs fonts. More... | |
| enum class | GlyphFallback : std::uint8_t { UNICODE_GLYPHS , ASCII } |
| Portable replacement when the selected map fails one-cell admission. More... | |
| enum class | GridRegion { BODY , HEADER } |
| Independent local row coordinate space sharing the grid's columns. More... | |
| enum class | GridFlow { ROW_MAJOR , COLUMN_MAJOR } |
| Direction in which declarative placement searches for the next free origin. More... | |
| enum class | GridPlacementMode { EXPLICIT , DECLARATIVE } |
| Construction-time placement mode; explicit grids retain their overlap semantics. More... | |
| enum class | GzipError { INVALID_HEADER = 1 , CORRUPT_DATA , CHECKSUM_MISMATCH , SIZE_MISMATCH , TRUNCATED , TRAILING_DATA , HEADER_LIMIT , INFLATE_LIMIT } |
| Gzip cause carried in DocumentError::native; implicitly convertible to std::error_code. More... | |
| enum class | InputKey { CHARACTER , ESCAPE , ENTER , TAB , BACKSPACE , UP , DOWN , RIGHT , LEFT , HOME , END , INSERT , DELETE_KEY , PAGE_UP , PAGE_DOWN , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 , F10 , F11 , F12 } |
| Semantic key identities; character uses KeyEvent::scalar. More... | |
| enum class | KeyAction { PRESS , REPEAT , RELEASE } |
| Native adapters may report repeat/release; VT emits press only. More... | |
| enum class | MouseButton { LEFT , MIDDLE , RIGHT , NO_BUTTON , WHEEL_UP , WHEEL_DOWN , WHEEL_LEFT , WHEEL_RIGHT } |
| SGR button identity; NO_BUTTON is used for unbuttoned motion. More... | |
| enum class | MouseAction { PRESS , RELEASE , MOVE , SCROLL } |
| Motion and wheel are separate from button transitions. More... | |
| enum class | InputCoordinateMode { CELL , PIXEL } |
| SGR coordinate interpretation selected only at a proven stream boundary. More... | |
| enum class | InputProbeKind { PRIMARY_DEVICE_ATTRIBUTES , CURSOR_POSITION } |
| Supported syntactic reply kinds, not proof of terminal identity. More... | |
| enum class | InputIssueKind { INVALID_UTF8 , TRUNCATED , UNKNOWN_SEQUENCE , INVALID_SEQUENCE , SEQUENCE_LIMIT , PARAMETER_LIMIT , NUMERIC_OVERFLOW , PASTE_LIMIT , TIMEOUT } |
| Recoverable decode issues; timeout may also leave the decoder failed. More... | |
| enum class | InputError { INVALID_OPTIONS , BACKWARD_TIME , CLOSED , FAILED , OFFSET_OVERFLOW , INVALID_WINDOW } |
| Construction and call errors, separate from events caused by input bytes. More... | |
| enum class | InputStatus { EVENT , NEED_INPUT , WORK_LIMIT , FINISHED , FAILED , PROTOCOL } |
| Why a pull stopped; deliver its event or report before calling again. More... | |
| enum class | KeySupport { UNKNOWN , SUPPORTED , UNSUPPORTED } |
| Explicit terminal phase knowledge; UNKNOWN does not suppress routing. More... | |
| enum class | KeyEligibility { ELIGIBLE , DISABLED , HIDDEN , UNBOUND , OWNER_INELIGIBLE , OWNER_RETIRED , SCOPE_INACTIVE , TERMINAL_UNSUPPORTED } |
| Eligibility observed for one immutable snapshot, not a universal conflict winner. More... | |
| enum class | KeyConflictKind { EXACT , TERMINAL_PREFIX , SHARED_PREFIX } |
| Conditional alternative overlap. More... | |
| enum class | SizeMode { AUTOMATIC , FIXED , FLEX , CONTENT } |
| Independent axis allocation policy, in integer terminal cells. More... | |
| enum class | LayoutAlign { START , CENTER , END , STRETCH } |
| Alignment; center assigns floor(free/2) before the child/group. More... | |
| enum class | LayoutOverflow { CLIP } |
| Minimum/fixed sizes survive shortage and are clipped by ancestor geometry. More... | |
| enum class | LayoutSnapshotProfile { DIMENSIONS , GEOMETRY } |
| Explicit capture cost profile; dimension-only scenes keep their original path. More... | |
| enum class | EditMode { IMMEDIATE , ON_COMPLETION , EXPLICIT } |
| When an accepted editing candidate is validated and published to its model. More... | |
| enum class | LineEditDisplayMode { NORMAL , PASSWORD , NO_ECHO } |
| Immutable presentation and outbound clipboard policy; plaintext model/history remain application-owned. More... | |
| enum class | ProgrammaticChange { RECORD , RESET_BASELINE } |
| History policy of an explicit programmatic text change. More... | |
| enum class | LineEditStatus { EDITED , COMMITTED , CANCELLED , COPIED , CONFLICT , INVALID_TEXT , LIMIT_EXCEEDED , VALIDATION_FAILED , CLIPBOARD_FAILED , FAILED , PENDING } |
| Observable editing or service outcome; rejection preserves the draft. More... | |
| enum class | LineEditTrigger { INPUT , FLUENT , BLUR , ASYNC_VALIDATION } |
| Entry path that produced an editing or confirmation outcome. More... | |
| enum class | EditingFinishedReason { ENTER , FOCUS_LOST } |
| Boundary at which the user finishes an editing operation. More... | |
| enum class | EditingFinishedOutcome { APPLIED , UNCHANGED , DEFERRED , VALIDATION_REJECTED , CONFLICT , FAILED , PENDING } |
| Outcome of the existing publication policy at an editing boundary. More... | |
| enum class | FileLogError { INVALID_ARGUMENT , OPEN_FAILED , READ_FAILED , METADATA_FAILED , RECORD_TOO_LONG , INVALID_UTF8 , FILE_CHANGED , CANCELLED , NO_MEMORY } |
| File-specific failures; diagnostics retain native codes without allocating messages. More... | |
| enum class | FileLogOperation { CREATE , OPEN , METADATA , READ , SEARCH } |
| Operation that produced a fixed native diagnostic. More... | |
| enum class | LogRestoreReason { NONE , UNSUPPORTED , RESOURCE_MISMATCH , HISTORY_UNAVAILABLE , ANCHOR_MISMATCH , DELETED_SEGMENT , CHECKPOINT_CAPACITY } |
| Recoverable restore diagnostics; no outcome implicitly enables following. More... | |
| enum class | ManagedPhase { MOUNT , STATE , BIND , STYLE , PREPARE , INPUT , RUN , CLEANUP , TEXT , LAYOUT } |
| Boundary at which a managed operation failed. More... | |
| enum class | ModelRestorePolicy { REMEMBER , RESET } |
| Remember a resource position by default; RESET explicitly selects its initial policy. More... | |
| enum class | NavigationProjection { SAME_MODEL , PRESERVES_ROW_IDS } |
| Explicit projection-domain agreement; absence from a projection never proves deletion. More... | |
| enum class | MessageChoice { ACKNOWLEDGE , CONFIRM , SAVE , DISCARD , CANCEL , YES , NO } |
| A requested application action; SAVE does not confirm that data was written. More... | |
| enum class | RangeState { PENDING , READY , FAILED } |
| Observable asynchronous range readiness. More... | |
| enum class | RowLookupState { UNSUPPORTED , NOT_FOUND , FOUND } |
| Identity lookup capability and outcome for a pinned provider snapshot. More... | |
| enum class | EditStatus { CLEAN , DIRTY , PENDING , ACCEPTED , INVALID , CONFLICT , TARGET_MISSING , READ_ONLY , CLOSED , REJECTED } |
| Submission and acceptance are separate protocol states. More... | |
| enum class | PositionKind { ITEM , GAP , TEXT } |
| Position interpretation; a row, a gap, and a text mark are not interchangeable. More... | |
| enum class | PositionAffinity { FORWARD , BACKWARD } |
| Preferred surviving side when a position is deleted or text is inserted beside a mark. More... | |
| enum class | PositionResolution { EXACT , NEAREST , EMPTY , PENDING , UNSUPPORTED , INCOMPATIBLE , UNAVAILABLE } |
| Successful protocol outcomes; absence of support differs from missing history. More... | |
| enum class | PositionChangeKind { SPLICE , MOVE } |
| Operation in a provider-declared finite ordering change map. More... | |
| enum class | QueryError { INVALID_ARGUMENT , LIMIT_EXCEEDED , NOT_READY , STALE_SOURCE , CANCELLED , NO_MEMORY , CALLBACK_FAILED } |
| Domain query evaluation failures, separate from scheduler acceptance. More... | |
| enum class | NavigationCheckpointRole { CURRENT , READING_ANCHOR , SELECTION , EDIT_ANCHOR } |
| Purpose of a saved location; EDIT_ANCHOR never conveys write authority. More... | |
| enum class | NavigationCheckpointError { INVALID_ARGUMENT , CORRUPT_INPUT , TOO_LARGE , UNSUPPORTED_VERSION , UNSUPPORTED_CODEC_VERSION , UNSUPPORTED_CODEC , WRONG_RESOURCE , UNSUPPORTED , CANCELLED , CLOSED , STORAGE_FAILURE , NO_MEMORY , PROVIDER_FAILURE } |
| Persistence failures are separate from navigation resolution outcomes. More... | |
| enum class | NumericError { NOT_FINITE , INVALID_RANGE , INVALID_STEP , UNREPRESENTABLE_STEP , OUT_OF_RANGE , INITIAL_CONFLICT , INVALID_TEXT } |
| Allocation-free numeric validation cause, preserved by managed diagnostics. More... | |
| enum class | PasswordDisplayMode { PASSWORD , NO_ECHO } |
| Constant-glyph presentation of protected editor values. More... | |
| enum class | PasswordPastePolicy { DISABLED , ENABLED } |
| Explicit admission of plaintext supplied by the system clipboard/input decoder. More... | |
| enum class | PasswordInputError { LINE_SEPARATOR } |
| Protected editor input rules beyond UTF-8 validity. More... | |
| enum class | PasswordStatus { EDITED , COMMITTED , CANCELLED , CONFLICT , INVALID_TEXT , LIMIT_EXCEEDED , VALIDATION_FAILED , CLIPBOARD_FAILED , FAILED } |
| Outcome of a protected edit or publication boundary. More... | |
| enum class | PrimitiveGlyphs { UNICODE , UNICODE_GLYPHS = UNICODE , ASCII } |
| One-cell decoration selection under the complete receiving WidthPolicy. More... | |
| enum class | PssFileOperation { OPEN , READ , INPUT_LIMIT } |
| File boundary that failed before a PSS document could be installed. More... | |
| enum class | RadioSelectionMode { ON_ACTIVATION , IMMEDIATE } |
| User selection publication policy; active navigation remains local to the group. More... | |
| enum class | RenderErrorKind { COMMAND_LIMIT , TEXT_BYTE_LIMIT , WORK_LIMIT , POLICY_MISMATCH , BUFFER_ERROR , ALLOCATION_FAILURE , INVALID_TEXT_RANGE } |
| Observable full-frame failure; no partial buffer is returned. More... | |
| enum class | SceneResourceErrorCode { SYNTAX , INVALID_UTF8 , INVALID_LIMIT , SOURCE_LIMIT , NODE_LIMIT , DEPTH_LIMIT , STRING_LIMIT , PROPERTY_LIMIT , UNKNOWN_TYPE , DUPLICATE_TYPE , UNKNOWN_PROPERTY , DUPLICATE_ID , DUPLICATE_PROPERTY , INVALID_VALUE , CHILDREN_FORBIDDEN , FILE_IO , NO_MEMORY , TEXT , FACTORY , CYCLIC_TYPE , TYPE_LIMIT , MATERIALIZATION_LIMIT , SECRET_LITERAL } |
| Checked resource failure; no arbitrary expression is evaluated. More... | |
| enum class | SchedulerError { INVALID_ARGUMENT , WRONG_THREAD , WRONG_SCHEDULER , CLOSED , WOULD_BLOCK , NO_MEMORY , REENTRANT_DISPATCH , IDENTITY_EXHAUSTED , CALLBACK_FAILED } |
| Observable operation failures; no callback is started on rejection. More... | |
| enum class | SchedulerLane { DATA , CONTROL } |
| Independent finite queues; control is serviced before data each cycle. More... | |
| enum class | SchedulerOverflow { REJECT , REPLACE_LATEST } |
| Replace only this sender's pending display snapshot; never raw domain events. More... | |
| enum class | PublishResult { QUEUED , REPLACED } |
| Whether a publication appended a value or replaced its sender's pending value. More... | |
| enum class | SchedulerWake { READY , STOPPED , TIMEOUT } |
| A finite wait ended by work, explicit wake, stop or timeout. More... | |
| enum class | ScrollAxis { HORIZONTAL , VERTICAL } |
| Logical scrolling axis; X increases right and Y increases down. More... | |
| enum class | ScrollBarPolicy { NEVER , AUTO , ALWAYS } |
| Presence policy, independent of whether the content can scroll. More... | |
| enum class | ScrollPlacement { RESERVED , OVERLAY , ON_FRAME } |
| Explicit relationship between bars, content and an optional frame. More... | |
| enum class | ScrollbarPattern { LEGACY , FRAME , MINIMAL , ASCII , FRACTIONAL_BLOCK } |
| Opt-in scrollbar glyph presets; legacy calls retain their original appearance. More... | |
| enum class | ScrollbarThumbPattern { LEGACY , BLOCK , ASCII , FRACTIONAL_BLOCK } |
| Independent thumb source; all choices are opt-in. More... | |
| enum class | ScrollbarArrowPattern { LEGACY , TRIANGLE , ASCII } |
| Independent functional-arrow source; selecting it never enables buttons. More... | |
| enum class | SearchError { INVALID_ARGUMENT , INVALID_TEXT , NOT_READY , LIMIT_EXCEEDED , STALE_SOURCE , CANCELLED , NO_MEMORY , CALLBACK_FAILED , UNAVAILABLE } |
| Search/provider errors, separate from scheduler and UI delivery errors. More... | |
| enum class | SearchStrategy { PREFIX , FUZZY_PREFIX } |
| Indexed term-prefix strategy; fuzzy edit distance is over normalized graphemes. More... | |
| enum class | SecureStringStorage { NATIVE_GUARDED , WIPE_ONLY } |
| Explicit storage policy; unsupported native protection never falls back. More... | |
| enum class | SecureStringOperation { CREATE , ASSIGN , APPEND , CLEAR , CLOSE , BORROW , ALLOCATE , LOCK , DUMP , ENCRYPT , DECRYPT , RELEASE , ENTROPY } |
| Operation recorded without secret bytes or exception messages. More... | |
| enum class | SecureStringErrorCode { INVALID_ARGUMENT , TOO_LARGE , NO_MEMORY , UNSUPPORTED , SECURITY_FAILURE , BUSY , UNAVAILABLE , CALLBACK_FAILED , RELEASE_FAILED } |
| Technical failure categories independent of UI/tree errors. More... | |
| enum class | ShortcutErrorKind { INVALID_OPTIONS , SOURCE_LIMIT , ALTERNATIVE_LIMIT , STROKE_LIMIT , EMPTY_ALTERNATIVE , EMPTY_TOKEN , UNKNOWN_KEY , DUPLICATE_MODIFIER , EXPECTED_KEY , UNSUPPORTED_SEQUENCE , INVALID_CHORD , NO_MEMORY , INVALID_ACTION_SET , AMBIGUOUS_PREFIX , RESERVED_CANCEL } |
| Bounded shortcut syntax and value-validation failures, never borrowing source text. More... | |
| enum class | SliderSkin { ASCII , LINE , ROUNDED , BLOCKS } |
| Built-in one-cell slider glyph sets. More... | |
| enum class | SliderOperationStatus { COMPLETED , CANCELLED , CONFLICT } |
| One completed or interrupted numeric user operation. More... | |
| enum class | SliderOperationKind { DRAG , STEP } |
| Origin of a local numeric operation, without a global command/history identity. More... | |
| enum class | SourceError { INVALID_ARGUMENT , WRONG_THREAD , CLOSED , WOULD_BLOCK , NO_MEMORY , IDENTITY_EXHAUSTED , CALLBACK_FAILED , CONTEXT_ERROR , UNSUPPORTED , STALE_SOURCE , INVALID_CURSOR , REVISION_CHANGED , POSITION_EXHAUSTED , ROW_NOT_FOUND , ROW_TOO_LARGE , PAGE_TOO_LARGE , INVALID_REPLY , NO_PROGRESS , CURSOR_CYCLE , CONTINUATION_LIMIT , CANCELLED , ALREADY_COMPLETED , IO_ERROR } |
| Source protocol and admission failures, independent of a provider's storage format. More... | |
| enum class | SpinBoxSkin { STANDARD , COMPACT , ARROWS } |
| Immutable presentation of the two numeric step buttons. More... | |
| enum class | SpinnerPreset { DOTS , LINE , BRAILLE , BAR_BOUNCE , ARC , CIRCLE , SQUARE , TRIANGLE , ARROW , BLOCKS , ELLIPSIS , PULSE } |
| Original single-row indeterminate animation sequences. More... | |
| enum class | SpinnerDirection { FORWARD , REVERSE } |
| Traversal of the finite owning frame sequence. More... | |
| enum class | StyleState { ANY , NORMAL , FOCUSED , DISABLED , SELECTED , HEADER , CARET } |
| Presentation states; ANY matches every state without changing behavior. More... | |
| enum class | StyleTier { DEFAULTS , THEME , APPLICATION , USER } |
| Independent cascade priority, before selector specificity. More... | |
| enum class | StyleSizeMode { AUTOMATIC , FIXED , FLEX , CONTENT } |
| State-independent style request for one allocation axis. More... | |
| enum class | NativePointerPolicy { AUTO , OFF } |
| Optional native pointer enhancement; ordinary cell input remains the fallback. More... | |
| enum class | NativeInputOrder { UNCONFIRMED , FIFO } |
| Host declaration; a successful DECRPM alone cannot establish this guarantee. More... | |
| enum class | TerminalErrorKind { INVALID_OPTIONS , UNSUPPORTED , SYSTEM , CLOSED , OUTPUT_PENDING , OUTPUT_LIMIT , INPUT_DECODE , OUTPUT_UNCERTAIN , INPUT_LIMIT , INPUT_PROTOCOL } |
| Terminal failure classification; native_code provides platform detail. More... | |
| enum class | TerminalProtocolIssue { NONE , INITIAL_PIXEL_CONTEXT_UNKNOWN } |
| Concrete protocol context failures, independent of native errno values. More... | |
| enum class | TerminalStatus { PROGRESS , DEADLINE , STOPPED , END_OF_INPUT , FAILED } |
| Why an input or output operation returned. More... | |
| enum class | AmbiguousWidth { NARROW , WIDE } |
| Terminal policy for printable East Asian Ambiguous scalars. More... | |
| enum class | EmojiWidth { ONE = 1 , TWO = 2 } |
| Terminal policy for recognized emoji clusters, including single emoji. More... | |
| enum class | TextErrorKind { INVALID_UTF8 , INPUT_LIMIT , CLUSTER_LIMIT , GRAPHEME_LIMIT , CELL_LIMIT , INVALID_POLICY , NOT_BOUNDARY } |
| Observable text construction/cursor failure. More... | |
| enum class | TextDisplay { PRINTABLE , UNSUPPORTED } |
| How a cell renderer must display a complete logical cluster. More... | |
| enum class | TextDocumentError { NO_MEMORY , INVALID_TEXT , NOT_BOUNDARY , INVALID_ARGUMENT , WOULD_BLOCK , EMPTY , STALE , EXHAUSTED , CONFLICT } |
| Finite document error; rejected operations preserve published state. More... | |
| enum class | TextHistoryKind { TYPING , BACKSPACE , FORWARD_DELETE , PASTE , CUT , REPLACEMENT , PROGRAMMATIC } |
| Semantic editing categories; only the first three can form groups. More... | |
| enum class | TextHistoryError { NO_MEMORY , WOULD_BLOCK , INVALID_TEXT , NOT_BOUNDARY , EMPTY , STALE , EXHAUSTED } |
| Technical history failure; no state is changed on failure. More... | |
| enum class | TextResourceError { MISSING_RESOURCE , RESOLVER_REQUIRED , RESOLVER_FAILED } |
| Observable resource lookup failure, distinct from UTF-8 validation. More... | |
| enum class | ToastSeverity { INFO , SUCCESS , WARNING , FAILURE } |
| Notification meaning, independent of persistence or application error policy. More... | |
| enum class | ToastPostStatus { ACCEPTED_VISIBLE , ACCEPTED_QUEUED , DEDUPLICATED , DROPPED } |
| Logical admission result; visibility does not acknowledge terminal output. More... | |
| enum class | ToastPlacement { BOTTOM_END , TOP_END , BOTTOM_START , TOP_START } |
| Corner of the owning content viewport. More... | |
| enum class | ToastOverflowPolicy { DROP_OLDEST_PENDING , REJECT_NEW } |
| Policy when the total retained-record budget is full. More... | |
| enum class | UiDeliveryState { PENDING , APPLIED , CANCELLED , FAILED } |
| Execution outcome, independent of successful enqueue admission. More... | |
| enum class | VisibleModelReadState { NOT_PREPARED , PENDING , FAILED } |
| A view has not published ready physical rows; no case denotes successful emptiness. More... | |
| enum class | RevealAxes { BOTH , HORIZONTAL_ONLY } |
| Axes an ancestor layout may move when revealing this child. More... | |
| enum class | RegionalInput { UNCHANGED , OPEN , CLOSED } |
| Proposed input admission for a layout region, independent of visibility. More... | |
| enum class | TreeError { INVALID_ARGUMENT , WRONG_THREAD , WRONG_SESSION , STALE_NODE , CLOSED , WOULD_BLOCK , NO_MEMORY , IDENTITY_EXHAUSTED , NODE_LIMIT , DEPTH_LIMIT , CALLBACK_FAILED , INVALID_GEOMETRY } |
| Checked tree failures; rejected operations never start the requested callback. More... | |
| enum class | Invalidation { NONE , PAINT , LAYOUT } |
| Accumulated work; layout always includes painting. More... | |
| enum class | SourceDirection { FORWARD , BACKWARD } |
| Requested traversal; returned rows remain in display order. More... | |
| enum class | SourceAnchorKind { ENTRY , CURSOR , TAIL , ROW } |
| Entry operation; ENTRY does not promise a global origin. More... | |
| enum class | SourceEdge { MORE , TEMPORARY_TAIL , FINAL_END } |
| State beyond a ready page in the requested direction. More... | |
| enum class | SourceReadState { READY , PENDING , HISTORY_UNAVAILABLE , FAILED } |
| Distinct provider states; a short ready page never implies end. More... | |
| enum class | WindowStatus { EMPTY , LOADING , READY , PENDING , TEMPORARY_TAIL , FINAL_END , HISTORY_UNAVAILABLE , FAILED } |
| Current consumer outcome; ready pins remain valid through every transition. More... | |
Functions | |
| template<std::size_t I, class T, class Formatter> requires (std::is_aggregate_v<T> && I < boost::pfr::tuple_size_v<T> && ColumnFormatter<T, AggregateFieldProjection<I, T>, Formatter>) | |
| TableColumn< T > | aggregateColumn (TableColumnOptions options, Formatter formatter) |
| Create a typed column for one selected field of a PFR SimpleAggregate. | |
| template<class T, std::size_t N, class Formatter> requires (std::is_aggregate_v<T> && N == boost::pfr::tuple_size_v<T> && detail::aggregateFieldsFormattable<T, Formatter> (std::make_index_sequence<N>{})) | |
| std::array< TableColumn< T >, N > | aggregateColumns (std::array< TableColumnOptions, N > options, Formatter formatter) |
| Create columns for every field in PFR's aggregate declaration order. | |
| template<class T, std::size_t N, class Formatter> requires (std::is_aggregate_v<T> && N == boost::pfr::tuple_size_v<T> && detail::aggregateFieldsFormattable<T, Formatter> (std::make_index_sequence<N>{})) | |
| std::expected< std::array< TableColumn< T >, N >, TextError > | aggregateColumns (std::array< ColumnCaption, N > captions, Formatter formatter, WidthPolicy policy={}) |
| Assemble a fixed aggregate schema without manual column IDs or generations. | |
| std::expected< std::unique_ptr< ApplicationTerminal >, TerminalError > | openNativeApplicationTerminal (NativeTerminalHandles handles, TerminalOptions options={}, std::chrono::milliseconds modeTimeout=std::chrono::milliseconds{2000}, bool mouseReporting=true, NativeScreenMode screen=NativeScreenMode::ALTERNATE_SCREEN) |
| Open an exclusive native transport with managed screen and optional mouse reporting. | |
| std::expected< std::unique_ptr< ApplicationTerminal >, TerminalError > | openNativeApplicationTerminal (NativeTerminalHandles handles, TerminalOptions options, std::chrono::milliseconds modeTimeout, bool mouseReporting, NativeScreenMode screen, bool buttonMotion) |
| Open the native transport with an explicit session button-motion requirement. | |
| std::expected< std::unique_ptr< ApplicationTerminal >, TerminalError > | openNativeApplicationTerminal (NativeTerminalHandles handles, TerminalOptions options, std::chrono::milliseconds modeTimeout, bool mouseReporting, NativeScreenMode screen, bool buttonMotion, NativePointerOptions pointer) |
| Open a native session with optional precise pointer negotiation. | |
| template<class Input, class Output, class Work> requires std::is_nothrow_move_constructible_v<Work> | |
| std::expected< std::unique_ptr< BackgroundJob >, BackgroundError > | makeBackgroundJob (std::shared_ptr< const Input > input, AsyncReply< Output > reply, Work work) |
| Prepare owning immutable work without running it on the caller's UI thread. | |
| template<class T> | |
| std::expected< std::optional< ModelRequest< T > >, TreeError > | prepareChart (WidgetTree &tree, Node< Chart< T > > node, const ModelFrame< T > &frame, CellSize viewport, std::uint64_t first=0) |
| Prepare at most one domain bucket per viewport column between frames. Shares the caller's ModelFrame with sibling tables. Returns new pending-range work once; the caller dispatches that token, then pins again after scheduler delivery. No workers start here. Invalid OHLC ordering/nonfinite fields become gaps; provider pending/error states produce a blank plot. | |
| constexpr std::expected< CheckState, TreeError > | aggregateCheckState (std::span< const CheckState > states) |
| Combine borrowed states without allocation or retained references. | |
| std::expected< void, TreeError > | setControlText (WidgetTree &tree, Node< Control > node, GraphemeText text) |
| Replace owning text between frames; equal bytes/policy are a no-op, changes invalidate layout. | |
| std::expected< void, TreeError > | setControlStyle (WidgetTree &tree, Node< Control > node, ControlStyle style) |
| Replace owning paint values on UI between frames; equal is a no-op, changes invalidate paint. | |
| std::expected< void, TreeError > | syncControl (WidgetTree &tree, Node< Control > node, Node< Widget > focused) |
| Copy focus and ancestor eligibility on UI between frames; changes invalidate paint. | |
| std::expected< ActionBinding, TreeError > | bindButton (EventRouter &router, Node< Button > node, std::function< void()> action) |
| Bind one activation callback on UI outside a frame; the caller owns the returned disconnect token. | |
| std::expected< ActionBinding, TreeError > | bindButtonClick (EventRouter &router, Node< Button > node, std::function< void(const ClickEvent &)> action, bool allowModified=true) |
| Bind activation with owning parameters through the existing scoped router token. | |
| std::expected< CheckStateBinding, TreeError > | bindCheckbox (WidgetTree &tree, EventRouter &router, Node< CheckBox > node, std::shared_ptr< Property< CheckState > > model, std::function< void(CheckStateResult)> changed, CheckBoxOptions options={}) |
| Bind an explicit checkbox state on UI, preserving Property commit receipts. | |
| std::expected< CheckBoxBinding, TreeError > | bindCheckbox (WidgetTree &tree, EventRouter &router, Node< CheckBox > node, std::shared_ptr< Property< bool > > model, std::function< void(CheckBoxResult)> changed) |
| Bind and initially synchronize a checkbox on UI outside a frame; the caller owns the returned token. | |
| constexpr std::expected< DataPhase, TreeError > | dataPhase (DataRangeStatus status) |
| constexpr bool | isDataPending (DataPhase phase) noexcept |
| std::expected< void, TreeError > | setDataStateView (WidgetTree &tree, Node< DataStateView > node, DataPresentation value) |
| std::expected< PssDocument, PssError > | parsePssDocument (std::string_view bytes, std::string_view sourceName={}) |
| Parse strict UTF-8 PSS v0 into owning declarations and source metadata, without I/O. | |
| template<class... Args> requires (sizeof...(Args) > 0) && (detail::IS_LIVE_TEXT_SOURCE<std::remove_cvref_t<Args>> || ...) && (ui::detail::TextFormatArgument<Args> && ...) | |
| ui::ValueText | text (std::format_string< const ui::detail::TextArgumentValue< Args > &... > pattern, Args &&...args) |
| Declare live formatted text over explicit scalar roots, fields or value properties. | |
| template<class Resolver, class... Args> requires (sizeof...(Args) > 0) && (detail::IS_LIVE_TEXT_SOURCE<std::remove_cvref_t<Args>> || ...) && (ui::detail::TextFormatArgument<Args> && ...) && std::copy_constructible<Resolver> && (ui::detail::KeyResourceResolver<Resolver> || ui::detail::ValueResourceResolver<Resolver, ui::detail::TextArgumentValue <Args>...>) | |
| ui::ValueText | text (TextValue pattern, Resolver resolver, Args &&...args) |
| Resolve an owning localization key and format over explicit scalar dependencies. | |
| std::string | exportDiagnostics (const DiagnosticSnapshot &snapshot) |
| Serialize metadata in memory; performs no stream/file/terminal I/O. | |
| std::expected< void, DiagnosticError > | validateDiagnosticVersion (std::string_view text) noexcept |
| Check the version line before interpreting an application's diagnostic export. | |
| std::expected< std::string, DiffError > | encodeDiff (const CellBuffer *previous, const CellBuffer &next, std::size_t max_bytes=1024 *1024, ColorMode colorMode=ColorMode::TRUE_COLOR) |
| Encode changed complete rows into one owning VT transaction. | |
| DocumentExportResult | exportDocument (std::shared_ptr< ByteDocumentSource > source, std::shared_ptr< DocumentExportSink > sink, DocumentByteRange range={}, DocumentExportOptions options={}, std::stop_token stop={}) |
| std::expected< std::shared_ptr< const DocumentCopy >, DocumentError > | copyDocumentBytes (std::shared_ptr< ByteDocumentSource > source, DocumentByteRange range, std::size_t maxBytes=64 *1024, std::stop_token stop={}) |
| std::expected< std::size_t, HexError > | hexRowWidth (HexRowOptions options) noexcept |
| std::expected< HexRowResult, HexError > | formatHexRow (std::span< const std::byte > input, std::uint64_t absoluteOffset, HexRowOptions options, std::span< char > text, std::span< HexByteCell > cells) noexcept |
| DocumentLanguage | documentLanguageFromName (std::string_view name) noexcept |
| std::expected< void, SourceError > | seekDocumentByte (WidgetTree &tree, Node< DocumentView > node, std::uint64_t offset) |
| std::expected< void, SourceError > | refreshDocument (WidgetTree &tree, Node< DocumentView > node) |
| std::expected< DocumentViewStatus, TreeError > | documentViewStatus (WidgetTree &tree, Node< DocumentView > node) |
| std::expected< void, TreeError > | setFormFieldValidation (WidgetTree &tree, Node< FormField > node, FieldValidation value) |
| std::expected< CellPoint, GeometryError > | translated (CellPoint point, CellPoint offset) noexcept |
| Translate a cell point by an explicit columns/rows offset. | |
| std::expected< GridPlacementPlan, TreeError > | resolveGridPlacements (const DeclarativeGridOptions &options, std::span< const GridItemOptions > items) |
| Resolve sparse placement without factories, tree access or retained input views. | |
| std::expected< void, TreeError > | setGridOptions (WidgetTree &tree, Node< Grid > node, const GridOptions &options) |
| Validate and atomically copy settings on the UI owner between frames, then invalidate layout. Tree errors propagate; invalid configuration leaves the previous settings unchanged. Input is borrowed only for this call. Allocation failure returns NO_MEMORY. | |
| std::expected< void, TreeError > | setDeclarativeGridOptions (WidgetTree &tree, Node< Grid > node, const GridOptions &options) |
| Atomically replace resolved declarative settings between frames on the UI owner. | |
| std::expected< void, TreeError > | setGridPresentation (WidgetTree &tree, Node< Grid > node, const GridPresentation &presentation) |
| Replace owning backgrounds between frames on the UI owner. | |
| std::expected< void, TreeError > | setOverlayOptions (WidgetTree &tree, Node< Overlay > node, OverlayOptions options) |
| Validate and replace settings on the UI owner between frames, then invalidate layout. | |
| std::error_code | make_error_code (GzipError error) noexcept |
| constexpr bool | keyPressed (const InputEvent &event, InputKey key) noexcept |
| Match a semantic key press or repeat without extracting the event variant. | |
| constexpr bool | keyPressed (const InputEvent &event, InputKey key, InputModifiers modifiers) noexcept |
| Match a semantic press/repeat with the complete modifier combination. | |
| constexpr bool | keyPressed (const InputEvent &event, std::initializer_list< InputKey > keys) noexcept |
| Match any listed semantic key on press/repeat, ignoring modifiers. | |
| std::expected< void, TreeError > | setSizePolicy (WidgetTree &tree, Node< SizedWidget > node, SizePolicy policy) |
| Validate and edit policies between frames on the tree's UI owner; tree errors propagate. Changed policies invalidate layout; equal policies preserve geometry. The installed style minimum is a hard bound and a conflicting maximum rejects the update without changing the previous policy. | |
| std::expected< void, TreeError > | setLinearOptions (WidgetTree &tree, Node< LinearLayout > node, LinearOptions options) |
| Validate, edit and invalidate layout between frames on the tree's UI owner; tree errors propagate. | |
| std::expected< void, TreeError > | layoutTree (WidgetTree &tree, Node< Widget > node, CellRect local, CellRect viewport) |
| Measure and arrange a subtree inside an active tree frame. | |
| std::expected< LineEditBinding, TreeError > | bindLineEdit (WidgetTree &tree, EventRouter &router, Node< LineEdit > node, std::shared_ptr< Property< std::string > > model, std::function< void(LineEditResult)> result, std::shared_ptr< Clipboard > clipboard={}, std::function< bool(std::string_view)> validate={}) |
| Bind a one-line editor and adopt its initial model on UI outside frames. | |
| std::expected< LineEditBinding, TreeError > | bindLineEditWithEvents (WidgetTree &tree, EventRouter &router, Node< LineEdit > node, std::shared_ptr< Property< std::string > > model, std::function< void(LineEditResult)> result, std::shared_ptr< Clipboard > clipboard, std::function< bool(std::string_view)> validate, LineEditEvents events) |
| Bind a one-line editor and adopt its initial model on UI outside frames. | |
| std::expected< void, TreeError > | validateLogLimits (LogLimits limits) noexcept |
| std::expected< LogAppendReceipt, LogError > | appendLogBatch (WidgetTree &tree, Node< LogView > node, std::string_view bytes) |
| std::expected< void, TreeError > | clearLog (WidgetTree &tree, Node< LogView > node) |
| std::expected< void, TreeError > | followLogTail (WidgetTree &tree, Node< LogView > node) |
| std::expected< LogStatus, TreeError > | logStatus (WidgetTree &tree, Node< LogView > node) |
| bool | editReceiptMatches (const EditTarget &target, const EditReceipt &receipt) noexcept |
| Exact qualification; this does not prove a backend applied its precondition. | |
| bool | positionReplyMatches (const PositionRequest &request, const PositionReply &reply) noexcept |
| template<std::copy_constructible T, class Q, class Filter, class Compare, class Stop = std::function<bool()>> | |
| std::expected< QueryPage< T >, QueryError > | transformSnapshot (const Query< T, Q > &query, Filter filter, Compare compare, QueryOptions options={}, Stop stop=[] { return false;}) |
| Explicit local filter, stable sort, and page; never dispatches or starts provider I/O. Source scan, comparisons and output are independently bounded. Equal sort keys retain source order. IDs and generations are copied unchanged. T is copied only for output rows. Callbacks must be bounded, worker-safe and must not retain borrowed row/criteria arguments. | |
| std::expected< NavigationCheckpoint, NavigationCheckpointError > | loadNavigationCheckpoint (NavigationCheckpointStorage &storage, NavigationCheckpointOptions options={}, std::stop_token stop={}) |
| std::expected< void, NavigationCheckpointError > | saveNavigationCheckpoint (const NavigationCheckpoint &checkpoint, NavigationCheckpointStorage &storage, std::stop_token stop={}) |
| std::expected< PasswordBinding, PasswordFailure > | bindPassword (WidgetTree &tree, EventRouter &router, Node< Password > node, std::shared_ptr< Property< PasswordValue > > model, std::function< void(PasswordResult)> onResult, std::shared_ptr< Clipboard > clipboard={}, std::function< bool(SecretView)> validate={}) |
| Bind and securely inspect the initial model before publishing presentation. | |
| std::expected< void, TreeError > | setGaugeValue (WidgetTree &tree, Node< Gauge > node, double value) |
| std::expected< void, TreeError > | adjustGaugeValue (WidgetTree &tree, Node< Gauge > node, double delta) |
| std::expected< void, TreeError > | syncBorder (WidgetTree &tree, Node< Border > node) |
| std::expected< void, TreeError > | syncBorder (WidgetTree &tree, Node< Border > node, Node< Widget > focused) |
| std::expected< void, TreeError > | setBorderTitle (WidgetTree &tree, Node< Border > node, const GraphemeText &title) |
| Replace a frame title through the existing checked tree mutation boundary. | |
| std::expected< void, TreeError > | syncGauge (WidgetTree &tree, Node< Gauge > node) |
| std::expected< RadioGroupBinding, TreeError > | bindRadioGroup (WidgetTree &tree, EventRouter &router, Node< RadioGroup > node, std::shared_ptr< Property< RadioGroupValue > > model, std::function< void(RadioGroupResult)> changed) |
| std::expected< void, TreeError > | syncRadioGroup (WidgetTree &tree, Node< RadioGroup > node, Node< Widget > focused) |
| std::expected< CellBuffer, RenderError > | renderFullFrame (CellSize size, std::span< const RenderCommand > commands, WidthPolicy policy={}, RenderLimits limits={}) |
| Render a deterministic fresh frame, independent of diff/damage/output code. | |
| std::expected< void, TreeError > | initializeScrollArea (WidgetTree &tree, Node< ScrollArea > node) |
| std::expected< void, TreeError > | initializeScrollBar (WidgetTree &tree, Node< ScrollBar > node, bool geometryWriter=true) |
| std::expected< ScrollAreaLayoutSnapshot, TreeError > | scrollAreaLayout (WidgetTree &tree, Node< ScrollArea > node) |
| std::expected< void, TreeError > | prepareScrollArea (WidgetTree &tree, Node< ScrollArea > node, const ScrollAreaLayoutSnapshot &layout) |
| std::expected< void, TreeError > | setScrollOffset (WidgetTree &tree, Node< Widget > node, ScrollAxis axis, ScrollOffset offset) |
| std::expected< void, TreeError > | setScrollMetrics (WidgetTree &tree, Node< ScrollBar > node, ScrollAxisMetrics metrics) |
| std::expected< void, TreeError > | syncScrollControl (WidgetTree &tree, Node< Widget > node, Node< Widget > focused={}) |
| std::expected< ActionBinding, TreeError > | bindScrollArea (EventRouter &router, WidgetTree &tree, Node< ScrollArea > node) |
| std::expected< ActionBinding, TreeError > | bindScrollArea (EventRouter &router, WidgetTree &tree, Node< ScrollArea > node, ScrollRepeatServices services) |
| std::expected< ActionBinding, TreeError > | bindScrollBar (EventRouter &router, WidgetTree &tree, Node< ScrollBar > node, bool geometryWriter=true) |
| std::expected< ActionBinding, TreeError > | bindScrollBar (EventRouter &router, WidgetTree &tree, Node< ScrollBar > node, ScrollRepeatServices services, bool geometryWriter=true) |
| std::expected< void, TreeError > | setScrollbarSkin (WidgetTree &tree, Node< Widget > node, const ScrollbarSkin &skin) |
| Atomically prepare owning scrollbar glyphs between frames on the tree UI thread. | |
| constexpr ScrollRange | scrollRange (ScrollAxisMetrics metrics) noexcept |
| Compute an exact range without unsigned subtraction or addition overflow. | |
| constexpr bool | validScrollOffset (ScrollOffset offset) noexcept |
| Validate an offset remainder without losing its integral index. | |
| constexpr std::uint64_t | scrollPageStep (std::uint64_t viewport, std::uint64_t overlap=1) noexcept |
| Compute one page movement using guarded unsigned subtraction. | |
| constexpr std::expected< ScrollThumb, TreeError > | scrollThumb (ScrollAxisMetrics metrics, std::uint64_t offset, std::int32_t trackLength, std::int32_t minimumThumb=1) noexcept |
| Map exact logical position to a thumb without a floating-point index round trip. | |
| constexpr std::expected< ScrollFractionalThumb, TreeError > | scrollFractionalThumb (ScrollAxisMetrics metrics, ScrollOffset offset, std::int32_t trackLength, std::int32_t minimumThumb=1) noexcept |
| Map an exact logical position to eighth-cell thumb placement. | |
| constexpr std::expected< std::uint64_t, TreeError > | scrollOffsetForThumb (std::int64_t position, std::int32_t travel, std::uint64_t maximum) noexcept |
| Inverse thumb mapping, rounded to nearest integer with ties toward the start. | |
| constexpr std::expected< ScrollAreaGeometry, TreeError > | solveScrollLayout (CellSize allocation, ScrollExtent extent, ScrollLayoutOptions options={}) noexcept |
| Solve both bar policies together without cross-frame oscillation. | |
| std::expected< void, TreeError > | validateScrollOptions (const ScrollBarOptions &options) noexcept |
| Validate standalone bar settings without mutation, allocation or callbacks. | |
| std::expected< void, TreeError > | validateScrollOptions (const ScrollAreaOptions &options) noexcept |
| Validate area settings and the optional existing BorderOptions. | |
| std::expected< ScrollPreparationResult, TreeError > | prepareScrollAreas (WidgetTree &tree, std::span< const Node< ScrollArea > > areas, const LayoutSnapshot &snapshot, std::optional< ScrollRevealTarget > reveal={}) |
| Prepare all ordinary scroll areas against one immutable geometry profile. | |
| std::expected< Shortcut, ShortcutError > | parseShortcut (std::string_view source, ShortcutOptions options={}) |
| std::expected< void, ShortcutError > | validateShortcut (const Shortcut &shortcut, ShortcutOptions options={}) noexcept |
| std::optional< KeyEvent > | matchShortcut (const Shortcut &shortcut, const InputEvent &event, ShortcutBehavior behavior={}) noexcept |
| std::expected< void, TreeError > | setSliderReadOnly (WidgetTree &tree, Node< Slider > node, bool readOnly) |
| std::expected< SliderBinding, TreeError > | bindSlider (WidgetTree &tree, EventRouter &router, Node< Slider > node, std::shared_ptr< Property< NumericValue > > model, std::function< void(SliderResult)> changed, std::function< void(const SliderOperationEvent &)> finished={}) |
| std::expected< SpinBoxBinding, TreeError > | bindSpinBox (WidgetTree &tree, EventRouter &router, Node< LineEdit > editor, Node< Button > decrease, Node< Button > increase, std::shared_ptr< Property< NumericValue > > model, std::uint64_t pageSteps, std::function< void(SpinBoxResult)> result, LineEditEvents events={}) |
| Bind pre-mounted editor/decrement/increment children of one SpinBox. | |
| SpinnerPreset | spinnerPreset (std::string_view name) noexcept |
| std::expected< void, TreeError > | setSpinnerActive (WidgetTree &tree, Node< Spinner > node, bool active) |
| std::expected< void, TreeError > | setSpinner (WidgetTree &tree, Node< Spinner > node, const SpinnerOptions &options, SpinnerLabelResolver resolver={}) |
| std::expected< void, TreeError > | syncStatusBar (WidgetTree &tree, Node< StatusBar > node) |
| Synchronize the bar's own disabled appearance between frames on UI. | |
| std::expected< void, StyleError > | validateStyleTarget (const StyleTarget &target) noexcept |
| Validate bounded ancestor metadata without allocation or retaining input. | |
| std::expected< StyleSheet, StyleError > | parsePss (std::string_view source) |
| Parse strict PSS v0 without I/O or mutation, on any thread. | |
| ComputedStyle | resolveStyle (const StyleSheet &sheet, const StyleTarget &target, ComputedStyle defaults={}, bool readOnly=false) noexcept |
| Resolve one subject through the same engine used by typed and PSS installation. | |
| StyleSheet | themeFromTokens (ThemeTokens tokens) |
| StyleSheet | modernTheme () |
| StyleSheet | turboTheme () |
| StyleSheet | nordTheme () |
| StyleSheet | gruvboxTheme () |
| StyleSheet | tokyoNightTheme () |
| StyleSheet | catppuccinLatteTheme () |
| template<class T, class Projection, class Formatter> requires ColumnFormatter<T, Projection, Formatter> | |
| TableColumn< T > | tableColumn (TableColumnOptions options, Projection projection, Formatter formatter) |
| Compose an owning typed column from explicit projection and text formatting. | |
| template<class T, class Member, class Formatter> requires ColumnFormatter<T, Member T::*, Formatter> | |
| TableColumn< T > | tableColumn (TableColumnOptions options, Member T::*member, Formatter formatter) |
| Deduce the domain record from a data or member-function pointer. | |
| std::expected< TableColumnOptions, TextError > | columnOptions (ColumnId id, std::string_view header, std::int32_t width=1, WidthPolicy policy={}) |
| Construct typed metadata from UTF-8 without unchecked header extraction. | |
| template<class T, class Member, class Formatter> requires ColumnFormatter<T, Member T::*, Formatter> | |
| std::expected< TableColumn< T >, TextError > | tableColumn (ColumnId id, std::string_view header, Member T::*member, Formatter formatter, std::int32_t width=1, WidthPolicy policy={}) |
| Deduce a field's record and validate a plain UTF-8 header. | |
| template<class T, class Projection, class Formatter> requires ColumnFormatter<T, Projection, Formatter> | |
| TableColumnSpec< T > | tableColumn (std::string_view header, Projection projection, Formatter formatter, std::int32_t width=1) |
| Describe a fixed-schema column without exposing identity bookkeeping. | |
| template<class T, class Member, class Formatter> requires ColumnFormatter<T, Member T::*, Formatter> | |
| TableColumnSpec< T > | tableColumn (std::string_view header, Member T::*member, Formatter formatter, std::int32_t width=1) |
| Infer a fixed-schema record from a member pointer, without explicit IDs. | |
| template<class T, class Projection> requires ColumnProjection<T, Projection> && std::formattable<std::remove_cvref_t<std::invoke_result_t<Projection &, const T &>>, char> | |
| TableColumnSpec< T > | tableColumn (std::string_view header, Projection projection, std::int32_t width=1) |
| Describe a projected column with the existing default standard formatter. | |
| template<class T, class Member> requires ColumnProjection<T, Member T::*> && std::formattable<std::remove_cvref_t<std::invoke_result_t<Member T::*&, const T &>>, char> | |
| TableColumnSpec< T > | tableColumn (std::string_view header, Member T::*member, std::int32_t width=1) |
| Deduce the row type of a default-formatted member column. | |
| template<class T, class... Rest> requires (std::same_as<std::remove_cvref_t<Rest>, TableColumnSpec<T>> && ...) | |
| std::expected< std::array< TableColumn< T >, 1+sizeof...(Rest)>, TextError > | tableColumns (WidthPolicy policy, TableColumnSpec< T > first, Rest &&...rest) |
| Assemble a fixed schema and allocate deterministic table-local identities. | |
| template<class T, class... Rest> requires (std::same_as<std::remove_cvref_t<Rest>, TableColumnSpec<T>> && ...) | |
| std::expected< std::array< TableColumn< T >, 1+sizeof...(Rest)>, TextError > | tableColumns (TableColumnSpec< T > first, Rest &&...rest) |
| Assemble fixed-schema columns with the default display policy. | |
| template<class... Args> | |
| std::expected< GraphemeText, TextError > | formatText (WidthPolicy policy, std::format_string< Args... > pattern, Args &&...args) |
| Format and validate an owning text value with an explicit width policy. | |
| template<class... Args> | |
| std::expected< GraphemeText, TextError > | formatText (std::format_string< Args... > pattern, Args &&...args) |
| Format checked text under the default display policy. | |
| template<class T> | |
| CellFormat< T > | cellFormat (std::format_string< const T & > pattern, WidthPolicy policy={}) |
| Build a reusable column formatter without a formatting lambda. | |
| std::expected< TextSegments, TreeError > | words (const GraphemeText &input, TextSplitOptions options={}) |
| Split on whole graphemes consisting only of scalars in Unicode White_Space. | |
| std::expected< TextSegments, TreeError > | graphemes (const GraphemeText &input, TextSplitOptions options={}) |
| Return one token for every existing extended grapheme, including whitespace. | |
| constexpr TextValue | text (std::string_view bytes) |
| Copy literal bytes into an owning expression without interpreting braces. | |
| template<class... Args> requires (sizeof...(Args) > 0) && (!(detail::IS_LIVE_TEXT_SOURCE<std::remove_cvref_t<Args>> || ...)) | |
| TextValue | text (std::format_string< Args... > pattern, Args &&...args) |
| Format immediately into owned bytes; defer validation and measurement. | |
| constexpr TextValue | i18n (std::string_view key) |
| Copy a resource key for later resolution through an explicit caller. | |
| std::expected< void, ManagedError > | setDocumentModel (ManagedScene &scene, Node< DocumentView > node, ui::DocumentSource source) |
| std::expected< void, ManagedError > | setDocumentLineNumbers (ManagedScene &scene, Node< DocumentView > node, bool enabled) |
| std::expected< void, ManagedError > | setDocumentWrap (ManagedScene &scene, Node< DocumentView > node, bool enabled) |
| std::expected< void, ManagedError > | setDocumentEncoding (ManagedScene &scene, Node< DocumentView > node, DocumentEncoding encoding) |
| std::expected< void, ManagedError > | setLogModel (ManagedScene &scene, Node< LogView > node, ui::LogSource source) |
| std::expected< void, SourceError > | seekLogRow (WidgetTree &tree, Node< LogView > node, std::uint64_t ordinal) |
| std::expected< void, SourceError > | seekLogByte (WidgetTree &tree, Node< LogView > node, std::uint64_t byteOffset) |
| std::expected< LogNavigation, SourceError > | logNavigation (WidgetTree &tree, Node< LogView > node) |
| template<class T> | |
| std::expected< void, ManagedError > | setVirtualRowsAutoRowHeight (ManagedScene &scene, Node< VirtualRows< T > > node, bool enabled) |
| Checked managed facade for natural row sizing. | |
| Version | version () noexcept |
| Return the version of the linked library by value. | |
| template<class T> | |
| std::expected< std::optional< ModelRequest< T > >, TreeError > | prepareVirtualList (WidgetTree &tree, Node< VirtualList< T > > node, const ModelFrame< T > &frame, CellSize viewport) |
| Prepare a local final viewport between frames, using the same pin as every sibling view. Returns a new request exactly once for caller dispatch. No worker is started. A rejected completion can be retried on that token; cancel it if dispatch fails, then prepare again for a new receipt. Hidden ancestors cancel work and release prepared rows. Failure leaves the previous presentation intact. Tree affinity/frame errors, invalid dimensions/ranges, NO_MEMORY and CALLBACK_FAILED are explicit. | |
| template<class T> | |
| std::expected< void, TreeError > | setVirtualListFirst (WidgetTree &tree, Node< VirtualList< T > > node, std::uint64_t first) |
| Change the integral first row on UI and invalidate paint; prepare before painting again. | |
| template<class T> | |
| std::expected< void, TreeError > | setVirtualListSelection (WidgetTree &tree, Node< VirtualList< T > > node, std::optional< RowId > selected) |
| Set stable selection on UI, clear pending navigation, and invalidate paint. | |
| template<class T> | |
| std::expected< void, TreeError > | setVirtualListOptions (WidgetTree &tree, Node< VirtualList< T > > node, VirtualListOptions options) |
| Validate settings on UI, invalidate layout and require preparation before the next paint. | |
| template<class T> | |
| std::expected< void, TreeError > | retryVirtualList (WidgetTree &tree, Node< VirtualList< T > > node) |
| Explicitly retry a provider error/pending range at the next preparation; no worker is started. | |
| template<class T> | |
| std::expected< ActionBinding, TreeError > | bindVirtualList (EventRouter &router, WidgetTree &tree, Node< VirtualList< T > > node) |
| Bind arrows/Home/End, left press and integral wheel scrolling to the existing router. Caller retains the scoped binding. Tree/router outlive it; no widget pointer escapes dispatch. | |
| template<class T> | |
| std::expected< void, TreeError > | scrollVirtualList (WidgetTree &tree, Node< VirtualList< T > > node, double rows) |
| Accumulate fractional wheel input on UI using the last prepared model count. | |
| template<class T> | |
| std::expected< RowLookup, TreeError > | ensureVirtualListVisible (WidgetTree &tree, Node< VirtualList< T > > node, const ModelFrame< T > &frame, RowId id) |
| Reveal a stable row using a caller-supplied shared pin and the last prepared viewport. | |
| template<class T, class Geometry> requires std::same_as<Geometry, LayoutSnapshot> | |
| std::expected< std::optional< ModelRequest< T > >, TreeError > | prepareVirtualList (WidgetTree &tree, Node< VirtualList< T > > node, const ModelFrame< T > &frame, const Geometry &layout) |
| Prepare a list using its captured local layout extent. | |
| template<class T, class Geometry> requires std::same_as<Geometry, LayoutSnapshot> | |
| std::expected< std::optional< ModelRequest< T > >, TreeError > | prepareVirtualTable (WidgetTree &tree, Node< VirtualTable< T > > node, const ModelFrame< T > &frame, const Geometry &layout) |
| Prepare a table using its captured local layout extent, including its header. | |
| template<class T, class Geometry> requires std::same_as<Geometry, LayoutSnapshot> | |
| std::expected< std::optional< ModelRequest< T > >, TreeError > | prepareChart (WidgetTree &tree, Node< Chart< T > > node, const ModelFrame< T > &frame, const Geometry &layout, std::uint64_t first=0) |
| Prepare a chart using its captured local layout extent. | |
| template<class T> | |
| std::expected< void, TreeError > | setVirtualRowsAutoRowHeight (WidgetTree &tree, Node< VirtualRows< T > > node, bool enabled) |
| Select bounded natural row sizing without changing fixed-height defaults. | |
| template<class T> | |
| std::expected< void, TreeError > | setVirtualRowsFirst (WidgetTree &tree, Node< VirtualRows< T > > node, std::uint64_t first) |
| Request a finite ordinal; mounting occurs at the existing managed service boundary. | |
| template<class T> | |
| std::expected< void, TreeError > | scrollVirtualRows (WidgetTree &tree, Node< VirtualRows< T > > node, std::int64_t rows) |
| Accumulate a relative row intent without replacing it with a stale committed position. | |
| template<class T> | |
| std::expected< void, TreeError > | pageVirtualRows (WidgetTree &tree, Node< VirtualRows< T > > node, bool backwards=false) |
| Navigate one bounded delivered page, preserving unknown source extent. | |
| template<class T> | |
| std::expected< void, TreeError > | navigateVirtualRows (WidgetTree &tree, Node< VirtualRows< T > > node, SourceAnchor anchor, SourceDirection direction=SourceDirection::FORWARD) |
| Request a capability-gated native row/tail/cursor operation. | |
| template<class T> | |
| std::expected< void, TreeError > | notifyVirtualRowsReady (WidgetTree &tree, Node< VirtualRows< T > > node, std::uint64_t revision) |
| Publish a native provider readiness revision through the existing source notifier. | |
| template<class T> | |
| std::expected< std::optional< ModelRequest< T > >, TreeError > | prepareVirtualTable (WidgetTree &tree, Node< VirtualTable< T > > node, const ModelFrame< T > &frame, CellSize viewport) |
| Prepare a local final viewport between frames, using the same pin as every sibling view. Returns a new request exactly once for caller dispatch. No worker is started. A rejected completion can be retried on that token; cancel it if dispatch fails, then prepare again for a new receipt. Hidden ancestors cancel work and release prepared rows. Failure leaves the previous presentation intact. The viewport includes the fixed one-cell header. Exceeded row/cell/text budgets return INVALID_ARGUMENT. Tree affinity/frame errors, invalid dimensions/ranges, NO_MEMORY and CALLBACK_FAILED are explicit. | |
| template<class T> | |
| std::expected< void, TreeError > | setVirtualTableFirst (WidgetTree &tree, Node< VirtualTable< T > > node, std::uint64_t first) |
| Change the integral first row on UI and invalidate paint; prepare before painting again. | |
| template<class T> | |
| std::expected< void, TreeError > | setVirtualTableSelection (WidgetTree &tree, Node< VirtualTable< T > > node, std::optional< RowId > selected) |
| Set stable selection on UI, clear pending navigation, and invalidate paint. | |
| template<class T> | |
| std::expected< void, TreeError > | setVirtualTableOptions (WidgetTree &tree, Node< VirtualTable< T > > node, VirtualTableOptions options) |
| Validate settings on UI, invalidate layout and require preparation before the next paint. | |
| template<class T> | |
| std::expected< void, TreeError > | setVirtualTableColumns (WidgetTree &tree, Node< VirtualTable< T > > node, std::span< const TableColumn< std::type_identity_t< T > > > columns) |
| Replace ordered column definitions transactionally and invalidate layout. | |
| template<class T> | |
| std::expected< void, TreeError > | retryVirtualTable (WidgetTree &tree, Node< VirtualTable< T > > node) |
| Explicitly retry a provider error/pending range at the next preparation; no worker is started. | |
| template<class T> | |
| std::expected< ActionBinding, TreeError > | bindVirtualTable (EventRouter &router, WidgetTree &tree, Node< VirtualTable< T > > node) |
| Bind arrows/Home/End, left press and integral wheel scrolling to the existing router. Caller retains the scoped binding. Tree/router outlive it; no widget pointer escapes dispatch. | |
| template<class T> | |
| std::expected< void, TreeError > | scrollVirtualTable (WidgetTree &tree, Node< VirtualTable< T > > node, double rows) |
| Accumulate fractional wheel input on UI using the last prepared model count. | |
| template<class T> | |
| std::expected< RowLookup, TreeError > | ensureVirtualTableVisible (WidgetTree &tree, Node< VirtualTable< T > > node, const ModelFrame< T > &frame, RowId id) |
| Reveal a stable row using a caller-supplied shared pin and the last prepared viewport. | |
Variables | |
| constexpr std::string_view | DEFAULT_SWITCH_OFF_TEXT = "[off] " |
| Plain off decoration. | |
| constexpr std::string_view | DEFAULT_SWITCH_ON_TEXT = "[on ] " |
| Plain on decoration. | |
| constexpr std::size_t | PSS_PROPERTY_COUNT = static_cast<std::size_t>(PssProperty::ROLE_UNDERLINE) + 1 |
| Number of supported PSS v0 properties. | |
| constexpr std::size_t | PSS_SCALAR_PROPERTY_COUNT = static_cast<std::size_t>(PssProperty::GLYPH_FALLBACK) + 1 |
| Scalar-only prefix retained by compile-time PSS descriptors. | |
| constexpr std::size_t | NO_PSS_DECLARATION = std::numeric_limits<std::size_t>::max() |
| Marker for an absent effective declaration occurrence. | |
| constexpr std::size_t | MAX_PSS_ERROR_SUBJECT_BYTES = 64 |
| Maximum owned ASCII bytes retained in an error subject. | |
| constexpr std::size_t | MAX_PSS_SOURCE_NAME_BYTES = 4096 |
| Maximum UTF-8 source identity bytes in an owning runtime document. | |
| constexpr std::size_t | MAX_PSS_DOCUMENT_BYTES = 4 * MAX_PSS_BYTES |
| Logical runtime document payload including all metadata occurrences. | |
| constexpr std::size_t | MAX_HEX_ROW_BYTES = 4096 |
| constexpr std::int32_t | INTRINSIC_EXTENT = -1 |
| Sentinel requesting the widget's intrinsic measurement. | |
| constexpr SizePolicy | DEFAULT_CONTENT_POLICY |
| Intrinsic content on both axes; explicit policies remain authoritative. | |
| constexpr SizePolicy | DEFAULT_FLEX_WIDTH_POLICY |
| Fill available width from a zero flex basis while retaining content height. | |
| constexpr SizePolicy | DEFAULT_EDITOR_POLICY |
| Single-line editors retain one cell even during shortage; text length is not a flex basis. | |
| constexpr SizePolicy | DEFAULT_VIEWPORT_POLICY |
| A bounded data viewport fills both axes without requesting the whole model extent. | |
| constexpr std::size_t | LINE_EDIT_REDO_CHORD_COUNT = 2 |
| Number of independently configurable Redo aliases. | |
| constexpr SizePolicy | DEFAULT_LOG_VIEW_POLICY = DEFAULT_VIEWPORT_POLICY |
| Native log default: fill both viewport axes from zero flex bases; explicit SizePolicy stays literal. | |
| constexpr SizePolicy | DEFAULT_MENU_POLICY |
| Natural menu extent on both axes; callers may supply an ordinary explicit SizePolicy. | |
| constexpr std::size_t | MAX_FRAME_TITLE_END_BYTES = 64 |
| Maximum complete UTF-8 source bytes in each title end. | |
| constexpr std::int32_t | MAX_FRAME_TITLE_END_CELLS = 16 |
| Maximum printable one-cell graphemes in each title end. | |
| constexpr std::size_t | DEFAULT_SCROLLBAR_GLYPH_BYTES = 64 |
| Default UTF-8 byte cap for each supplied scrollbar glyph. | |
| constexpr std::size_t | DEFAULT_MAX_SECRET_BYTES = 4096 |
| Default bound for application bytes, without Unicode interpretation. | |
| constexpr std::size_t | MAX_SECRET_BYTES = 1048576 |
| Hard upper bound for an individual secret, in bytes. | |
| constexpr std::size_t | MAX_SECURE_CLEANUP_ERRORS = 4 |
| Maximum separately retained cleanup diagnostics; excess failures are counted. | |
| constexpr std::array< std::string_view, 12 > | SPINNER_PRESET_NAMES |
| Canonical names in SpinnerPreset ordinal order. | |
| constexpr SizePolicy | DEFAULT_STATUS_BAR_POLICY |
| Fill offered width and request one fixed row; explicit sizing remains authoritative. | |
| constexpr std::size_t | MAX_STYLE_BASE_TYPES = 32 |
| Maximum owned ancestor names per style target, excluding its immediate type. | |
| constexpr std::size_t | MAX_STYLE_ROLE_NAME_BYTES = 63 |
| Maximum ASCII bytes in a registered lower-kebab semantic role name. | |
| constexpr std::size_t | MAX_STYLE_ROLE_PATCHES = 4096 |
| Maximum aggregate typed semantic patches in one admitted stylesheet. | |
| constexpr std::size_t | MAX_STYLE_RULES = 1024 |
| Finite typed/PSS rule budget. | |
| constexpr std::size_t | MAX_PSS_BYTES = 1024 * 1024 |
| Finite parser input byte budget. | |
| constexpr std::size_t | DEFAULT_TEXT_HISTORY_OPERATIONS = 128 |
| Default maximum combined undo and redo groups. | |
| constexpr std::size_t | DEFAULT_TEXT_HISTORY_MAX_BYTES = 1048576 |
| Default logical record and UTF-8 capacity budget, in bytes. | |
Public Portals API.
Original component error; no formatted text or borrowed exception is retained.
| using portals::InputEvent |
Independent owning result, usable beyond decoder reset/destruction.
| using portals::ManagedChartAccessor = std::function<std::optional<Ohlc>(const T &)> |
Owning projection of a borrowed domain row into an optional candle. The callback runs during preparation on UI; nullopt introduces a chart gap. It must not retain the borrowed row.
| T | Immutable domain row shared by the model and chart. |
| using portals::ManagedChartOrigin = std::function<std::expected<std::uint64_t, TreeError>()> |
Owning chart-origin callback, evaluated in registration order before chart preparation.
| using portals::ManagedEventHandler = std::function<std::expected<EventReply, TreeError>(T &, const RoutedEvent &)> |
Owning, copyable custom input adapter; arguments are borrowed for one invocation.
| T | Concrete Widget subtype, including final types. |
| using portals::ManagedListFormatter = std::function<GraphemeText(const ModelRow<T> &)> |
Owning formatter of a borrowed visible list row into owning text. The callback runs during preparation on UI and must not retain the borrowed row.
| T | Immutable domain row shared by the model and list. |
| using portals::ManagedPrepareHandler = std::function<std::expected<void, TreeError>(T &, Node<Widget>)> |
Owning, copyable custom presentation adapter at the dirty-frame boundary.
| T | Concrete Widget subtype, borrowed only during the invocation. |
| using portals::ManagedViewHandler |
Owning callback after each successful virtual-view preparation, including layout retries. Both arguments are borrowed for this invocation. Copy a request to retain provider work; use its original typed completion/retry API. Do not dispatch the scheduler, repin models, or mutate the managed registry here. Low-level presentation changes are allowed.
| T | Immutable domain row shared by the model and view. |
| using portals::PasswordFailure |
Owning original causes, including independently retained callback/cleanup diagnostics.
|
strong |
Frontend-independent commands; text and paste remain distinct data events.
|
strong |
|
strong |
Failures introduced by the runner itself.
| Enumerator | |
|---|---|
| INVALID_OPTIONS | Runner options are invalid, or a native run was requested with an injected clock. |
| ALREADY_RUN | This application has already entered its single permitted run. |
| NO_MEMORY | Allocation failed at a runner exception boundary. |
| CALLBACK_FAILED | A non-allocation exception escaped into a runner callback boundary. |
| OBSERVER_FAILED | The optional measurement observer threw an exception. |
| NOT_STARTED | A step was requested before an accepted start. |
| REENTRANT_OPERATION | A lifecycle operation was requested from an active operation or callback. |
| BACKGROUND_FAILED | Background startup/admission failed; ApplicationError::background retains the cause. |
|
strong |
Application runner phase, also used to identify a failure boundary.
| Enumerator | |
|---|---|
| CREATE | Validate options and construct the application and its core services. |
| OPEN | Enter a run and initialize its transport and runner state. |
| INPUT | Read, decode and enqueue terminal input or resize events. |
| DISPATCH | Deliver queued work through the existing scheduler. |
| PREPARE | Synchronize scene state and, when enabled, prepare views after preliminary layout. |
| RENDER | Lay out and paint the final frame, then consume commands into an owning cell buffer. |
| SUBMIT | Give the owning frame to FrameWriter for diff encoding; no transport write occurs here. |
| FLUSH | Advance encoded output through ready operations or the native deadline driver. |
| STOP | Request cancellation, stop the scheduler and invoke the scene's stop hook. |
| CLOSE | Close the transport and attempt restoration of terminal state. |
| CONTROL_LATENCY | Observer-only logical queue delay for the runner's input/resize channel, not a work phase. |
|
strong |
Failures of the optional single-frame UI coroutine adapter.
|
strong |
|
strong |
Executor admission and startup failures; domain errors stay in the result value.
|
strong |
Button caption decoration; action routing and identity remain unchanged.
| Enumerator | |
|---|---|
| BRACKETS | ASCII bracket contour spanning the allocated button width. |
| NONE | Caption only, including a single-glyph action button. |
|
strong |
Observable, owning buffer failure; no partial write or resize is returned.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Origin of an admitted activation, without inferred physical input.
| Enumerator | |
|---|---|
| PROGRAMMATIC | Explicit semantic action, the default for caller-created ActionEvent. |
| KEYBOARD | Keyboard input, including a key translated into a semantic action. |
| MOUSE | Mouse input supplied by the existing router. |
|
strong |
|
strong |
|
strong |
Presentation facts; offline is explicit domain information, never inferred from an error string.
|
strong |
|
strong |
Metadata stages; no stage contains application text or terminal bytes.
| Enumerator | |
|---|---|
| INPUT | Decoded input observed at the application or router boundary. |
| QUEUE_ACCEPTED | Publication admitted to the existing scheduler. |
| QUEUE_REJECTED | Publication rejected before delivery. |
| QUEUE_DISPATCH | Callback admitted on the UI executor. |
| QUEUE_REPLACED | New publication links to one displaced publication. |
| QUEUE_CANCELLED | Queued publication will not be delivered. |
| TARGET | Actual target selection or eligibility result. |
| FOCUS | Focus selection or change. |
| ACTION | Semantic action resolution or unhandled result. |
| HANDLER_STARTED | User event callback admitted. |
| HANDLER_RETURNED | Callback returned or failed; model effects are separate evidence. |
| PROPERTY | Observed equality or committed property change. |
| INVALIDATION | Tree work decision. |
| FRAME_REQUESTED | A cause linked to a coalesced frame. |
| FRAME_NOT_REQUESTED | No new frame was requested in this scope. |
| FRAME_SUBMITTED | Actual frame encoded and accepted by FrameWriter. |
| OUTPUT | Diff or transport result, never proof of physical display. |
| COMPLETED | Synchronous action/dispatch returned. |
| QUEUE_RETURNED | Scheduler callback returned or failed; application effects remain separate evidence. |
|
strong |
Input category only; scalar, clipboard, modifiers and coordinates are omitted.
|
strong |
Enumerated evidence, never an exception message or inferred model value.
| Enumerator | |
|---|---|
| NONE | No additional detail is available. |
| QUEUE_FULL | Configured queue capacity rejected the publication. |
| REPLACED | A later snapshot displaced this publication. |
| CANCELLED | Scope, endpoint or scheduler closed before delivery. |
| NO_TARGET | No destination was selected. |
| TARGET_DISABLED | Explicit target is hidden or disabled. |
| STALE_TARGET | Target identity is no longer live. |
| UNBOUND_ACTION | No eligible handler was registered along the route. |
| UNHANDLED | Registered handlers did not consume the event. |
| HANDLER_FAILED | Handler boundary caught a failure; prior effects remain. |
| VALUE_UNCHANGED | An observed Property comparison was equal. |
| VALUE_CHANGED | An observed Property commit or tree work change occurred. |
| OUTCOME_UNKNOWN | Return alone cannot establish application effects. |
| FRAME_NOT_REQUESTED | No new frame was requested in this scope. |
| DIFF_EMPTY | The actual encoded diff was empty. |
| OUTPUT_FAILED | Encoding or output failed; no rollback is implied. |
| OUTPUT_ACCEPTED | Transport accepted the complete consistent transaction. |
| OUTPUT_PENDING | Transport retained an unfinished suffix. |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Result of proving a decoded-scalar boundary from a fixed local original-byte window.
|
strong |
Completion, backpressure, or typed failure of a feed call.
|
strong |
|
strong |
Streaming progress, caller backpressure or an explicit lexical limitation.
|
strong |
Explicit lexical profiles; unknown names resolve to PLAIN.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Accuracy of the syntax roles actually displayed, independently of recovery errors.
|
strong |
Recovery policy; the language still selects the lexical rules.
|
strong |
Syntax projection state; text remains readable while context is prepared.
|
strong |
|
strong |
Outcome of the existing publication policy at an editing boundary.
| Enumerator | |
|---|---|
| APPLIED | Property::set changed the committed model value. |
| UNCHANGED | An equal set succeeded, or a clean editor lost focus without attempting publication. |
| DEFERRED | Focus loss retained a dirty draft without attempting publication in this mode. |
| VALIDATION_REJECTED | The existing validator rejected the retained draft. |
| CONFLICT | The model revision changed before publication. |
| FAILED | Technical failure; inspect the original result's error. |
| PENDING | This boundary retained an exact asynchronous publication intent. |
|
strong |
Boundary at which the user finishes an editing operation.
| Enumerator | |
|---|---|
| ENTER | Enter or the equivalent Action::ACTIVATE command. |
| FOCUS_LOST | Synchronous loss of this editor's focus. |
|
strong |
When an accepted editing candidate is validated and published to its model.
|
strong |
Submission and acceptance are separate protocol states.
|
strong |
|
strong |
|
strong |
Presentation of the most recent explicit or editor-publication validation.
|
strong |
File-specific failures; diagnostics retain native codes without allocating messages.
|
strong |
|
strong |
|
strong |
Model search failures, distinct from editor admission and scheduler/tree failures.
|
strong |
Submission failure; the supplied frame remains owned by the caller.
|
strong |
Built-in frame line patterns, independent of terminal width policy.
|
strong |
|
strong |
|
strong |
|
strong |
Explicit glyph map, independent of colors and geometry. NF maps use Nerd Fonts 3 Powerline codepoints. Selecting one asserts host/font support; the library neither detects missing font glyphs nor installs fonts.
|
strong |
|
strong |
|
strong |
|
strong |
Gzip cause carried in DocumentError::native; implicitly convertible to std::error_code.
|
strong |
|
strong |
Failure before any output is written.
|
strong |
|
strong |
Construction and call errors, separate from events caused by input bytes.
|
strong |
Recoverable decode issues; timeout may also leave the decoder failed.
| Enumerator | |
|---|---|
| INVALID_UTF8 | Invalid UTF-8 byte sequence or a decoded value that is not a Unicode scalar. |
| TRUNCATED | Incomplete input at stream end, or an unfinished UTF-8 scalar at its deadline. |
| UNKNOWN_SEQUENCE | Unsupported control sequence, including disabled features or unexpected replies. |
| INVALID_SEQUENCE | Malformed control syntax or invalid SGR mouse parameters. |
| SEQUENCE_LIMIT | CSI or SS3 sequence exceeds InputOptions::max_sequence_bytes. |
| PARAMETER_LIMIT | Parameter count or decimal field length exceeds max_parameters or max_digits. |
| NUMERIC_OVERFLOW | A decimal parameter cannot be represented as a uint32_t value. |
| PASTE_LIMIT | Paste payload exceeds max_paste_bytes; no partial paste event is delivered. |
| TIMEOUT | Control sequence, control string or paste reached its deadline; reset is required. |
|
strong |
Semantic key identities; character uses KeyEvent::scalar.
| Enumerator | |
|---|---|
| CHARACTER | Character key identified by KeyEvent::scalar; VT uses this for control combinations. |
| ESCAPE | Escape key, including a standalone ESC resolved by timeout or end of input. |
| ENTER | Enter key; the VT profile maps carriage return to this identity. |
| TAB | Tab key; modifiers distinguish Shift+Tab. |
| BACKSPACE | Backspace key; the VT profile accepts both BS and DEL bytes. |
| UP | Up arrow key. |
| DOWN | Down arrow key. |
| RIGHT | Right arrow key. |
| LEFT | Left arrow key. |
| HOME | Home navigation key. |
| END | End navigation key. |
| INSERT | Insert key. |
| DELETE_KEY | Delete key, distinct from the DEL byte decoded as Backspace. |
| PAGE_UP | Page Up navigation key. |
| PAGE_DOWN | Page Down navigation key. |
| F1 | Function key F1. |
| F2 | Function key F2. |
| F3 | Function key F3. |
| F4 | Function key F4. |
| F5 | Function key F5. |
| F6 | Function key F6. |
| F7 | Function key F7. |
| F8 | Function key F8. |
| F9 | Function key F9. |
| F10 | Function key F10. |
| F11 | Function key F11. |
| F12 | Function key F12. |
|
strong |
|
strong |
Why a pull stopped; deliver its event or report before calling again.
|
strong |
Accumulated work; layout always includes painting.
| Enumerator | |
|---|---|
| NONE | No new work requested. |
| PAINT | Painting is required; arranged geometry remains usable. |
| LAYOUT | Layout and painting are required; old arranged geometry becomes invalid. |
|
strong |
|
strong |
|
strong |
Eligibility observed for one immutable snapshot, not a universal conflict winner.
|
strong |
|
strong |
Alignment; center assigns floor(free/2) before the child/group.
|
strong |
|
strong |
|
strong |
Immutable presentation and outbound clipboard policy; plaintext model/history remain application-owned.
|
strong |
Observable editing or service outcome; rejection preserves the draft.
| Enumerator | |
|---|---|
| EDITED | A local draft or selection changed. |
| COMMITTED | Confirmation completed Property::set; inspect its exact receipt. |
| CANCELLED | Escape adopted the latest model snapshot. |
| COPIED | Selected bytes were accepted by the clipboard service. |
| CONFLICT | The model revision changed since this draft began. |
| INVALID_TEXT | Invalid UTF-8 or a line separator was rejected in full. |
| LIMIT_EXCEEDED | Input, cluster, grapheme or cell limit rejected the whole edit. |
| VALIDATION_FAILED | The commit validator rejected the complete draft. |
| CLIPBOARD_FAILED | The injected service was absent or rejected the operation. |
| FAILED | A tree, allocation or callback failure; inspect error. |
| PENDING | The accepted draft awaits asynchronous semantic validation; no model write occurred. |
|
strong |
Entry path that produced an editing or confirmation outcome.
|
strong |
Recoverable restore diagnostics; no outcome implicitly enables following.
|
strong |
Boundary at which a managed operation failed.
|
strong |
A requested application action; SAVE does not confirm that data was written.
|
strong |
|
strong |
Motion and wheel are separate from button transitions.
| Enumerator | |
|---|---|
| PRESS | Mouse button press. |
| RELEASE | Mouse button release. |
| MOVE | Pointer motion, with a reported button or MouseButton::NO_BUTTON. |
| SCROLL | Wheel movement in the direction given by MouseInputEvent::button. |
|
strong |
SGR button identity; NO_BUTTON is used for unbuttoned motion.
|
strong |
|
strong |
|
strong |
|
strong |
Persistence failures are separate from navigation resolution outcomes.
|
strong |
Purpose of a saved location; EDIT_ANCHOR never conveys write authority.
|
strong |
|
strong |
Allocation-free numeric validation cause, preserved by managed diagnostics.
|
strong |
|
strong |
|
strong |
|
strong |
Outcome of a protected edit or publication boundary.
| Enumerator | |
|---|---|
| EDITED | Accepted local protected draft, selection change or no-op. |
| COMMITTED | Successful Property::set; inspect the exact protected receipt. |
| CANCELLED | Checked adoption of the latest model identity. |
| CONFLICT | External model revision changed since this draft began. |
| INVALID_TEXT | Invalid UTF-8 or a line separator; no partial input accepted. |
| LIMIT_EXCEEDED | Whole-value Unicode or protected byte bound rejected the edit. |
| VALIDATION_FAILED | Semantic predicate rejected the retained protected draft. |
| CLIPBOARD_FAILED | Opted-in service absent or rejected the read. |
| FAILED | Original technical/secure cause retained in failure. |
|
strong |
|
strong |
|
strong |
Position interpretation; a row, a gap, and a text mark are not interchangeable.
| Enumerator | |
|---|---|
| ITEM | Full RowId with a version-qualified ordinal hint. |
| GAP | Boundary between rows, including the entry and end gaps. |
| TEXT | Provider-defined text mark; providers must preserve grapheme boundaries. |
|
strong |
Successful protocol outcomes; absence of support differs from missing history.
|
strong |
One-cell decoration selection under the complete receiving WidthPolicy.
|
strong |
|
strong |
Structured PSS errors independent of compiler wording.
|
strong |
|
strong |
|
strong |
PSS v0 declaration identities in metadata and compact descriptions.
| Enumerator | |
|---|---|
| FOREGROUND | RGB text color. |
| BACKGROUND | RGB fill color. |
| BOLD | Explicit bold flag. |
| ITALIC | Explicit italic flag. |
| UNDERLINE | Explicit underline flag. |
| MIN_WIDTH | State-independent cell minimum. |
| FRAME_LINE_FOREGROUND | Frame part frameLine.foreground. |
| FRAME_LINE_BACKGROUND | Frame part frameLine.background. |
| FRAME_LINE_BOLD | Frame part frameLine.bold. |
| FRAME_LINE_ITALIC | Frame part frameLine.italic. |
| FRAME_LINE_UNDERLINE | Frame part frameLine.underline. |
| FRAME_TITLE_FOREGROUND | Frame part frameTitle.foreground. |
| FRAME_TITLE_BACKGROUND | Frame part frameTitle.background. |
| FRAME_TITLE_BOLD | Frame part frameTitle.bold. |
| FRAME_TITLE_ITALIC | Frame part frameTitle.italic. |
| FRAME_TITLE_UNDERLINE | Frame part frameTitle.underline. |
| FRAME_ENDS_FOREGROUND | Frame part frameEnds.foreground. |
| FRAME_ENDS_BACKGROUND | Frame part frameEnds.background. |
| FRAME_ENDS_BOLD | Frame part frameEnds.bold. |
| FRAME_ENDS_ITALIC | Frame part frameEnds.italic. |
| FRAME_ENDS_UNDERLINE | Frame part frameEnds.underline. |
| SCROLLBAR_TRACK_FOREGROUND | Scrollbar track foreground. |
| SCROLLBAR_TRACK_BACKGROUND | Scrollbar track background. |
| SCROLLBAR_TRACK_BOLD | Scrollbar track bold. |
| SCROLLBAR_TRACK_ITALIC | Scrollbar track italic. |
| SCROLLBAR_TRACK_UNDERLINE | Scrollbar track underline. |
| SCROLLBAR_THUMB_FOREGROUND | Scrollbar thumb foreground. |
| SCROLLBAR_THUMB_BACKGROUND | Scrollbar thumb background. |
| SCROLLBAR_THUMB_BOLD | Scrollbar thumb bold. |
| SCROLLBAR_THUMB_ITALIC | Scrollbar thumb italic. |
| SCROLLBAR_THUMB_UNDERLINE | Scrollbar thumb underline. |
| SCROLLBAR_ENDS_FOREGROUND | Scrollbar ends foreground. |
| SCROLLBAR_ENDS_BACKGROUND | Scrollbar ends background. |
| SCROLLBAR_ENDS_BOLD | Scrollbar ends bold. |
| SCROLLBAR_ENDS_ITALIC | Scrollbar ends italic. |
| SCROLLBAR_ENDS_UNDERLINE | Scrollbar ends underline. |
| SCROLLBAR_ARROWS_FOREGROUND | Scrollbar arrows foreground. |
| SCROLLBAR_ARROWS_BACKGROUND | Scrollbar arrows background. |
| SCROLLBAR_ARROWS_BOLD | Scrollbar arrows bold. |
| SCROLLBAR_ARROWS_ITALIC | Scrollbar arrows italic. |
| SCROLLBAR_ARROWS_UNDERLINE | Scrollbar arrows underline. |
| SCROLLBAR_CORNER_FOREGROUND | Scrollbar corner foreground. |
| SCROLLBAR_CORNER_BACKGROUND | Scrollbar corner background. |
| SCROLLBAR_CORNER_BOLD | Scrollbar corner bold. |
| SCROLLBAR_CORNER_ITALIC | Scrollbar corner italic. |
| SCROLLBAR_CORNER_UNDERLINE | Scrollbar corner underline. |
| SCROLLBAR_TRACK_PATTERN | Independent scrollbar source. |
| SCROLLBAR_THUMB_PATTERN | Independent scrollbar source. |
| SCROLLBAR_ARROW_PATTERN | Independent scrollbar source. |
| SCROLLBAR_THUMB_START_FOREGROUND | Thumb start foreground. |
| SCROLLBAR_THUMB_START_BACKGROUND | Thumb start background. |
| SCROLLBAR_THUMB_START_BOLD | Thumb start bold. |
| SCROLLBAR_THUMB_START_ITALIC | Thumb start italic. |
| SCROLLBAR_THUMB_START_UNDERLINE | Thumb start underline. |
| SCROLLBAR_THUMB_BODY_FOREGROUND | Thumb body foreground. |
| SCROLLBAR_THUMB_BODY_BACKGROUND | Thumb body background. |
| SCROLLBAR_THUMB_BODY_BOLD | Thumb body bold. |
| SCROLLBAR_THUMB_BODY_ITALIC | Thumb body italic. |
| SCROLLBAR_THUMB_BODY_UNDERLINE | Thumb body underline. |
| SCROLLBAR_THUMB_END_FOREGROUND | Thumb end foreground. |
| SCROLLBAR_THUMB_END_BACKGROUND | Thumb end background. |
| SCROLLBAR_THUMB_END_BOLD | Thumb end bold. |
| SCROLLBAR_THUMB_END_ITALIC | Thumb end italic. |
| SCROLLBAR_THUMB_END_UNDERLINE | Thumb end underline. |
| SCROLLBAR_THUMB_SINGLE_FOREGROUND | Thumb single foreground. |
| SCROLLBAR_THUMB_SINGLE_BACKGROUND | Thumb single background. |
| SCROLLBAR_THUMB_SINGLE_BOLD | Thumb single bold. |
| SCROLLBAR_THUMB_SINGLE_ITALIC | Thumb single italic. |
| SCROLLBAR_THUMB_SINGLE_UNDERLINE | Thumb single underline. |
| SLIDER_TRACK_FOREGROUND | Slider track foreground. |
| SLIDER_TRACK_BACKGROUND | Slider track background. |
| SLIDER_TRACK_BOLD | Slider track bold. |
| SLIDER_TRACK_ITALIC | Slider track italic. |
| SLIDER_TRACK_UNDERLINE | Slider track underline. |
| SLIDER_FILL_FOREGROUND | Slider fill foreground. |
| SLIDER_FILL_BACKGROUND | Slider fill background. |
| SLIDER_FILL_BOLD | Slider fill bold. |
| SLIDER_FILL_ITALIC | Slider fill italic. |
| SLIDER_FILL_UNDERLINE | Slider fill underline. |
| SLIDER_THUMB_FOREGROUND | Slider thumb foreground. |
| SLIDER_THUMB_BACKGROUND | Slider thumb background. |
| SLIDER_THUMB_BOLD | Slider thumb bold. |
| SLIDER_THUMB_ITALIC | Slider thumb italic. |
| SLIDER_THUMB_UNDERLINE | Slider thumb underline. |
| GLYPH_PROFILE | Named base glyph map. |
| GLYPH_FALLBACK | Portable admission fallback. |
| SCROLLBAR_HORIZONTAL_TRACK_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_HORIZONTAL_THUMB_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_HORIZONTAL_START_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_HORIZONTAL_END_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_HORIZONTAL_BACKWARD_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_HORIZONTAL_FORWARD_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_HORIZONTAL_THUMB_START_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_HORIZONTAL_THUMB_BODY_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_HORIZONTAL_THUMB_END_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_HORIZONTAL_THUMB_SINGLE_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_VERTICAL_TRACK_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_VERTICAL_THUMB_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_VERTICAL_START_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_VERTICAL_END_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_VERTICAL_BACKWARD_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_VERTICAL_FORWARD_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_VERTICAL_THUMB_START_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_VERTICAL_THUMB_BODY_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_VERTICAL_THUMB_END_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_VERTICAL_THUMB_SINGLE_GLYPH | Owning runtime literal glyph. |
| SCROLLBAR_CORNER_GLYPH | Owning runtime literal glyph. |
| WIDTH | Runtime state-independent horizontal mode or exact extent. |
| HEIGHT | Runtime state-independent vertical mode or exact extent. |
| MAX_WIDTH | Runtime state-independent hard column cap. |
| MIN_HEIGHT | Runtime state-independent hard row minimum. |
| MAX_HEIGHT | Runtime state-independent hard row cap. |
| ROLE_FOREGROUND | Runtime named semantic role foreground; name is occurrence metadata. |
| ROLE_BACKGROUND | Runtime named semantic role background. |
| ROLE_BOLD | Runtime named semantic role bold. |
| ROLE_ITALIC | Runtime named semantic role italic. |
| ROLE_UNDERLINE | Runtime named semantic role underline. |
|
strong |
|
strong |
Domain query evaluation failures, separate from scheduler acceptance.
|
strong |
|
strong |
|
strong |
|
strong |
Observable full-frame failure; no partial buffer is returned.
| Enumerator | |
|---|---|
| COMMAND_LIMIT | The command count exceeds its cap. |
| TEXT_BYTE_LIMIT | Summed original text bytes exceed their cap. |
| WORK_LIMIT | Visited graphemes plus clipped fill cells exceed their cap. |
| POLICY_MISMATCH | A text run's complete captured width policy differs from the frame policy. |
| BUFFER_ERROR | Buffer creation or placement failed; RenderError::buffer_error describes it. |
| ALLOCATION_FAILURE | Temporary renderer storage could not be allocated or represented. |
| INVALID_TEXT_RANGE | A selected text range exceeds its borrowed grapheme sequence. |
|
strong |
|
strong |
Identity lookup capability and outcome for a pinned provider snapshot.
| Enumerator | |
|---|---|
| UNSUPPORTED | Provider does not implement an identity index; ordinal scrolling remains available. |
| NOT_FOUND | Provider supports lookup, but this full RowId is absent. |
| FOUND | The index identifies this RowId in the same snapshot. |
|
strong |
Checked resource failure; no arbitrary expression is evaluated.
| Enumerator | |
|---|---|
| SYNTAX | Missing delimiter, invalid token or unsupported expression. |
| INVALID_UTF8 | Source contains an invalid UTF-8 sequence. |
| INVALID_LIMIT | A resource limit is zero or depth exceeds the supported stack bound. |
| SOURCE_LIMIT | Source bytes exceed the configured cap. |
| NODE_LIMIT | Node count exceeds the configured cap. |
| DEPTH_LIMIT | Nesting exceeds the configured cap. |
| STRING_LIMIT | Decoded string bytes exceed the configured cap. |
| PROPERTY_LIMIT | A node has too many properties. |
| UNKNOWN_TYPE | Type is absent from the explicit allowlist. |
| DUPLICATE_TYPE | Registry already contains this explicit type name. |
| UNKNOWN_PROPERTY | Property is unsupported for this registered type. |
| DUPLICATE_ID | Two nodes declare the same nonempty id. |
| DUPLICATE_PROPERTY | A property or positional text was repeated. |
| INVALID_VALUE | A property value violates its declared primitive bounds. |
| CHILDREN_FORBIDDEN | A leaf type declares child nodes. |
| FILE_IO | File open/read failed; system carries the OS cause when available. |
| NO_MEMORY | Parser, resolver or recipe storage allocation failed. |
| TEXT | Original text/resource validation failed; ManagedError retains its category. |
| FACTORY | An explicit typed recipe factory failed; its original cause is preserved. |
| CYCLIC_TYPE | A named control inherits from itself, directly or indirectly. |
| TYPE_LIMIT | Named control definitions exceed their finite context budget. |
| MATERIALIZATION_LIMIT | Merged property leaves exceed the complete mount budget. |
| SECRET_LITERAL | A protected editor declares a nonempty literal or text-resource expression. |
|
strong |
Observable operation failures; no callback is started on rejection.
| Enumerator | |
|---|---|
| INVALID_ARGUMENT | Invalid option, null snapshot or unsupported lane/overflow combination. |
| WRONG_THREAD | Operation requires the creating UI thread. |
| WRONG_SCHEDULER | The supplied scope belongs to another scheduler. |
| CLOSED | Scheduler, scope, registration or endpoint is closed. |
| WOULD_BLOCK | A bounded queue or registration budget has no available slot. |
| NO_MEMORY | Allocation failed inside the operation boundary. |
| REENTRANT_DISPATCH | Dispatch or blocking wait was called from active dispatch. |
| IDENTITY_EXHAUSTED | The monotonic identity counter cannot issue another ID. |
| CALLBACK_FAILED | A user callback threw; dispatch disconnects its registration. |
|
strong |
Independent finite queues; control is serviced before data each cycle.
| Enumerator | |
|---|---|
| DATA | Ordinary immutable data publications. |
| CONTROL | Control input serviced before timers and data. |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Opt-in scrollbar glyph presets; legacy calls retain their original appearance.
|
strong |
|
strong |
|
strong |
|
strong |
Search/provider errors, separate from scheduler and UI delivery errors.
|
strong |
|
strong |
Technical failure categories independent of UI/tree errors.
|
strong |
Operation recorded without secret bytes or exception messages.
|
strong |
|
strong |
Theme-independent source roles implemented by these profiles.
|
strong |
Bounded shortcut syntax and value-validation failures, never borrowing source text.
|
strong |
Independent axis allocation policy, in integer terminal cells.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Source protocol and admission failures, independent of a provider's storage format.
|
strong |
Distinct provider states; a short ready page never implies end.
|
strong |
|
strong |
|
strong |
Original single-row indeterminate animation sequences.
|
strong |
|
strong |
Presentation states; ANY matches every state without changing behavior.
|
strong |
Independent cascade priority, before selector specificity.
| Enumerator | |
|---|---|
| DEFAULTS | Declarations above widget defaults and below all other tiers. |
| THEME | Reserved theme declarations controlled by one authority lease. |
| APPLICATION | Application overrides, above THEME. |
| USER | User overrides, above APPLICATION. |
|
strong |
Terminal failure classification; native_code provides platform detail.
|
strong |
|
strong |
Why an input or output operation returned.
|
strong |
|
strong |
Finite document error; rejected operations preserve published state.
|
strong |
Observable text construction/cursor failure.
| Enumerator | |
|---|---|
| INVALID_UTF8 | Invalid UTF-8, including overlong, surrogate or truncated input. |
| INPUT_LIMIT | Input length exceeds its configured/representation limit. |
| CLUSTER_LIMIT | One whole cluster exceeds its byte limit. |
| GRAPHEME_LIMIT | The number of clusters exceeds its limit. |
| CELL_LIMIT | Cell accumulation exceeds its configured/int32_t limit. |
| INVALID_POLICY | A width policy enum value is not recognized. |
| NOT_BOUNDARY | A cursor offset is outside the text or inside a cluster. |
|
strong |
Technical history failure; no state is changed on failure.
|
strong |
Semantic editing categories; only the first three can form groups.
|
strong |
Observable resource lookup failure, distinct from UTF-8 validation.
|
strong |
Optional top-title break decoration; NONE preserves literal legacy titles.
|
strong |
|
strong |
|
strong |
Logical admission result; visibility does not acknowledge terminal output.
|
strong |
Notification meaning, independent of persistence or application error policy.
| Enumerator | |
|---|---|
| INFO | Informational message, represented by i in monochrome. |
| SUCCESS | Successful application operation, represented by +. |
| WARNING | Application warning, represented by !. |
| FAILURE | Application failure, represented by x; does not intercept runtime errors. |
|
strong |
Checked tree failures; rejected operations never start the requested callback.
|
strong |
Execution outcome, independent of successful enqueue admission.
|
strong |
|
strong |
Retained business outcome, independent of scheduler queue acceptance.
|
strong |
|
strong |
Current consumer outcome; ready pins remain valid through every transition.
| Enumerator | |
|---|---|
| EMPTY | No explicit navigation has started. |
| LOADING | Admitted work needs worker dispatch or delivery. |
| READY | Layout demand is filled; pin retains its explicit edge. |
| PENDING | Readiness is pending; previous pin remains valid. |
| TEMPORARY_TAIL | Unfilled window reached the current forward tail. |
| FINAL_END | Unfilled window reached a definitive boundary. |
| HISTORY_UNAVAILABLE | Requested history expired; recovery is not automatic. |
| FAILED | lastError identifies failure; committed pin remains valid. |
| std::expected< void, TreeError > portals::adjustGaugeValue | ( | WidgetTree & | tree, |
| Node< Gauge > | node, | ||
| double | delta ) |
| tree | Borrowed UI owner; mutation is allowed only between frames. |
| node | Live gauge belonging to tree. |
| delta | Finite amount added to the current value without clamping. |
|
constexpr |
Combine borrowed states without allocation or retained references.
| states | Values read during this call; empty input is unchecked. |
| TableColumn< T > portals::aggregateColumn | ( | TableColumnOptions | options, |
| Formatter | formatter ) |
Create a typed column for one selected field of a PFR SimpleAggregate.
| I | Zero-based field index, less than the aggregate field count. |
| T | SimpleAggregate row type supported by Boost.PFR, without base classes, reference or const members, or C array members. |
| Formatter | Copyable callable accepting the borrowed const field and returning exactly GraphemeText. |
| options | Explicit owning ID, display header, and width. PFR member names are not captions or i18n keys. |
| formatter | Callable copied into the returned column; any captured borrows remain the caller's responsibility. |
| std::expected< std::array< TableColumn< T >, N >, TextError > portals::aggregateColumns | ( | std::array< ColumnCaption, N > | captions, |
| Formatter | formatter, | ||
| WidthPolicy | policy = {} ) |
Assemble a fixed aggregate schema without manual column IDs or generations.
| T | PFR SimpleAggregate record; borrowed const fields in declaration order. |
| N | Caption count, equal to the aggregate field count. |
| Formatter | Copyable exact GraphemeText formatter accepting every field type. |
| captions | Owning display captions and widths, in declaration order. |
| formatter | Independent owning copy per column, using the table's width policy. |
| policy | Policy used to validate every header; must match the formatter and table. |
| std::array< TableColumn< T >, N > portals::aggregateColumns | ( | std::array< TableColumnOptions, N > | options, |
| Formatter | formatter ) |
Create columns for every field in PFR's aggregate declaration order.
| T | SimpleAggregate row type supported by Boost.PFR, without base classes, reference or const members, or C array members. |
| N | Number of explicit metadata entries; must equal the PFR field count. |
| Formatter | Copyable callable accepting every borrowed const field type and returning exactly GraphemeText. |
| options | Explicit owning IDs, display headers, and widths in field order. Names are never inferred. |
| formatter | Generic callable copied independently into every column; captured references remain borrowed. |
| std::expected< LogAppendReceipt, LogError > portals::appendLogBatch | ( | WidgetTree & | tree, |
| Node< LogView > | node, | ||
| std::string_view | bytes ) |
| tree | Borrowed UI owner, outside frames; managed preparation must remain attached. |
| node | Managed initialized live log; raw WidgetTree emplacement returns INVALID_ARGUMENT. |
| bytes | Complete borrowed UTF-8 batch; copied before successful return. |
| std::expected< ActionBinding, TreeError > portals::bindButton | ( | EventRouter & | router, |
| Node< Button > | node, | ||
| std::function< void()> | action ) |
Bind one activation callback on UI outside a frame; the caller owns the returned disconnect token.
| router | Borrowed router for node's tree; its tree and Scheduler must outlive the router. The token may outlive the router, following ActionBinding's lifetime contract. |
| node | Observing button handle in router's tree; input eligibility remains the router's responsibility. |
| action | Required owning void callback, transferred into the registration. Captures must remain valid for an admitted call, including after token destruction; router reclamation releases them on UI. |
| std::bad_alloc | If construction of the by-value callback argument cannot allocate before API entry. Other exceptions from user capture construction before API entry also propagate. |
Unmodified activate (including Enter), text Space and left mouse press activate once. Releases, motion, paste and other input are ignored. Callback can remove the node/ancestor or destroy its token; existing router/tree borrows retain the admitted widget and captures. Invocation exceptions become CALLBACK_FAILED through the router and do not undo completed user effects.
| std::expected< ActionBinding, TreeError > portals::bindButtonClick | ( | EventRouter & | router, |
| Node< Button > | node, | ||
| std::function< void(const ClickEvent &)> | action, | ||
| bool | allowModified = true ) |
Bind activation with owning parameters through the existing scoped router token.
| router | Borrowed UI router; its ordinary lifetime and admission rules apply. |
| node | Live button whose identity is passed as ClickEvent::target. |
| action | Required owning callback; admitted calls survive self-removal and token destruction. |
| allowModified | Admit modified activation; false retains legacy unmodified admission. |
| std::expected< CheckBoxBinding, TreeError > portals::bindCheckbox | ( | WidgetTree & | tree, |
| EventRouter & | router, | ||
| Node< CheckBox > | node, | ||
| std::shared_ptr< Property< bool > > | model, | ||
| std::function< void(CheckBoxResult)> | changed ) |
Bind and initially synchronize a checkbox on UI outside a frame; the caller owns the returned token.
| tree | Borrowed UI tree containing node and the model's invalidation target; outlives the binding/model. |
| router | Borrowed router for the same tree; tree, router and Scheduler outlive the binding. |
| node | Observing checkbox handle receiving presentation updates and routed activations. |
| model | Required shared owner of Property<bool>; retained by the binding's action and subscription. |
| changed | Required owning callback accepting CheckBoxResult by value. It receives the exact result of this gesture's set: unexpected means no commit, while a successful receipt can contain rejected or cancelled notifications. Receipt snapshots own their value and may be retained; callbacks may remove node/ancestors or destroy the binding. Observer deliveries never call changed. |
| std::bad_alloc | If construction of the by-value callback argument cannot allocate before API entry. Other exceptions from user capture construction before API entry also propagate. |
Gestures match Button. Toggle reads the latest model, commits once, updates presentation immediately even on rejected notifications, then transfers the exact receipt to changed. Invocation exceptions follow EventRouter's CALLBACK_FAILED contract; a committed model is never rolled back. Observer deliveries read the latest snapshot, so an old queued event cannot undo a toggle.
| std::expected< CheckStateBinding, TreeError > portals::bindCheckbox | ( | WidgetTree & | tree, |
| EventRouter & | router, | ||
| Node< CheckBox > | node, | ||
| std::shared_ptr< Property< CheckState > > | model, | ||
| std::function< void(CheckStateResult)> | changed, | ||
| CheckBoxOptions | options = {} ) |
Bind an explicit checkbox state on UI, preserving Property commit receipts.
| tree | Borrowed UI tree; outlives binding, model and router. |
| router | Borrowed router for tree; existing eligibility/admission rules apply. |
| node | Observing live checkbox identity. |
| model | Required shared UI model; invalid committed enum values are rejected by sync/input. |
| changed | Required owning activation callback; receives one exact receipt, even on failure. |
| options | Owning cycle policy; invalid policy returns INVALID_ARGUMENT. |
| std::expected< LineEditBinding, TreeError > portals::bindLineEdit | ( | WidgetTree & | tree, |
| EventRouter & | router, | ||
| Node< LineEdit > | node, | ||
| std::shared_ptr< Property< std::string > > | model, | ||
| std::function< void(LineEditResult)> | result, | ||
| std::shared_ptr< Clipboard > | clipboard = {}, | ||
| std::function< bool(std::string_view)> | validate = {} ) |
Bind a one-line editor and adopt its initial model on UI outside frames.
| tree | Borrowed UI owner, outliving binding and model. |
| router | Borrowed router for this tree, outliving binding. |
| node | Observing editor handle; one action registration is allowed per node. |
| model | Required shared model owner. External values must satisfy editor text limits. |
| result | Required owning callback, invoked before typed events for editing/confirmation operations; may remove node/ancestors or destroy the binding. Successful commits stay committed if this callback throws. |
| clipboard | Optional shared UI service for Ctrl+C/X/V; absence reports CLIPBOARD_FAILED. |
| validate | Optional publication predicate borrowing an owned candidate only during its call. False preserves draft with VALIDATION_FAILED; exceptions report FAILED/CALLBACK_FAILED. |
| std::expected< LineEditBinding, TreeError > portals::bindLineEditWithEvents | ( | WidgetTree & | tree, |
| EventRouter & | router, | ||
| Node< LineEdit > | node, | ||
| std::shared_ptr< Property< std::string > > | model, | ||
| std::function< void(LineEditResult)> | result, | ||
| std::shared_ptr< Clipboard > | clipboard, | ||
| std::function< bool(std::string_view)> | validate, | ||
| LineEditEvents | events ) |
Bind a one-line editor and adopt its initial model on UI outside frames.
| tree | Borrowed UI owner, outliving binding and model. |
| router | Borrowed router for this tree, outliving binding. |
| node | Observing editor handle; one action registration is allowed per node. |
| model | Required shared model owner. External values must satisfy editor text limits. |
| result | Required owning callback, invoked before typed events for editing/confirmation operations; may remove node/ancestors or destroy the binding. Successful commits stay committed if this callback throws. |
| clipboard | Optional shared UI service for Ctrl+C/X/V; absence reports CLIPBOARD_FAILED. |
| validate | Optional publication predicate borrowing an owned candidate only during its call. False preserves draft with VALIDATION_FAILED; exceptions report FAILED/CALLBACK_FAILED. |
| events | Typed observations delivered after the legacy result; no borrowed widget text survives callbacks. |
| std::expected< PasswordBinding, PasswordFailure > portals::bindPassword | ( | WidgetTree & | tree, |
| EventRouter & | router, | ||
| Node< Password > | node, | ||
| std::shared_ptr< Property< PasswordValue > > | model, | ||
| std::function< void(PasswordResult)> | onResult, | ||
| std::shared_ptr< Clipboard > | clipboard = {}, | ||
| std::function< bool(SecretView)> | validate = {} ) |
Bind and securely inspect the initial model before publishing presentation.
| tree | Borrowed UI owner, outliving binding and model. |
| router | Borrowed router for tree, outliving binding. |
| node | Live protected editor; one action binding per node is permitted. |
| model | Shared protected model owner; external replacements are checked before input. |
| onResult | Required owning UI callback; may remove this node or binding. |
| clipboard | Optional shared service, called only with explicit ENABLED paste policy. |
| validate | Optional owning semantic validator, borrowing plaintext synchronously; false retains the draft. |
| std::expected< RadioGroupBinding, TreeError > portals::bindRadioGroup | ( | WidgetTree & | tree, |
| EventRouter & | router, | ||
| Node< RadioGroup > | node, | ||
| std::shared_ptr< Property< RadioGroupValue > > | model, | ||
| std::function< void(RadioGroupResult)> | changed ) |
| tree | Borrowed live UI tree. |
| router | Existing router, no additional runtime. |
| node | Live group without another binding. |
| model | Authoritative coherent state. |
| changed | Required callback receiving the exact commit/delivery receipt, including failures. |
| std::expected< ActionBinding, TreeError > portals::bindScrollArea | ( | EventRouter & | router, |
| WidgetTree & | tree, | ||
| Node< ScrollArea > | node ) |
| router | Existing router that must outlive the binding and its admitted calls. |
| tree | Same borrowed tree as router; UI-only, outside dispatch/frame. |
| node | Live area; initializes its lease if needed. |
| std::expected< ActionBinding, TreeError > portals::bindScrollArea | ( | EventRouter & | router, |
| WidgetTree & | tree, | ||
| Node< ScrollArea > | node, | ||
| ScrollRepeatServices | services ) |
| router | Existing input owner. |
| tree | Same UI tree. |
| node | Live area. |
| services | Existing scheduler/clock/error services, retained until node retirement. |
| std::expected< ActionBinding, TreeError > portals::bindScrollBar | ( | EventRouter & | router, |
| WidgetTree & | tree, | ||
| Node< ScrollBar > | node, | ||
| bool | geometryWriter = true ) |
| router | Existing router, outliving the binding/admitted calls. |
| tree | Same UI tree as router. |
| node | Live standalone bar. |
| geometryWriter | Initialization role; false shares an area's controller metrics. |
| std::expected< ActionBinding, TreeError > portals::bindScrollBar | ( | EventRouter & | router, |
| WidgetTree & | tree, | ||
| Node< ScrollBar > | node, | ||
| ScrollRepeatServices | services, | ||
| bool | geometryWriter = true ) |
| router | Existing input owner. |
| tree | Same UI tree. |
| node | Live bar. |
| services | Existing scheduler/clock/error services. |
| geometryWriter | Existing metrics role. |
| std::expected< SliderBinding, TreeError > portals::bindSlider | ( | WidgetTree & | tree, |
| EventRouter & | router, | ||
| Node< Slider > | node, | ||
| std::shared_ptr< Property< NumericValue > > | model, | ||
| std::function< void(SliderResult)> | changed, | ||
| std::function< void(const SliderOperationEvent &)> | finished = {} ) |
| tree | Borrowed UI tree, required to outlive the binding and model. |
| router | Borrowed router for this tree, required to outlive the binding. |
| node | Live slider receiving input and synchronized presentation. |
| model | Required shared owner of an invariant-preserving numeric Property. |
| changed | Required exact user-commit observation; external writes and no-ops never invoke it. |
| finished | Optional owning operation observation, once per completed/cancelled/conflicted gesture. |
| std::expected< SpinBoxBinding, TreeError > portals::bindSpinBox | ( | WidgetTree & | tree, |
| EventRouter & | router, | ||
| Node< LineEdit > | editor, | ||
| Node< Button > | decrease, | ||
| Node< Button > | increase, | ||
| std::shared_ptr< Property< NumericValue > > | model, | ||
| std::uint64_t | pageSteps, | ||
| std::function< void(SpinBoxResult)> | result, | ||
| LineEditEvents | events = {} ) |
Bind pre-mounted editor/decrement/increment children of one SpinBox.
| tree | Borrowed UI tree outliving the binding. |
| router | Borrowed matching router. |
| editor | The single ordinary editor. |
| decrease | Nonfocusable plain decrement button. |
| increase | Nonfocusable plain increment button. |
| model | Required authoritative numeric source. |
| pageSteps | Positive number of increments per PageUp/PageDown. |
| result | Required owning result observer; callbacks may remove nodes or destroy the binding. |
| events | Existing typed text and confirmation observations. |
| std::expected< ActionBinding, TreeError > portals::bindVirtualList | ( | EventRouter & | router, |
| WidgetTree & | tree, | ||
| Node< VirtualList< T > > | node ) |
Bind arrows/Home/End, left press and integral wheel scrolling to the existing router. Caller retains the scoped binding. Tree/router outlive it; no widget pointer escapes dispatch.
| T | Immutable domain row type, as defined by VirtualList. |
| router | Existing UI router; no additional queue or focus system is created. |
| tree | The same borrowed tree used by router; it must outlive the registration. |
| node | Checked list observer to register as focusable. |
| std::expected< ActionBinding, TreeError > portals::bindVirtualTable | ( | EventRouter & | router, |
| WidgetTree & | tree, | ||
| Node< VirtualTable< T > > | node ) |
Bind arrows/Home/End, left press and integral wheel scrolling to the existing router. Caller retains the scoped binding. Tree/router outlive it; no widget pointer escapes dispatch.
| T | Immutable domain row type, as defined by VirtualTable. |
| router | Existing UI router; no additional queue or focus system is created. |
| tree | The same borrowed tree used by router; it must outlive the registration. |
| node | Checked table observer to register as focusable. |
| StyleSheet portals::catppuccinLatteTheme | ( | ) |
| CellFormat< T > portals::cellFormat | ( | std::format_string< const T & > | pattern, |
| WidthPolicy | policy = {} ) |
Build a reusable column formatter without a formatting lambda.
| T | Standard-formattable field type borrowed as const T &. |
| pattern | Compile-time checked format specification for that field type. |
| policy | Captured width policy matching the table. |
| std::expected< void, TreeError > portals::clearLog | ( | WidgetTree & | tree, |
| Node< LogView > | node ) |
| tree | UI owner with managed preparation. |
| node | Managed initialized live log. |
|
inline |
Construct typed metadata from UTF-8 without unchecked header extraction.
| id | Explicit nonzero stable column identity; validation remains with the table. |
| header | UTF-8 bytes borrowed only for this call, copied on success. |
| width | Column width in cells; validated by the existing table preparation. |
| policy | Display policy matching the receiving table. |
| std::bad_alloc | If independent text storage cannot be allocated. |
| std::expected< std::shared_ptr< const DocumentCopy >, DocumentError > portals::copyDocumentBytes | ( | std::shared_ptr< ByteDocumentSource > | source, |
| DocumentByteRange | range, | ||
| std::size_t | maxBytes = 64 * 1024, | ||
| std::stop_token | stop = {} ) |
| source | Retained worker source. |
| range | Explicit range or known complete extent. |
| maxBytes | Positive output ceiling; default64KiB, independent of source size. |
| stop | Cooperative cancellation. |
|
constexpr |
| status | Prepared owning facts. |
|
noexcept |
Resolve supported ASCII names without allocating.
| name | Case-insensitive plain/text, sql/postgresql/postgres, mysql or markdown/md name. |
| std::expected< DocumentViewStatus, TreeError > portals::documentViewStatus | ( | WidgetTree & | tree, |
| Node< DocumentView > | node ) |
| tree | UI owner outside frames. |
| node | Live managed viewer. |
|
noexcept |
Exact qualification; this does not prove a backend applied its precondition.
| target | Original owning request qualification. |
| receipt | Delivered backend acknowledgement. |
|
nodiscard |
Encode changed complete rows into one owning VT transaction.
| previous | Borrowed last completed frame, or null for a complete repaint. |
| next | Borrowed desired frame; no view is retained or invalidated. |
| max_bytes | Maximum encoded bytes, including control sequences. |
| colorMode | Fixed output palette. Use the same mode for previous and next; changing mode requires previous=nullptr. ANSI16 uses the conventional RGB palette; a terminal may customize its physical palette. |
Any thread with stable inputs; no I/O. IDs are never compared across buffers. Size/policy changes force a clear and complete repaint. The surface must match the terminal viewport. The owner supplies a UTF-8 VT terminal in ground parser state, with no concurrent writers and matching width policy. Transactions establish replacement mode, full scrolling region, absolute origin, and disabled autowrap; finish at home with default SGR and wrap on. The owner is responsible for restoring these modes on exit. This is not a general parser recovery sequence. Full output starts with CAN, which aborts incomplete CSI/UTF-8 on supported terminals after the old transport is quiescent. Recovery covers only prefixes emitted by this encoder, never arbitrary OSC/DCS.
| std::expected< RowLookup, TreeError > portals::ensureVirtualListVisible | ( | WidgetTree & | tree, |
| Node< VirtualList< T > > | node, | ||
| const ModelFrame< T > & | frame, | ||
| RowId | id ) |
Reveal a stable row using a caller-supplied shared pin and the last prepared viewport.
| T | Immutable row type satisfying VirtualList's provider contract. |
| tree | Borrowed UI owner, outside its frame. |
| node | Checked non-owning view observer. |
| frame | Pin of the same model, used for identity and bounds; prepare this pin before painting. |
| id | Full stable row identity; selection is unchanged. |
| std::expected< RowLookup, TreeError > portals::ensureVirtualTableVisible | ( | WidgetTree & | tree, |
| Node< VirtualTable< T > > | node, | ||
| const ModelFrame< T > & | frame, | ||
| RowId | id ) |
Reveal a stable row using a caller-supplied shared pin and the last prepared viewport.
| T | Immutable row type satisfying VirtualTable's provider contract. |
| tree | Borrowed UI owner, outside its frame. |
| node | Checked non-owning view observer. |
| frame | Pin of the same model, used for identity and bounds; prepare this pin before painting. |
| id | Full stable row identity; selection is unchanged. |
| std::string portals::exportDiagnostics | ( | const DiagnosticSnapshot & | snapshot | ) |
Serialize metadata in memory; performs no stream/file/terminal I/O.
| snapshot | Owning bounded snapshot obtained outside frame hooks. |
| DocumentExportResult portals::exportDocument | ( | std::shared_ptr< ByteDocumentSource > | source, |
| std::shared_ptr< DocumentExportSink > | sink, | ||
| DocumentByteRange | range = {}, | ||
| DocumentExportOptions | options = {}, | ||
| std::stop_token | stop = {} ) |
| source | Retained logical source; no view or UI object is retained. |
| sink | Owning worker-safe output policy. |
| range | Original logical-byte range, default through EOF. |
| options | Bounded worker read quantum. |
| stop | Cooperative read/write cancellation. |
| std::expected< void, TreeError > portals::followLogTail | ( | WidgetTree & | tree, |
| Node< LogView > | node ) |
| tree | UI owner with managed preparation. |
| node | Managed initialized live log. |
|
nodiscardnoexcept |
Format at most one row, padding absent byte slots with spaces. Input, text, and cells must not overlap. Input is not retained or modified; output remains in caller-owned buffers and is valid for their lifetime. Every output character is printable ASCII. No terminator is appended. The caller must account for the output capacity before calling. Errors write nothing.
| input | Source bytes; excess beyond one row remains unconsumed. |
| absoluteOffset | Absolute offset of the first source byte. |
| options | Row formatting parameters. |
| text | Caller-owned text output with at least hexRowWidth(options) elements. |
| cells | Caller-owned output with at least the consumed byte count elements. |
| std::expected< GraphemeText, TextError > portals::formatText | ( | std::format_string< Args... > | pattern, |
| Args &&... | args ) |
Format checked text under the default display policy.
| Args | Types accepted by the standard compile-time checked format string. |
| pattern | Standard format string checked against Args. |
| args | Values borrowed only for this call; no references are retained. |
| std::bad_alloc | If formatting or validation storage allocation fails. |
| std::format_error | If a custom formatter fails. |
| std::expected< GraphemeText, TextError > portals::formatText | ( | WidthPolicy | policy, |
| std::format_string< Args... > | pattern, | ||
| Args &&... | args ) |
Format and validate an owning text value with an explicit width policy.
| Args | Argument types accepted by the compile-time checked standard format string. |
| policy | Display policy captured by the returned text; use the receiving view's policy. |
| pattern | Standard format string, checked against Args at compilation. |
| args | Values borrowed only during this synchronous call. |
| std::bad_alloc | If formatting or text storage cannot be allocated. |
| std::format_error | If a user-defined formatter fails. |
| std::expected< TextSegments, TreeError > portals::graphemes | ( | const GraphemeText & | input, |
| TextSplitOptions | options = {} ) |
Return one token for every existing extended grapheme, including whitespace.
| input | Validated owning input borrowed only during the call. |
| options | Whole input bounds and positive token cap. |
| StyleSheet portals::gruvboxTheme | ( | ) |
|
nodiscardnoexcept |
Calculate the complete width of a row for layout and auto-fit decisions.
| options | Row formatting parameters. |
|
nodiscardconstexpr |
Copy a resource key for later resolution through an explicit caller.
| key | Opaque resource key borrowed only during this call; empty keys are permitted. |
| std::bad_alloc | If key storage cannot be allocated. |
| std::length_error | If key storage exceeds implementation limits. |
| std::expected< void, TreeError > portals::initializeScrollArea | ( | WidgetTree & | tree, |
| Node< ScrollArea > | node ) |
| tree | Borrowed UI owner, between frames. |
| node | Live area; repeated initialization preserves its existing lease and position. |
| std::expected< void, TreeError > portals::initializeScrollBar | ( | WidgetTree & | tree, |
| Node< ScrollBar > | node, | ||
| bool | geometryWriter = true ) |
| tree | Borrowed UI owner, between frames. |
| node | Live standalone projection. |
| geometryWriter | True for sole standalone metrics ownership; false projects an area. |
|
constexprnoexcept |
| phase | Presentation to inspect. |
|
constexprnoexcept |
Match a semantic key press or repeat without extracting the event variant.
| event | Borrowed input event, never retained or consumed. |
| key | Semantic key identity; CHARACTER does not compare its Unicode scalar. |
|
constexprnoexcept |
Match a semantic press/repeat with the complete modifier combination.
| event | Borrowed input event, never retained or consumed. |
| key | Semantic identity; use KeyEvent::scalar separately for CHARACTER keys. |
| modifiers | Exact required modifiers, including false fields. |
|
constexprnoexcept |
Match any listed semantic key on press/repeat, ignoring modifiers.
| event | Borrowed input event, never retained or consumed. |
| keys | Key alternatives borrowed for this call; an empty list never matches. |
| std::expected< void, TreeError > portals::layoutTree | ( | WidgetTree & | tree, |
| Node< Widget > | node, | ||
| CellRect | local, | ||
| CellRect | viewport ) |
Measure and arrange a subtree inside an active tree frame.
| tree | Tree borrowed on its UI owner inside an active frame. |
| node | Root of the subtree to measure and arrange. |
| local | Root placement relative to its parent; descendants receive parent-local rectangles. |
| viewport | Surface-cell clip applied to the whole pass. |
| std::expected< NavigationCheckpoint, NavigationCheckpointError > portals::loadNavigationCheckpoint | ( | NavigationCheckpointStorage & | storage, |
| NavigationCheckpointOptions | options = {}, | ||
| std::stop_token | stop = {} ) |
| storage | Explicit caller-owned storage. |
| options | Bounded read/parse capacities. |
| stop | Cooperative cancellation. |
| std::expected< LogNavigation, SourceError > portals::logNavigation | ( | WidgetTree & | tree, |
| Node< LogView > | node ) |
| tree | UI owner outside frames. |
| node | Mounted external-source log. |
| std::expected< LogStatus, TreeError > portals::logStatus | ( | WidgetTree & | tree, |
| Node< LogView > | node ) |
| tree | UI owner with managed preparation. |
| node | Managed initialized live log. |
|
noexcept |
| error | Typed gzip content or resource-limit cause. |
| std::expected< std::unique_ptr< BackgroundJob >, BackgroundError > portals::makeBackgroundJob | ( | std::shared_ptr< const Input > | input, |
| AsyncReply< Output > | reply, | ||
| Work | work ) |
Prepare owning immutable work without running it on the caller's UI thread.
| Input | Transitively immutable input with worker-safe ownership/deletion. |
| Output | Transitively immutable result; may itself contain expected<DomainValue, DomainError>. |
| Work | Nothrow-movable worker-safe callable accepting const Input& and stop_token, returning shared_ptr<const Output> or expected<shared_ptr<const Output>, AsyncError>. Captures must not contain UI objects or coroutine storage. |
| input | Non-null immutable input owner; mutable aliases must not change it. |
| reply | Worker-safe endpoint registered by the existing UI awaiter before admission. |
| work | Owning callable invoked once after admission; exceptions use existing async classifications. |
|
noexcept |
| shortcut | Borrowed validated alternatives; never retained or mutated. |
| event | Borrowed input event. ASCII letters fold case, with every modifier compared exactly. |
| behavior | PRESS-only default; repeat requires explicit opt-in. |
| StyleSheet portals::modernTheme | ( | ) |
| std::expected< void, TreeError > portals::navigateVirtualRows | ( | WidgetTree & | tree, |
| Node< VirtualRows< T > > | node, | ||
| SourceAnchor | anchor, | ||
| SourceDirection | direction = SourceDirection::FORWARD ) |
Request a capability-gated native row/tail/cursor operation.
| T | Domain row. |
| tree | UI owner. |
| node | Live host. |
| anchor | Exact source operation. |
| direction | Existing provider traversal direction. |
| StyleSheet portals::nordTheme | ( | ) |
| std::expected< void, TreeError > portals::notifyVirtualRowsReady | ( | WidgetTree & | tree, |
| Node< VirtualRows< T > > | node, | ||
| std::uint64_t | revision ) |
Publish a native provider readiness revision through the existing source notifier.
| T | Domain row. |
| tree | UI owner. |
| node | Live host. |
| revision | Positive strictly newer revision. |
|
nodiscard |
Open the native transport with an explicit session button-motion requirement.
| handles | Borrowed native handles, duplicated by the session. |
| options | Positive bounded native resource limits. |
| modeTimeout | Positive independent setup/cleanup I/O budget in milliseconds. |
| mouseReporting | False disables mouse protocol setup and pointer capture regardless of buttonMotion. |
| screen | Managed main or alternate screen policy, as in the original overload. |
| buttonMotion | Opt into POSIX 1002 and native held-button motion/release capability for this session. Late-mounted controls cannot activate another mode; hosts must explicitly cancel lost sequences. |
| std::bad_alloc | Allocation failure; acquired native state receives best-effort cleanup. |
|
nodiscard |
Open a native session with optional precise pointer negotiation.
| handles | Exclusively borrowed native terminal handles. |
| options | Existing bounded I/O policy. |
| modeTimeout | Positive setup/restoration budget; optional probes reserve legacy setup time. |
| mouseReporting | Whether managed mouse reporting is enabled. |
| screen | Existing managed-screen policy. |
| buttonMotion | Whether the scene needs button motion and release. |
| pointer | Advanced AUTO/OFF and explicit FIFO host declaration; unconfirmed hosts use cells. On POSIX, every mouse-enabled startup requires an initial cell context. Known active 1016 returns INPUT_PROTOCOL with INITIAL_PIXEL_CONTEXT_UNKNOWN before encoding/tracking changes, including OFF and hosts without a FIFO declaration. Disabling mouse reporting skips these mode queries and does not classify pre-existing foreign mouse input. |
| std::bad_alloc | Allocation failure; acquired state receives best-effort cleanup. |
|
nodiscard |
Open an exclusive native transport with managed screen and optional mouse reporting.
POSIX setup queries coordinate encodings and saves xterm tracking modes before enabling SGR button reports. Windows uses native mouse records and sends no mouse setup bytes.
Successful setup preserves non-query input for the first read; failed setup consumes already read input and returns no replay adapter. Replies are matched by mode/status, not authenticated. The adapter requires the steady-clock epoch and exclusive terminal I/O.
Close gives retryable output drain and final managed screen/mouse restoration separate fresh I/O budgets, then closes the OS session. Joining uncertain Windows I/O can exceed the drain budget; the restoration budget starts after that join. These budgets do not bound total close duration. Its noexcept destructor performs best effort.
XTSAVE overwrites one-level tracking/visibility caches; confirmed DECSC capture overwrites saved cursor state. Nested screen owners, previously saved caches and competing mode changes are unsupported. Setup/cleanup bypass frame byte statistics.
| handles | Borrowed native input/output handles, duplicated by TerminalSession. |
| options | Positive resource limits, including retained non-query startup input bytes. |
| modeTimeout | Positive I/O budget for startup, shutdown drain and final restoration, applied separately in milliseconds. It does not bound a native worker join or total shutdown duration. |
| mouseReporting | Enable managed POSIX mouse modes; false skips only mouse setup I/O. |
| screen | ALTERNATE_SCREEN preserves the caller's main screen/cursor/rendition; MAIN_SCREEN paints it directly. Alternate screen ownership starts on the main screen and is not nestable. POSIX saved cursor-visibility storage and DEC cursor-save state are borrowed exclusively; their previous saved caches are not preserved. Window resize keeps the new geometry; the host reflows/crops primary content and adjusts the saved cursor. Startup/cleanup require compatible VT1049 support. Cleanup cancels and joins any uncertain Windows write before sending its final restoration batch, then restores OS modes even if that output fails. Broken/stalled hosts and abrupt process death can prevent screen restoration. |
| std::bad_alloc | If allocation fails; acquired native/screen/mouse state receives best-effort cleanup. |
| std::expected< void, TreeError > portals::pageVirtualRows | ( | WidgetTree & | tree, |
| Node< VirtualRows< T > > | node, | ||
| bool | backwards = false ) |
Navigate one bounded delivered page, preserving unknown source extent.
| T | Domain row type. |
| tree | UI owner. |
| node | Live host. |
| backwards | Request backward traversal. |
| std::expected< StyleSheet, StyleError > portals::parsePss | ( | std::string_view | source | ) |
Parse strict PSS v0 without I/O or mutation, on any thread.
| source | Borrowed UTF-8 source; identifiers and grammar are ASCII, copied on success. |
| std::expected< PssDocument, PssError > portals::parsePssDocument | ( | std::string_view | bytes, |
| std::string_view | sourceName = {} ) |
Parse strict UTF-8 PSS v0 into owning declarations and source metadata, without I/O.
| bytes | Borrowed input, at most MAX_PSS_BYTES; permits one leading UTF-8 BOM, rejects NUL. |
| sourceName | Borrowed UTF-8 identity copied on success, at most MAX_PSS_SOURCE_NAME_BYTES. |
| std::expected< Shortcut, ShortcutError > portals::parseShortcut | ( | std::string_view | source, |
| ShortcutOptions | options = {} ) |
| source | Borrowed for this call only; ASCII names ignore case and surrounding ASCII whitespace. |
| options | Positive finite byte/alternative/stroke budgets. |
|
noexcept |
| request | Still-current navigation request. |
| reply | Completed provider receipt. |
| std::expected< std::optional< ModelRequest< T > >, TreeError > portals::prepareChart | ( | WidgetTree & | tree, |
| Node< Chart< T > > | node, | ||
| const ModelFrame< T > & | frame, | ||
| CellSize | viewport, | ||
| std::uint64_t | first = 0 ) |
Prepare at most one domain bucket per viewport column between frames. Shares the caller's ModelFrame with sibling tables. Returns new pending-range work once; the caller dispatches that token, then pins again after scheduler delivery. No workers start here. Invalid OHLC ordering/nonfinite fields become gaps; provider pending/error states produce a blank plot.
| T | Immutable provider row type, borrowed by the chart's accessor. |
| tree | UI tree owning the node; must not be inside a frame. |
| node | Checked observing chart handle. |
| frame | Same model's immutable pin; a foreign consumer fails before provider/accessor calls. |
| viewport | Final local nonnegative cell extent; resize requires preparation again. |
| first | First domain row, clamped to rowCount; no full model scan or implicit downsampling. |
| std::expected< std::optional< ModelRequest< T > >, TreeError > portals::prepareChart | ( | WidgetTree & | tree, |
| Node< Chart< T > > | node, | ||
| const ModelFrame< T > & | frame, | ||
| const Geometry & | layout, | ||
| std::uint64_t | first = 0 ) |
Prepare a chart using its captured local layout extent.
| T | Immutable row type accepted by the chart's OHLC accessor. |
| Geometry | Deduced LayoutSnapshot; deduction preserves existing braced CellSize calls. |
| tree | Borrowed UI owner; call outside its frame. |
| node | Checked observing chart handle from this tree. |
| frame | Shared model pin retained across all sibling preparations and layout retries. |
| layout | Owning geometry captured for this preparation pass; hidden ancestors yield zero size. |
| first | Zero-based first logical bucket, clamped by the existing chart preparation. |
| std::expected< void, TreeError > portals::prepareScrollArea | ( | WidgetTree & | tree, |
| Node< ScrollArea > | node, | ||
| const ScrollAreaLayoutSnapshot & | layout ) |
| tree | Borrowed UI owner, between frames. |
| node | Initialized area that originally produced layout. |
| layout | Owning observation from one completed pass; capture all sibling observations first. |
| std::expected< ScrollPreparationResult, TreeError > portals::prepareScrollAreas | ( | WidgetTree & | tree, |
| std::span< const Node< ScrollArea > > | areas, | ||
| const LayoutSnapshot & | snapshot, | ||
| std::optional< ScrollRevealTarget > | reveal = {} ) |
Prepare all ordinary scroll areas against one immutable geometry profile.
| tree | Live UI tree, between frames and outside callbacks that mutate this same registration set. |
| areas | Initialized unique area identities; order does not affect nested reveal. |
| snapshot | GEOMETRY profile captured after the complete preliminary layout, before invalidations. |
| reveal | Optional pending one-shot target; readOnly does not prohibit this programmatic reveal. |
| std::expected< std::optional< ModelRequest< T > >, TreeError > portals::prepareVirtualList | ( | WidgetTree & | tree, |
| Node< VirtualList< T > > | node, | ||
| const ModelFrame< T > & | frame, | ||
| CellSize | viewport ) |
Prepare a local final viewport between frames, using the same pin as every sibling view. Returns a new request exactly once for caller dispatch. No worker is started. A rejected completion can be retried on that token; cancel it if dispatch fails, then prepare again for a new receipt. Hidden ancestors cancel work and release prepared rows. Failure leaves the previous presentation intact. Tree affinity/frame errors, invalid dimensions/ranges, NO_MEMORY and CALLBACK_FAILED are explicit.
| T | Immutable domain row type satisfying VirtualList's provider/delegate contract. |
| tree | UI owner; borrowed only for this call, no calls during its frame. |
| node | Checked observer of the list to prepare. |
| frame | One shared application pin; the view retains an owning copy on success. |
| viewport | Final local size from the application's layout constraints, in nonnegative cells. |
| std::expected< std::optional< ModelRequest< T > >, TreeError > portals::prepareVirtualList | ( | WidgetTree & | tree, |
| Node< VirtualList< T > > | node, | ||
| const ModelFrame< T > & | frame, | ||
| const Geometry & | layout ) |
Prepare a list using its captured local layout extent.
| T | Immutable row type satisfying VirtualList's provider and delegate contract. |
| Geometry | Deduced LayoutSnapshot; deduction preserves existing braced CellSize calls. |
| tree | Borrowed UI owner; call outside its frame. |
| node | Checked observing list handle from this tree. |
| frame | Shared model pin retained across all sibling preparations and layout retries. |
| layout | Owning geometry captured for this preparation pass; never consults live geometry. |
| std::expected< std::optional< ModelRequest< T > >, TreeError > portals::prepareVirtualTable | ( | WidgetTree & | tree, |
| Node< VirtualTable< T > > | node, | ||
| const ModelFrame< T > & | frame, | ||
| CellSize | viewport ) |
Prepare a local final viewport between frames, using the same pin as every sibling view. Returns a new request exactly once for caller dispatch. No worker is started. A rejected completion can be retried on that token; cancel it if dispatch fails, then prepare again for a new receipt. Hidden ancestors cancel work and release prepared rows. Failure leaves the previous presentation intact. The viewport includes the fixed one-cell header. Exceeded row/cell/text budgets return INVALID_ARGUMENT. Tree affinity/frame errors, invalid dimensions/ranges, NO_MEMORY and CALLBACK_FAILED are explicit.
| T | Immutable domain row type satisfying VirtualTable's provider/delegate contract. |
| tree | UI owner; borrowed only for this call, no calls during its frame. |
| node | Checked observer of the table to prepare. |
| frame | One shared application pin; the view retains an owning copy on success. |
| viewport | Final local size from the application's layout constraints, in nonnegative cells. |
| std::expected< std::optional< ModelRequest< T > >, TreeError > portals::prepareVirtualTable | ( | WidgetTree & | tree, |
| Node< VirtualTable< T > > | node, | ||
| const ModelFrame< T > & | frame, | ||
| const Geometry & | layout ) |
Prepare a table using its captured local layout extent, including its header.
| T | Immutable row type satisfying VirtualTable's provider and column contract. |
| Geometry | Deduced LayoutSnapshot; deduction preserves existing braced CellSize calls. |
| tree | Borrowed UI owner; call outside its frame. |
| node | Checked observing table handle from this tree. |
| frame | Shared model pin retained across all sibling preparations and layout retries. |
| layout | Owning geometry captured for this preparation pass; survives sibling invalidation. |
| std::expected< void, SourceError > portals::refreshDocument | ( | WidgetTree & | tree, |
| Node< DocumentView > | node ) |
| tree | UI owner outside frames. |
| node | Live managed viewer. |
|
nodiscard |
Render a deterministic fresh frame, independent of diff/damage/output code.
| size | Owning cell extents; negative components normalize to zero. |
| commands | Scene borrowed only during this synchronous call, with its text. |
| policy | Complete owning width policy; every text run must match, even offscreen. |
| limits | Owning scene/work/buffer caps; rejection never truncates a scene. |
Any thread may call with stable input; there is no I/O, global state, callback or terminal affinity. Concurrent calls on unchanged input are safe. The call never mutates or invalidates inputs and retains no borrow. Buffer view invalidation follows CellBuffer. Allocation failures become errors. The caller owns frame scheduling and layout/paint invalidation, including width-policy changes.
Text advances by whole measured graphemes using wide arithmetic. New glyphs are placed only when their complete footprint fits clip and surface. Touching an old wide continuation clears its lead as well, possibly outside the new clip, to preserve complete clusters. Fill has the same atomic old-cluster cleanup rule.
| std::expected< GridPlacementPlan, TreeError > portals::resolveGridPlacements | ( | const DeclarativeGridOptions & | options, |
| std::span< const GridItemOptions > | items ) |
Resolve sparse placement without factories, tree access or retained input views.
| options | Counts, direction, gaps and finite work budgets, borrowed only for this call. |
| items | Complete structural order, including hidden children; explicit rectangles reserve first. |
|
noexcept |
Resolve one subject through the same engine used by typed and PSS installation.
| sheet | Valid rules (nonnegative minWidth, at most MAX_STYLE_RULES); immutable during this call. This metadata-only preview ignores a sheet node scope; the owning engine checks scope against live NodeId. |
| target | Borrowed matching metadata; no data are retained. |
| defaults | Owning built-in/custom widget defaults beneath all matching declarations. |
| readOnly | Orthogonal view-only fact; engines read the live widget instead of retaining this flag. |
| std::expected< void, TreeError > portals::retryVirtualList | ( | WidgetTree & | tree, |
| Node< VirtualList< T > > | node ) |
Explicitly retry a provider error/pending range at the next preparation; no worker is started.
| T | Immutable domain row type, as defined by VirtualList. |
| tree | Borrowed UI owner; mutation inside a frame is rejected. |
| node | Checked list observer. |
| std::expected< void, TreeError > portals::retryVirtualTable | ( | WidgetTree & | tree, |
| Node< VirtualTable< T > > | node ) |
Explicitly retry a provider error/pending range at the next preparation; no worker is started.
| T | Immutable domain row type, as defined by VirtualTable. |
| tree | Borrowed UI owner; mutation inside a frame is rejected. |
| node | Checked table observer. |
| std::expected< void, NavigationCheckpointError > portals::saveNavigationCheckpoint | ( | const NavigationCheckpoint & | checkpoint, |
| NavigationCheckpointStorage & | storage, | ||
| std::stop_token | stop = {} ) |
| checkpoint | Existing immutable value. |
| storage | Explicit caller-owned storage. |
| stop | Cooperative cancellation. |
| std::expected< ScrollAreaLayoutSnapshot, TreeError > portals::scrollAreaLayout | ( | WidgetTree & | tree, |
| Node< ScrollArea > | node ) |
| tree | Borrowed UI owner; capture after successful complete layout, before invalidation. |
| node | Live initialized area. |
|
nodiscardconstexprnoexcept |
Map an exact logical position to eighth-cell thumb placement.
| metrics | Owning logical range; every uint64 extent/viewport is supported. |
| offset | Exact raster plus finite remainder in [0,1), clamped to the range. |
| trackLength | Nonnegative trimmed track length, in cells. |
| minimumThumb | Positive minimum thumb length, in cells, capped by the track. |
|
nodiscardconstexprnoexcept |
Inverse thumb mapping, rounded to nearest integer with ties toward the start.
| position | Signed intended thumb-start cell, clamped into [0,travel]. |
| travel | Nonnegative maximum thumb-start cell; zero returns position zero. |
| maximum | Inclusive exact logical maximum, including UINT64_MAX. |
|
nodiscardconstexprnoexcept |
Compute one page movement using guarded unsigned subtraction.
| viewport | Logical visible cells; zero means movement is unavailable. |
| overlap | Cells shared by consecutive pages, including values greater than viewport. |
|
nodiscardconstexprnoexcept |
Compute an exact range without unsigned subtraction or addition overflow.
| metrics | Owning logical extent and viewport; every uint64 value is supported. |
|
nodiscardconstexprnoexcept |
Map exact logical position to a thumb without a floating-point index round trip.
| metrics | Logical range; every uint64 extent/viewport is supported. |
| offset | Intended integral position, clamped to the viewport-start range. |
| trackLength | Nonnegative number of track cells. |
| minimumThumb | Positive minimum occupied cells, capped by the track length. |
| std::expected< void, TreeError > portals::scrollVirtualList | ( | WidgetTree & | tree, |
| Node< VirtualList< T > > | node, | ||
| double | rows ) |
Accumulate fractional wheel input on UI using the last prepared model count.
| T | Immutable row type satisfying VirtualList's provider contract. |
| tree | Borrowed UI owner, outside its frame. |
| node | Checked non-owning view observer. |
| rows | Finite signed movement in logical rows, positive toward the end. |
| std::expected< void, TreeError > portals::scrollVirtualRows | ( | WidgetTree & | tree, |
| Node< VirtualRows< T > > | node, | ||
| std::int64_t | rows ) |
Accumulate a relative row intent without replacing it with a stale committed position.
| T | Domain row. |
| tree | UI owner. |
| node | Live host. |
| rows | Signed logical row steps. |
| std::expected< void, TreeError > portals::scrollVirtualTable | ( | WidgetTree & | tree, |
| Node< VirtualTable< T > > | node, | ||
| double | rows ) |
Accumulate fractional wheel input on UI using the last prepared model count.
| T | Immutable row type satisfying VirtualTable's provider contract. |
| tree | Borrowed UI owner, outside its frame. |
| node | Checked non-owning view observer. |
| rows | Finite signed movement in logical rows, positive toward the end. |
| std::expected< void, SourceError > portals::seekDocumentByte | ( | WidgetTree & | tree, |
| Node< DocumentView > | node, | ||
| std::uint64_t | offset ) |
| tree | UI owner outside frames. |
| node | Live managed viewer. |
| offset | Original byte anchor. |
| std::expected< void, SourceError > portals::seekLogByte | ( | WidgetTree & | tree, |
| Node< LogView > | node, | ||
| std::uint64_t | byteOffset ) |
| tree | UI owner outside frames. |
| node | Mounted file-source log. |
| byteOffset | Original byte position of a record's first byte in the current file generation. |
| std::expected< void, SourceError > portals::seekLogRow | ( | WidgetTree & | tree, |
| Node< LogView > | node, | ||
| std::uint64_t | ordinal ) |
| tree | UI owner outside frames. |
| node | Mounted finite-source log. |
| ordinal | Exact logical record position, in [0,rowCount()). |
| std::expected< void, TreeError > portals::setBorderTitle | ( | WidgetTree & | tree, |
| Node< Border > | node, | ||
| const GraphemeText & | title ) |
Replace a frame title through the existing checked tree mutation boundary.
| tree | Borrowed UI owner, between frames. |
| node | Live passive frame, without changing its size policy or title decoration. |
| title | Validated text borrowed only during this call, using this frame's width policy. |
| std::expected< void, TreeError > portals::setControlStyle | ( | WidgetTree & | tree, |
| Node< Control > | node, | ||
| ControlStyle | style ) |
Replace owning paint values on UI between frames; equal is a no-op, changes invalidate paint.
| tree | Borrowed UI owner containing node; used only during this call. |
| node | Observing handle to the control whose appearances are replaced. |
| style | Owning replacement paint values; does not affect behavior or layout metrics. |
| std::expected< void, TreeError > portals::setControlText | ( | WidgetTree & | tree, |
| Node< Control > | node, | ||
| GraphemeText | text ) |
Replace owning text between frames; equal bytes/policy are a no-op, changes invalidate layout.
| tree | Borrowed UI owner containing node; used only during this call. |
| node | Observing handle to the control whose text is replaced. |
| text | Validated owning replacement, transferred only after decorations are prepared and invalidation succeeds. |
| std::bad_alloc | If construction of the by-value argument fails before this function begins; allocation inside the mutation boundary is returned as NO_MEMORY instead. Numeric-only Slider views reject caption mutation with INVALID_ARGUMENT, including through a base node. |
| std::expected< void, TreeError > portals::setDataStateView | ( | WidgetTree & | tree, |
| Node< DataStateView > | node, | ||
| DataPresentation | value ) |
| tree | Borrowed UI owner. |
| node | Live configured own-value composite. |
| value | Owning nonzero-generation state; older values are no-ops after affinity/liveness checks. |
| std::expected< void, TreeError > portals::setDeclarativeGridOptions | ( | WidgetTree & | tree, |
| Node< Grid > | node, | ||
| const GridOptions & | options ) |
Atomically replace resolved declarative settings between frames on the UI owner.
| tree | Owning tree, borrowed for checked access and layout invalidation. |
| node | Declarative grid; an explicit grid returns INVALID_ARGUMENT without changing mode. |
| options | Complete owning replacement; overlap is rejected and full identities remain authoritative. |
| std::expected< void, ManagedError > portals::setDocumentEncoding | ( | ManagedScene & | scene, |
| Node< DocumentView > | node, | ||
| DocumentEncoding | encoding ) |
| scene | UI owner. |
| node | Live viewer. |
| encoding | Explicit encoding selection. |
| std::expected< void, ManagedError > portals::setDocumentLineNumbers | ( | ManagedScene & | scene, |
| Node< DocumentView > | node, | ||
| bool | enabled ) |
| scene | UI owner. |
| node | Live viewer. |
| enabled | Show proven logical line numbers. |
| std::expected< void, ManagedError > portals::setDocumentModel | ( | ManagedScene & | scene, |
| Node< DocumentView > | node, | ||
| ui::DocumentSource | source ) |
| scene | UI owner outside frames. |
| node | Live managed viewer. |
| source | Cold owning binding. |
| std::expected< void, ManagedError > portals::setDocumentWrap | ( | ManagedScene & | scene, |
| Node< DocumentView > | node, | ||
| bool | enabled ) |
| scene | UI owner. |
| node | Live viewer. |
| enabled | Wrap ordinary complete graphemes. |
| std::expected< void, TreeError > portals::setFormFieldValidation | ( | WidgetTree & | tree, |
| Node< FormField > | node, | ||
| FieldValidation | value ) |
| tree | Existing UI tree, borrowed only during this call. |
| node | Live field identity. |
| value | Owning explicit presentation; this is not an asynchronous completion endpoint. |
| std::expected< void, TreeError > portals::setGaugeValue | ( | WidgetTree & | tree, |
| Node< Gauge > | node, | ||
| double | value ) |
| tree | Borrowed UI owner; mutation is allowed only between frames. |
| node | Live gauge belonging to tree. |
| value | Finite replacement in the inclusive configured range. |
| std::expected< void, TreeError > portals::setGridOptions | ( | WidgetTree & | tree, |
| Node< Grid > | node, | ||
| const GridOptions & | options ) |
Validate and atomically copy settings on the UI owner between frames, then invalidate layout. Tree errors propagate; invalid configuration leaves the previous settings unchanged. Input is borrowed only for this call. Allocation failure returns NO_MEMORY.
| tree | Owning tree, borrowed for the UI-only update. |
| node | Checked observer of the grid being updated. |
| options | Complete replacement configuration; borrowed only while making an independent copy. |
| std::expected< void, TreeError > portals::setGridPresentation | ( | WidgetTree & | tree, |
| Node< Grid > | node, | ||
| const GridPresentation & | presentation ) |
Replace owning backgrounds between frames on the UI owner.
| tree | Owning tree borrowed for this checked update. |
| node | Grid receiving backgrounds. |
| presentation | Complete replacement with positive paint budget; borrowed only during this call. |
| std::expected< void, TreeError > portals::setLinearOptions | ( | WidgetTree & | tree, |
| Node< LinearLayout > | node, | ||
| LinearOptions | options ) |
Validate, edit and invalidate layout between frames on the tree's UI owner; tree errors propagate.
| tree | Owning UI tree, borrowed for this call. |
| node | Checked observer of the Row or Column to update. |
| options | Replacement gap, padding and alignment settings. |
| std::expected< void, ManagedError > portals::setLogModel | ( | ManagedScene & | scene, |
| Node< LogView > | node, | ||
| ui::LogSource | source ) |
| scene | UI owner outside frames. |
| node | Live managed log, including rolling mode. |
| source | Owning deferred provider, file or finite-model descriptor. |
| std::expected< void, TreeError > portals::setOverlayOptions | ( | WidgetTree & | tree, |
| Node< Overlay > | node, | ||
| OverlayOptions | options ) |
Validate and replace settings on the UI owner between frames, then invalidate layout.
| tree | Owning tree, borrowed for the UI-only update. |
| node | Checked observer of the overlay being updated. |
| options | Replacement padding and alignment, copied by value. |
|
nodiscard |
Atomically prepare owning scrollbar glyphs between frames on the tree UI thread.
| tree | Owning tree, borrowed for the checked mutation. |
| node | Live ScrollArea or ScrollBar; no controller/lease/focus identity is replaced. |
| skin | Owning source borrowed only for this call; prepared glyphs are copied before publication. |
| std::expected< void, TreeError > portals::setScrollMetrics | ( | WidgetTree & | tree, |
| Node< ScrollBar > | node, | ||
| ScrollAxisMetrics | metrics ) |
| tree | Borrowed UI owner, between frames. |
| node | Initialized bar holding the sole standalone geometry writer lease. |
| metrics | Owning exact extent/viewport for this bar's axis; the other axis is preserved. |
| std::expected< void, TreeError > portals::setScrollOffset | ( | WidgetTree & | tree, |
| Node< Widget > | node, | ||
| ScrollAxis | axis, | ||
| ScrollOffset | offset ) |
| tree | Borrowed UI owner, between frames. |
| node | Initialized area or bar of this tree. |
| axis | Exact selected axis; invalid values are INVALID_ARGUMENT. |
| offset | Exact integral/fractional intended position, clamped to the current range. |
| std::expected< void, TreeError > portals::setSizePolicy | ( | WidgetTree & | tree, |
| Node< SizedWidget > | node, | ||
| SizePolicy | policy ) |
Validate and edit policies between frames on the tree's UI owner; tree errors propagate. Changed policies invalidate layout; equal policies preserve geometry. The installed style minimum is a hard bound and a conflicting maximum rejects the update without changing the previous policy.
| tree | Owning UI tree, borrowed for this call. |
| node | Checked observer of the SizedWidget to update. |
| policy | Replacement width/height constraints; invalid values are rejected before mutation. |
| std::expected< void, TreeError > portals::setSliderReadOnly | ( | WidgetTree & | tree, |
| Node< Slider > | node, | ||
| bool | readOnly ) |
| tree | Borrowed UI tree. |
| node | Live slider. |
| readOnly | New user-mutation policy. |
| std::expected< void, TreeError > portals::setSpinner | ( | WidgetTree & | tree, |
| Node< Spinner > | node, | ||
| const SpinnerOptions & | options, | ||
| SpinnerLabelResolver | resolver = {} ) |
| tree | Borrowed receiving UI tree. |
| node | Checked live indicator identity. |
| options | Owning replacement; all text is staged before replacing state/cancelling the old timer. |
| resolver | Optional synchronous localization adapter, not retained after validation. |
| std::expected< void, TreeError > portals::setSpinnerActive | ( | WidgetTree & | tree, |
| Node< Spinner > | node, | ||
| bool | active ) |
| tree | Borrowed receiving UI tree. |
| node | Checked live indicator identity. |
| active | Whether animation should run after ordinary preparation; stopping cancels its token immediately. |
| std::expected< void, TreeError > portals::setVirtualListFirst | ( | WidgetTree & | tree, |
| Node< VirtualList< T > > | node, | ||
| std::uint64_t | first ) |
Change the integral first row on UI and invalidate paint; prepare before painting again.
| T | Immutable domain row type, as defined by VirtualList. |
| tree | Borrowed UI owner; mutation inside a frame is rejected. |
| node | Checked list observer; does not convey ownership. |
| first | Requested position; preparation clamps it to the last row, or zero for an empty model. |
| std::expected< void, TreeError > portals::setVirtualListOptions | ( | WidgetTree & | tree, |
| Node< VirtualList< T > > | node, | ||
| VirtualListOptions | options ) |
Validate settings on UI, invalidate layout and require preparation before the next paint.
| T | Immutable domain row type, as defined by VirtualList. |
| tree | Borrowed UI owner; mutation inside a frame is rejected. |
| node | Checked list observer. |
| options | Owning replacement settings; row_height must be positive. |
| std::expected< void, TreeError > portals::setVirtualListSelection | ( | WidgetTree & | tree, |
| Node< VirtualList< T > > | node, | ||
| std::optional< RowId > | selected ) |
Set stable selection on UI, clear pending navigation, and invalidate paint.
| T | Immutable domain row type, as defined by VirtualList. |
| tree | Borrowed UI owner; mutation inside a frame is rejected. |
| node | Checked list observer. |
| selected | Owning stable ID, or nullopt to clear; an ID need not be currently visible. |
| std::expected< void, ManagedError > portals::setVirtualRowsAutoRowHeight | ( | ManagedScene & | scene, |
| Node< VirtualRows< T > > | node, | ||
| bool | enabled ) |
Checked managed facade for natural row sizing.
| T | Domain row. |
| scene | UI owner. |
| node | Mounted host. |
| enabled | Opt into natural height. |
| std::expected< void, TreeError > portals::setVirtualRowsAutoRowHeight | ( | WidgetTree & | tree, |
| Node< VirtualRows< T > > | node, | ||
| bool | enabled ) |
Select bounded natural row sizing without changing fixed-height defaults.
| T | Domain row. |
| tree | UI owner. |
| node | Live row host. |
| enabled | True for measured compositions, false for configured rowHeight. |
| std::expected< void, TreeError > portals::setVirtualRowsFirst | ( | WidgetTree & | tree, |
| Node< VirtualRows< T > > | node, | ||
| std::uint64_t | first ) |
Request a finite ordinal; mounting occurs at the existing managed service boundary.
| T | Domain row type. |
| tree | UI owner. |
| node | Live row host. |
| first | Requested finite row ordinal, clamped at source end. |
| std::expected< void, TreeError > portals::setVirtualTableColumns | ( | WidgetTree & | tree, |
| Node< VirtualTable< T > > | node, | ||
| std::span< const TableColumn< std::type_identity_t< T > > > | columns ) |
Replace ordered column definitions transactionally and invalidate layout.
| T | Immutable domain row type borrowed by TableColumn formatters. |
| tree | Borrowed UI owner; mutation inside a frame is rejected. |
| node | Checked table observer. |
| columns | Borrowed definitions copied on success; unique nonzero IDs, positive widths and matching policies required. |
| std::expected< void, TreeError > portals::setVirtualTableFirst | ( | WidgetTree & | tree, |
| Node< VirtualTable< T > > | node, | ||
| std::uint64_t | first ) |
Change the integral first row on UI and invalidate paint; prepare before painting again.
| T | Immutable domain row type, as defined by VirtualTable. |
| tree | Borrowed UI owner; mutation inside a frame is rejected. |
| node | Checked table observer; does not convey ownership. |
| first | Requested position; preparation clamps it to the last row, or zero for an empty model. |
| std::expected< void, TreeError > portals::setVirtualTableOptions | ( | WidgetTree & | tree, |
| Node< VirtualTable< T > > | node, | ||
| VirtualTableOptions | options ) |
Validate settings on UI, invalidate layout and require preparation before the next paint.
| T | Immutable domain row type, as defined by VirtualTable. |
| tree | Borrowed UI owner; mutation inside a frame is rejected. |
| node | Checked table observer. |
| options | Owning replacement settings; height and budgets must be positive and existing headers must match the policy. |
| std::expected< void, TreeError > portals::setVirtualTableSelection | ( | WidgetTree & | tree, |
| Node< VirtualTable< T > > | node, | ||
| std::optional< RowId > | selected ) |
Set stable selection on UI, clear pending navigation, and invalidate paint.
| T | Immutable domain row type, as defined by VirtualTable. |
| tree | Borrowed UI owner; mutation inside a frame is rejected. |
| node | Checked table observer. |
| selected | Owning stable ID, or nullopt to clear; an ID need not be currently visible. |
|
nodiscardconstexprnoexcept |
Solve both bar policies together without cross-frame oscillation.
| allocation | Signed local allocation, normalized to nonnegative cell extents. |
| extent | Fixed logical intrinsic content size; independent of gutters and offsets. |
| options | Owning policies and optional one-cell frame selection. |
|
inlinenoexcept |
| name | Preset name, ASCII case-insensitive; hyphens and underscores are equivalent. |
| std::expected< void, TreeError > portals::syncBorder | ( | WidgetTree & | tree, |
| Node< Border > | node ) |
| tree | Borrowed UI owner, between frames. |
| node | Live frame whose input eligibility is copied for disabled presentation; focus projection is cleared. |
| std::expected< void, TreeError > portals::syncBorder | ( | WidgetTree & | tree, |
| Node< Border > | node, | ||
| Node< Widget > | focused ) |
| tree | Borrowed UI owner; synchronization is allowed only between frames. |
| node | Live frame receiving disabled/focused/normal presentation without becoming a focus target. |
| focused | Empty observer, this frame, or another live node in tree; descendants project focused appearance. |
| std::expected< void, TreeError > portals::syncControl | ( | WidgetTree & | tree, |
| Node< Control > | node, | ||
| Node< Widget > | focused ) |
Copy focus and ancestor eligibility on UI between frames; changes invalidate paint.
| tree | Borrowed UI owner containing node; also supplies ancestor eligibility. |
| node | Observing control handle receiving the presentation snapshot. |
| focused | Observing snapshot obtained once from EventRouter::focused before synchronizing the controls; an empty handle means no focused control. This identity is compared, not dereferenced or made authoritative. |
| std::expected< void, TreeError > portals::syncGauge | ( | WidgetTree & | tree, |
| Node< Gauge > | node ) |
| tree | Borrowed UI owner, between frames. |
| node | Live gauge whose own and ancestor input eligibility is copied for disabled presentation. |
| std::expected< void, TreeError > portals::syncRadioGroup | ( | WidgetTree & | tree, |
| Node< RadioGroup > | node, | ||
| Node< Widget > | focused ) |
| tree | Borrowed UI owner. |
| node | Live group. |
| focused | Current router focus. |
| std::expected< void, TreeError > portals::syncScrollControl | ( | WidgetTree & | tree, |
| Node< Widget > | node, | ||
| Node< Widget > | focused = {} ) |
| tree | Borrowed UI owner, between frames. |
| node | Live area or bar. |
| focused | Current checked keyboard focus, or empty; copied for paint only. |
| std::expected< void, TreeError > portals::syncStatusBar | ( | WidgetTree & | tree, |
| Node< StatusBar > | node ) |
Synchronize the bar's own disabled appearance between frames on UI.
| tree | Owning live tree, borrowed synchronously. |
| node | Live observing bar identity in that tree. |
| std::expected< TableColumn< T >, TextError > portals::tableColumn | ( | ColumnId | id, |
| std::string_view | header, | ||
| Member T::* | member, | ||
| Formatter | formatter, | ||
| std::int32_t | width = 1, | ||
| WidthPolicy | policy = {} ) |
Deduce a field's record and validate a plain UTF-8 header.
| T | Record type inferred from the member pointer; borrowed immutable rows. |
| Member | Projected member type, satisfying ColumnProjection. |
| Formatter | Copyable exact GraphemeText formatter for that projection. |
| id | Explicit stable identity, retained unchanged. |
| header | Header bytes borrowed during construction and owned on success. |
| member | Owning member pointer; no row copies or reads during construction. |
| formatter | Callback owned by value; borrowed captures require external lifetime. |
| width | Width in terminal cells, validated during table preparation. |
| policy | Width policy used for the owning header; formatter text must match it. |
| TableColumnSpec< T > portals::tableColumn | ( | std::string_view | header, |
| Member T::* | member, | ||
| Formatter | formatter, | ||
| std::int32_t | width = 1 ) |
Infer a fixed-schema record from a member pointer, without explicit IDs.
| T | Immutable row type inferred from its member pointer. |
| Member | Data or const member-function type accepted through std::invoke. |
| Formatter | Copyable exact GraphemeText formatter. |
| header | Caption copied now, validated during tableColumns assembly. |
| member | Owned member pointer; no domain row is copied. |
| formatter | Owned callback; borrowed captures need external lifetime. |
| width | Width in cells; validated by the retained table. |
| TableColumnSpec< T > portals::tableColumn | ( | std::string_view | header, |
| Member T::* | member, | ||
| std::int32_t | width = 1 ) |
Deduce the row type of a default-formatted member column.
| header | Owned UTF-8 schema caption. |
| member | Field or const member function. |
| width | Width validated by the receiving table. |
| TableColumnSpec< T > portals::tableColumn | ( | std::string_view | header, |
| Projection | projection, | ||
| Formatter | formatter, | ||
| std::int32_t | width = 1 ) |
Describe a fixed-schema column without exposing identity bookkeeping.
| T | Borrowed immutable row type, explicit for lambda projections. |
| Projection | Copyable projection satisfying ColumnProjection. |
| Formatter | Copyable exact GraphemeText formatter for the projected value. |
| header | UTF-8 caption copied now and validated by tableColumns. |
| projection | Owned callable; projection results borrow only for invocation. |
| formatter | Owned formatter using the eventual table's width policy. |
| width | Width in terminal cells; validated by the retained table. |
| TableColumnSpec< T > portals::tableColumn | ( | std::string_view | header, |
| Projection | projection, | ||
| std::int32_t | width = 1 ) |
Describe a projected column with the existing default standard formatter.
| T | Domain row; explicit for lambda projections. |
| Projection | Owned projection. |
| header | Owning schema caption. |
| projection | Member or callable taking const T&. |
| width | Positive cell width checked by the mounted table. |
| TableColumn< T > portals::tableColumn | ( | TableColumnOptions | options, |
| Member T::* | member, | ||
| Formatter | formatter ) |
Deduce the domain record from a data or member-function pointer.
| T | Record owning the member; rows are borrowed as const T &. |
| Member | Member type, invocable with the immutable record through std::invoke. |
| Formatter | Copyable formatter returning exactly owning GraphemeText. |
| options | Explicit stable identity, owning header and width in cells. |
| member | Member pointer owned by value; no record is copied. |
| formatter | Owning callback following the original ColumnFormatter contract. |
| TableColumn< T > portals::tableColumn | ( | TableColumnOptions | options, |
| Projection | projection, | ||
| Formatter | formatter ) |
Compose an owning typed column from explicit projection and text formatting.
| T | Domain record type; rows are borrowed as const T & and never copied here. |
| Projection | Copy-constructible projection satisfying ColumnProjection. |
| Formatter | Copy-constructible formatter satisfying ColumnFormatter. |
| options | Owning identity, header and cell width; moved into the returned column. |
| projection | Callable owned by value; std::invoke supports member pointers and lambdas. |
| formatter | Callable owned by value; consumes the projection's exact result category. |
Construction may throw while copying/moving callbacks or allocating their std::function storage. Neither callback is invoked during construction. References held by callbacks or returned by a projection remain borrowed; callers must keep their referents alive for each invocation. A temporary projection result lives through the formatter call. Callbacks must not retain row/result borrows, perform I/O, mutate the tree/model, or create unbounded temporary storage. Text must use the table's width policy. Table preparation retains its existing metadata/policy validation and callback exception handling; direct invocation of the returned format callback propagates exceptions. Invocation follows the table's UI-thread rules; this factory adds no synchronization or runtime state.
| std::expected< std::array< TableColumn< T >, 1+sizeof...(Rest)>, TextError > portals::tableColumns | ( | TableColumnSpec< T > | first, |
| Rest &&... | rest ) |
Assemble fixed-schema columns with the default display policy.
| T | Immutable record type inferred from the first recipe. |
| Rest | Additional exact TableColumnSpec<T> arguments, in display order. |
| first | First recipe, copied or moved into the owning schema. |
| rest | Remaining recipes, retaining their formatter ownership rules. |
| std::expected< std::array< TableColumn< T >, 1+sizeof...(Rest)>, TextError > portals::tableColumns | ( | WidthPolicy | policy, |
| TableColumnSpec< T > | first, | ||
| Rest &&... | rest ) |
Assemble a fixed schema and allocate deterministic table-local identities.
| T | Immutable record type inferred from the first recipe. |
| Rest | Additional TableColumnSpec<T> arguments, in display order. |
| policy | Width policy used for every validated owning header. |
| first | First owning recipe, copied or moved into assembly. |
| rest | Remaining recipes, copied from lvalues or consumed from rvalues. |
|
nodiscard |
Format immediately into owned bytes; defer validation and measurement.
| Args | One or more argument types accepted by the checked standard format string. |
| pattern | Standard format string checked against Args at compilation. |
| args | Values borrowed only during formatting; no references are retained. |
| std::bad_alloc | If formatting or expression storage cannot be allocated. |
| std::length_error | If storage exceeds implementation limits. |
| std::format_error | If formatting fails, including through a custom formatter. |
|
nodiscard |
Declare live formatted text over explicit scalar roots, fields or value properties.
| Args | One or more owning arguments, including at least one scalar dependency. Static strings and string views are copied; borrowed pointers and unsupported views are rejected. |
| pattern | Standard format string checked against the underlying argument value types. |
| args | Owning descriptors and static values retained by this cold expression. |
|
nodiscardconstexpr |
Copy literal bytes into an owning expression without interpreting braces.
| bytes | Literal buffer borrowed only during this call; UTF-8 validation is deferred. |
| std::bad_alloc | If expression storage cannot be allocated. |
| std::length_error | If expression storage exceeds implementation limits. |
|
nodiscard |
Resolve an owning localization key and format over explicit scalar dependencies.
| Args | Owning static arguments and scalar roots, including at least one live dependency. |
| pattern | Literal format pattern or resource key; translated format strings are checked at runtime. |
| Resolver | Copyable resource adapter accepting key alone or key followed by underlying argument values. |
| resolver | Synchronous adapter retained by value; no ambient locale or unpublished model is read. |
| args | Format arguments and explicit dependencies. A changed argument unused by the pattern still triggers resolution, so a locale model can be listed explicitly without appearing in the output. |
| StyleSheet portals::themeFromTokens | ( | ThemeTokens | tokens | ) |
| tokens | Owning palette colors. |
| StyleSheet portals::tokyoNightTheme | ( | ) |
| std::expected< QueryPage< T >, QueryError > portals::transformSnapshot | ( | const Query< T, Q > & | query, |
| Filter | filter, | ||
| Compare | compare, | ||
| QueryOptions | options = {}, | ||
| Stop | stop = [] { return false; } ) |
Explicit local filter, stable sort, and page; never dispatches or starts provider I/O. Source scan, comparisons and output are independently bounded. Equal sort keys retain source order. IDs and generations are copied unchanged. T is copied only for output rows. Callbacks must be bounded, worker-safe and must not retain borrowed row/criteria arguments.
| T | Copy-constructible immutable domain row satisfying the snapshot ownership contract. |
| Q | Owning domain criteria type passed by const reference to both callbacks. |
| Filter | Callable bool(const T&, const Q&) selecting a row. |
| Compare | Strict weak ordering callable bool(const T&, const T&, const Q&). |
| Stop | Callable bool() used for cooperative cancellation; never joins work. |
| query | Exact source, owning criteria and desired page. |
| filter | Predicate invoked at most maxSourceRows times. |
| compare | Ordering invoked at most maxComparisons times. |
| options | Positive finite work and output limits. |
| stop | Cancellation predicate checked during scan, comparison and copy. |
|
nodiscardnoexcept |
Translate a cell point by an explicit columns/rows offset.
| point | Value to translate, copied without borrowing storage. |
| offset | Signed cell displacement, copied without borrowing storage. |
| StyleSheet portals::turboTheme | ( | ) |
|
noexcept |
Check the version line before interpreting an application's diagnostic export.
| text | Export bytes borrowed only for this check; no payload is executed. |
| limits | Positive bounds, including maxRecordBytes <= maxBytes and maxBatchBytes. |
|
nodiscardnoexcept |
Validate area settings and the optional existing BorderOptions.
| options | Owning input settings, borrowed only for this call. |
|
nodiscardnoexcept |
Validate standalone bar settings without mutation, allocation or callbacks.
| options | Owning input settings, borrowed only for this call. |
|
noexcept |
| shortcut | Borrowed owning values to validate before atomic registration. |
| options | Positive finite alternative/stroke budgets shared by singles and sequences. |
|
noexcept |
Validate bounded ancestor metadata without allocation or retaining input.
| target | Stable owning metadata; a nonempty lineage requires a concrete immediate type. |
|
nodiscardconstexprnoexcept |
Validate an offset remainder without losing its integral index.
| offset | Owning intended position; the integral component is unrestricted. |
|
noexcept |
Return the version of the linked library by value.
| std::expected< TextSegments, TreeError > portals::words | ( | const GraphemeText & | input, |
| TextSplitOptions | options = {} ) |
Split on whole graphemes consisting only of scalars in Unicode White_Space.
| input | Validated owning input borrowed only during the call; output retains an independent copy. |
| options | Input bounds and positive token cap. |
|
inlineconstexpr |
Intrinsic content on both axes; explicit policies remain authoritative.
|
inlineconstexpr |
Single-line editors retain one cell even during shortage; text length is not a flex basis.
|
inlineconstexpr |
Fill available width from a zero flex basis while retaining content height.
|
inlineconstexpr |
Natural menu extent on both axes; callers may supply an ordinary explicit SizePolicy.
|
inlineconstexpr |
Fill offered width and request one fixed row; explicit sizing remains authoritative.
|
inlineconstexpr |
A bounded data viewport fills both axes without requesting the whole model extent.
|
inlineconstexpr |
Maximum amount of input processed in one row, not a document size limit.
|
inlineconstexpr |
Canonical names in SpinnerPreset ordinal order.