DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Defining Panorama (xdt3) Desktop triggers

About triggers

When a user interacts with a Desktop icon or window background, the interaction is looked up in the trigger table to derive the trigger name corresponding to that action.

For example, if a user double-clicks on an icon with mouse button 1, this is converted to the trigger name activate in the trigger table. The Desktop then executes the command:

   actions_of activate
Arguments are set to the appropriate values for the triggered icon and the icon's location.

The actions_of command searches the icon_rules clauses that match the triggered icon for the following clauses:

The above clauses specify an exact match, a match against any static trigger, and a match against any trigger at all, respectively.

The first match found causes a new thread to be created to execute the script specified in the trigger_action clause.

See also:


Next topic: Types of trigger
Previous topic: Defining Panorama (xdt3) Desktop triggers

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005