DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring icons

Writing trigger rules

The trigger_action clauses are contained within icon_rules clauses, just like the title and picture clauses described in ``Defining a picture for icons'' and ``Defining a title for icons''. They take the form:

   trigger_action: trigger { script }

script specifies the Deskshell script that will be run when trigger is applied to an icon matching filespec in the icon_rules clause. trigger can specify the name of one of the triggers defined in the trigger table, or:

Alternatively, trigger can specify the name of any trigger that you want to define for that icon.

See also:


Previous topic: Defining the behavior of icons

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