Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ui::InstanceStateModifier Struct Reference

Owning local instance-state stage for every widget recipe. More...

#include <ui_modifiers.hpp>

Public Attributes

bool visibility {}
 Select visibility when true, enabled state otherwise.
bool value {true}
 Final local flag value; no runtime borrow.

Friends

template<class T>
Description< T > operator| (Description< T > &&description, InstanceStateModifier modifier)

Detailed Description

Owning local instance-state stage for every widget recipe.

◆ operator|

template<class T>
Description< T > operator| ( Description< T > && description,
InstanceStateModifier modifier )
friend
Template Parameters
TWidget subtype, including final widgets without a size policy.
Parameters
descriptionOwning recipe consumed by this stage.
modifierLocal state update; the last modifier for each flag wins.
Returns
Updated recipe sharing the existing mount transaction.

The documentation for this struct was generated from the following file: