Builder Xcessory allows you to create, manipulate, and reuse different types of UI objects, including the following:
· Motif widgets and widget collections
· C++ Motif classes and subclasses
· ViewKit classes and subclasses
· Java AWT classes and subclasses
Creating UI objects is the same for all object types. The following sections describe two methods for selecting an object from the Palette and placing the object in your interface.
1. With MB1, click on the desired object.
2. Position the upper left-hand corner of the object where you want to place it, and click again with MB1.
1. With MB2, drag the desired object out of the Palette.
2. Drop it at the location where you would like it to be created.
The object is created with the current default size (that you can reset, as described in Using MB1 ).
As you build your interface, usually you create UI objects as children of other objects. To create objects as children of other objects, drag the child object over the object that is to become the parent. You can do this either on the actual object or in the Browser display area.
If the potential parent is not a legal parent, Builder Xcessory searches up the object hierarchy until a legal parent is found.
If there is no legal parent, or if you do not create the new object directly over an existing object, Builder Xcessory automatically creates the appropriate top-level object for you. This can be a Motif top-level shell, a dialog shell, etc.
You can create more than one child for a single parent object by selecting the Keep Parent item on the Browser View menu. You can then create a series of child objects by double-clicking on the objects on the Palette. For more information on Keep Parent, see Using Keep Parent or "Keep Parent" on page 63 of the Builder Xcessory Reference Manual.
| Up | Previous | Next |