The interaction model / Controlling user actions |
Some front-ends can display a default contextual menu, with all the active actions that are possible in the current context. Displaying all actions might not be adapted to your needs. To control if an action must be displayed in the context menu, set the CONTEXTMENU attribute in action defaults. Values for CONTEXTMENU can be YES, NO and AUTO.
ACTION DEFAULTS ... ACTION insert ( ... CONTEXTMENU = YES ... ) ACTION append ( ... CONTEXTMENU = YES ... ) ACTION delete ( ... CONTEXTMENU = YES ... ) ... ACTION validate_order ( ... CONTEXTMENU = NO ... ) ... END