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

Owning metadata normalized once before canonical publication. More...

#include <key_binding.hpp>

Public Member Functions

 KeyInfo (TextValue value)

Public Attributes

TextValue label
 Required resolved single-line label.
TextValue description {std::string_view{}}
 Optional owning explanation.
KeyTextResolver resolver {}
 Not retained after successful normalization.
Node< Widget > owner {}
 Empty selects the scene root.
Node< Widget > scope {}
 Empty is global; otherwise an exact declared focus scope.
bool enabled {true}
 Disabled commands remain visible in full help.
bool visible {true}
 Hidden commands neither route nor appear in projections.

Friends

class ManagedScene
class ui::KeyInfo

Detailed Description

Owning metadata normalized once before canonical publication.

Constructor & Destructor Documentation

◆ KeyInfo()

portals::KeyInfo::KeyInfo ( TextValue value)
inlineexplicit
Parameters
valueRequired nonempty label expression.

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