|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Cold layout values only; released with the single-use construction transaction. More...
#include <ui_recipe_context.hpp>
Public Attributes | |
| GridItemOptions | item |
| Parent-child placement, never inherited from control defaults. | |
| bool | itemRequested {} |
| Distinguish ordinary defaults from an explicitly requested relationship. | |
| bool | gridContainer {} |
| True only for the standard grid recipe. | |
| bool | validated {} |
| This cold graph has completed its parent-aware preflight. | |
| bool | validRecipe {true} |
| An empty consuming child fails before any mount effects. | |
| bool | hasDeclaredGrid {} |
| Cold composition contains an explicitly configured standard Grid. | |
| bool | needsChoiceHost {} |
| A choice popup needs the existing scene-level overlay owner. | |
| bool | hasOverlayHost {} |
| A declared overlay owner already exists in this cold graph. | |
| std::function< std::expected< std::pair< bool, bool >, ManagedError >(ControlContext)> | choiceProbe |
| Owning cold metadata probe; never mounts nodes or invokes application factories. | |
| std::optional< DeclarativeGridOptions > | grid |
| Present only after declarative opt-in. | |
| std::unique_ptr< GridPlacementPlan > | plan |
| Origins established before any constructor or setup. | |
| std::vector< std::shared_ptr< RecipeLayout > > | children |
| Cold child metadata in insertion order. | |
| std::vector< NodeId > | mounted = std::vector<NodeId>(0) |
| Full identities collected during child mount. | |
| std::size_t | headerSections {} |
| Number of structural header sections. | |
| std::size_t | bodySections {} |
| Number of structural body sections. | |
| std::size_t | directItems {} |
| Number of children outside structural sections. | |
| bool | stickyHeader {} |
| Header sticky setting copied from its section. | |
| bool | validSections {true} |
| Whether section placement modifiers are valid. | |
| GridPresentation | presentation |
| Owning grid background and paint-budget settings. | |
| std::optional< CellStyle > | headerStyle |
| Optional header-section background. | |
| std::optional< CellStyle > | bodyStyle |
| Optional body-section background. | |
| std::optional< GridRowStyles > | rowStyles |
| Optional alternating body-row backgrounds. | |
| std::optional< GridScrollOptions > | scroll |
| Optional owning scroll settings. | |
| std::unique_ptr< GridRecipeControl > | control |
| Deferred grid control settings. | |
| std::unique_ptr< std::vector< AxisSize > > | columnSizes |
| Cold owning shared-column policies, absent by default. | |
| std::unique_ptr< std::vector< AxisSize > > | rowSizes |
| Cold owning body-row policies; header stays independent. | |
Cold layout values only; released with the single-use construction transaction.
| std::vector<std::shared_ptr<RecipeLayout> > portals::ui::detail::RecipeLayout::children |
Cold child metadata in insertion order.