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

Example

This example shows a rule that defines a directory with the following characteristics:

The rules defining these characteristics are provided below:
   icon_rules
   {
      TestDir /D
      {
         drop_in_action: deselect
         {
            for_info You have clicked on the TestDir directory background.
         }
         drop_in_action: report
         {
            display_directory $static_arg `(dirname $static_arg)
         }
         drop_in_action: drop
         {
            copy_into $static_arg $dynamic_args
         }
      }
   }

You would also place the following rules in TestDir/.xdtdir/ll_TT (where, by default, ll_TT is en_US):

   final_actions
   {
      for_info Closing the TestDir directory.
   }

See also:


Previous topic: Defining the behavior of directory windows

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