GEOS SDK TechDocs
|
|
3.6 Manipulating Instance Data
|
4 Customizations
HINT_TRIGGER_BRINGS_UP_WINDOW, ATTR_GEN_TRIGGER_IMMEDIATE_ACTION, HINT_TRIGGER_DESTRUCTIVE_ACTION
Besides the hints discussed in earlier sections and the hints inherited from
GenClass
,
GenTriggerClass
provides two others, as well as one additional attribute:
HINT_TRIGGER_BRINGS_UP_WINDOW
Use this hint if your trigger action indirectly brings up a window (such as a GIV_DIALOG GenInteraction or some other interaction window). This hint, depending on the specific UI, may be used to display the button with an ellipsis "..." to symbolize that the trigger leads to some other interaction.
ATTR_GEN_TRIGGER_IMMEDIATE_ACTION
Use this attribute if your trigger is in a menu (GIV_POPUP interaction) and its action should take place immediately before other pending UI events. This will prevent default UI events from occurring before the trigger's action. For example, this attribute is used for the tack trigger in the menu box, to prevent the menu from being closed before it is tacked.
Use this hint if your action may be potentially destructive. This hint prevents the trigger from being recognized as the default trigger.
For more information on other hints not specific to GenTriggers see the Managing UI Geometry chapter and hints defined under
GenClass
.
GEOS SDK TechDocs
|
|
3.6 Manipulating Instance Data
|
4 Customizations