dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
ActionContainer Class Reference

The ActionContainer class represents a menu or menu bar in the Tau Labs GCS. More...

Detailed Description

The ActionContainer class represents a menu or menu bar in the Tau Labs GCS.

You don't create instances of this class directly, but instead use the {ActionManager::createMenu()} and {ActionManager::createMenuBar()} methods. Retrieve existing action containers for an ID with {ActionManager::actionContainer()}.

Within a menu or menu bar you can group menus and items together by defining groups (the order of the groups is defined by the order of the {ActionContainer::appendGroup()} calls), and adding menus/actions to these groups. If no custom groups are defined, an action container has three default groups {Core::Constants::G_DEFAULT_ONE}, {Core::Constants::G_DEFAULT_TWO} and {Core::Constants::G_DEFAULT_THREE}.

You can define if the menu represented by this action container should automatically disable or hide whenever it only contains disabled items and submenus by setting the corresponding {ActionContainer::setEmptyAction()}{EmptyAction}.


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