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

Owning shared command presentation; shortcut text does not install a global binding. More...

#include <ui_action.hpp>

Public Member Functions

 ~ActionMetadata ()=default
 Keep fallible metadata copies outside implicit noexcept transfers.

Public Attributes

std::string caption = std::string(0, '\0')
 Shared button caption.
std::string shortcut = std::string(0, '\0')
 Display text; bind input explicitly with onKey.
std::string help = std::string(0, '\0')
 Owning help text.
bool enabled {true}
 Immediate callback admission gate.
bool visible {true}
 Shared presenter visibility and invocation admission.
bool checked {}
 Shared selected presentation state.
std::string exclusiveGroup = std::string(0, '\0')
 Empty means independent selection.

Detailed Description

Owning shared command presentation; shortcut text does not install a global binding.


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