Predefined actions
Genero predefines some action names for common operations of interactive instructions.
Predefined actions are different from user-defined action, in the sense that the
name of a predefined action is reserved, and the action may have an ON ACTION
handler, while user-defined actions have a specific name, and must be implemented with an ON
ACTION
handler.
There are two types of predefined actions:
- Automatic actions: actions that are automatically created and handled by the
program dialog, like
accept
,cancel
,insert
. - Special actions: actions with a special usage, that can be invoked asynchronously
or automatically by the front-end, like
interrupt
,dialogtouched
.
Default decoration attributes and keyboard shortcuts are defined with action defaults, like for user-defined actions.