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

Owning existing LineEdit/scroll read-only policy stage. More...

#include <ui_controls.hpp>

Public Attributes

bool enabled
 User-mutation policy; programmatic commands retain their existing behavior.

Friends

template<class T>
requires (std::same_as<T, LineEdit> || std::same_as<T, Password> || std::same_as<T, ScrollArea> || std::same_as<T, ScrollBar>)
Description< T > operator| (Description< T > &&description, ReadOnlyModifier modifier)

Detailed Description

Owning existing LineEdit/scroll read-only policy stage.

◆ operator|

template<class T>
requires (std::same_as<T, LineEdit> || std::same_as<T, Password> || std::same_as<T, ScrollArea> || std::same_as<T, ScrollBar>)
Description< T > operator| ( Description< T > && description,
ReadOnlyModifier modifier )
friend
Template Parameters
TExactly LineEdit, ScrollArea or ScrollBar.
Parameters
descriptionConsumed receiving recipe.
modifierOwning local policy.
Returns
Recipe staging its existing readOnly property.

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