company logo

context_menu - Context menu

Context menus ( ADK_Menu ) may be assigned in order to extend the default context menu. Context menus refers to an (hierarchical) event action control ( ADK_EventActionControl ), that may replace default context menus or may be added on top of default context menu. The way context menus are used is determined by option variable GUIFramework.ContextMenu .

When the ContextMenu option is set to IGNORE , no context menu will be shown in the application.

When the ContextMenu option is set to ACCEPT , and the event action control is a single action (no sub_actions list), the action is inserted on top of the action list provided by the default context menu. When the the event action control referenced contains a sub_actions list (multiple action control), all actions defined in the event action list are added on top of the default context menu.

When the ContextMenu option is set to USER , the referenced event action control completely replaces the default context menu.

Sub actions ( ADK_EventAction ) in the sub actions list may refer to event actions controls, that define sub actions again. Thus, hierarchical context menus may be provided.

Keys: