DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Creating objects for the Desktop

Creating objects for the Desktop

Objects are useful for linking mouse actions or ``triggers'' to system or Desktop actions and tasks. Use objects when you want to implement applications on the Desktop. A single object, represented by a user-selected icon, can have different scripts to interact with a binary in different ways.

Because objects are used to define behavior for single icons, icon_rules clauses are needed to define Desktop behavior that affects more than a single icon. Whenever possible, however, objects should be used instead of icon_rules clauses. For example, objects should be used to implement all stand-alone applications on the Desktop, while icon_rules clauses in a local rule file should be used to define behavior uniform to all icons in a particular directory. For more information on icon_rules clauses, see ``Rule clauses''.

Some advantages of objects over icon_rules clauses is that objects are self-contained, well-suited for portability, easily exchanged from user to user, simply structured and easy to debug.

There are two ways to create objects:


Next topic: Creating an object using the Object Builder

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003