GGUI::GGWidgetAction struct

An element was used: a button clicked, something dropped. The host decides what it does.

Public variables

TnxName Verb
command, call, show, hide, tab, play, stop, toast
TnxName Target
std::vector<GGWidgetInput> Fields
Its other fields: a command's fields, in for show. A field that reads game state is a binding, read by the host when it acts.
TnxName Asset
the asset the element is in
TnxName Element
the element
NodeHandle Node
the element's node; null until it is used
uint64_t Instance
std::vector<TnxName> MemberPath
The widget member of the instance's class it was built in, through each nesting (UseProps::MemberPath): what its call runs on. Empty: the instance's own.

Friends

auto operator==(const GGWidgetAction&, const GGWidgetAction&) -> bool defaulted
every member equal

Variable documentation

TnxName GGUI::GGWidgetAction::Target

the command, method, asset, region, clip, or text it names

uint64_t GGUI::GGWidgetAction::Instance

UseProps::Instance of the use it was built in (of the outermost that set one)