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

Owning normalized catalog metadata, without a factory or UI references. More...

#include <theme_selection.hpp>

Public Member Functions

 ThemeChoiceData (std::string_view id, const GraphemeText &label)
 ~ThemeChoiceData ()=default
 Keep owning string/text transfers fallible with the checked standard library.

Public Attributes

std::string id
 Unique application catalog ID, never an engine token.
GraphemeText label
 Resolved display label under the receiving scene width policy.
std::optional< GraphemeText > description
 Optional resolved explanation, independently owned.

Detailed Description

Owning normalized catalog metadata, without a factory or UI references.

Constructor & Destructor Documentation

◆ ThemeChoiceData()

portals::ui::ThemeChoiceData::ThemeChoiceData ( std::string_view id,
const GraphemeText & label )
inline
Parameters
idApplication ID copied into independent metadata.
labelValidated display label copied with its receiving width policy; construction may allocate.

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