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

Defining rules for icons

The icon_rules clauses use the following form:

   icon_rules
   {
      filespec
      {
         picture=filename;
         title=name;
      }
   }

The icon_rules keyword introduces the rules, and filespec specifies the icons to which the rules should apply. filespec also specifies the filenames to be matched, and the classes of files to be matched.

For each group of files specified by filespec, you can provide a picture clause, a title clause, or both, specifying what the title or icon should be for those files.

Note that a single icon_rules clause can include several filespec sections, to provide pictures and/or titles for different groups of icons:

   icon_rules
   {
      filespec1
      {
         picture=filename1;
         title=name1;
      }
      filespec2
      {
         picture=filename2;
         title=name2;
      }
      ...
   }

If an icon matches more than one filespec, the title is determined by the first matching clause containing a title, and the picture is determined by the first matching clause containing a picture.

See also:


Next topic: Defining a picture for icons
Previous topic: Defining the appearance of icons

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