Selecting Objects (XForms (Forms Library) - Version 1.2 (Rev. 4) A Graphical User Interface Toolkit for X)

Next: Moving and Scaling, Previous: Adding Objects, Up: Part II Creating Forms [Contents][Index]

### 10.3 Selecting Objects

To perform operations on objects that are already visible in the form, we first have to select them. Any mouse button can be used for selecting objects. Simply single-click on the object you want to select. A red outline will appear, indicating that the object is selected. Another way of selecting objects is to use the `<Tab>` or `<F11>` keys or the button labeled `F11`, all of which iterates over the object list and selects the next object upon each press (the only object not selected this way is the backface object).

It is also possible to select multiple objects. To this end draw a box by dragging the mouse around all the objects you want to select. All objects that lie fully inside the box will be selected. Each selected object will get a red outline and a red bounding box is drawn around all of them.

To add objects to an already existing selection, hold down the `<Shift>` key and press the left mouse button inside the object. You can remove objects from the selection by doing the same on an already selected object.

It is possible to select all objects (except for the backface object) at once using the function key `<F4>`. One note on the backface of the form: Although this is a normal object it can not be treated in the same way as the other objects. It can be selected, but never in combination with other objects. Only changing its attributes is allowed.