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

Owning skin modifier shared by ordinary ScrollArea and ScrollBar. More...

#include <ui_layout.hpp>

Public Attributes

ScrollbarSkin skin
 Owned glyph and preparation policy.
std::optional< ScrollbarPattern > preset {}
 Preset-only stage preserves omitted context leaves.

Friends

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

Detailed Description

Owning skin modifier shared by ordinary ScrollArea and ScrollBar.

◆ operator|

template<class T>
requires (std::same_as<T, ScrollArea> || std::same_as<T, ScrollBar>)
Description< T > operator| ( Description< T > && description,
ScrollbarModifier modifier )
friend
Template Parameters
TExactly ScrollArea or ScrollBar.
Parameters
descriptionConsumed recipe.
modifierOwning skin.
Returns
Recipe with equivalent method configuration.

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