Loose Bindings dialog

The Loose Bindings Dialog consists of the following areas:

Menubar

This contains three menus: "File", "Edit" and "Options". The "File" menu contains commands to Load, Merge and Inherit bindings from external resource files. The "Edit" menu allows you to delete bindings as well as cut, copy and paste them. The cut and paste mechanism is important because the order of the bindings in the list is the order they are generated. The order of resources in the resource file is significant because the file is read in order by the X toolkit. If there are any conflicting resources, the later resources override previous ones. The "Options" menu contains one option "Use Inherited Bindings" which allows you to decide whether or not to use any inherited bindings which appear in your loose bindings list. This toggle is set by default.

Currently Defined Bindings

At the top of the window is the list of currently defined loose bindings. Beneath the list there is an up and a down arrow button. Use these to change the order of the bindings in the list. The order in which the bindings appear in this list is the order they are generated into the resource file. The order of resources in the resource file is significant because the file is read in order by the X toolkit and, if there are any conflicting resources, the later resources override previous ones.

Binding Under Construction

Underneath the list of existing bindings there is a scrolling window of option menus representing a binding for the selected widgets in the widget hierarchy.

Resource Name and Value

Beneath the representation of the binding there are two text boxes - one for the name of the resource and one for its value.

Resource Panels

At the bottom of the dialog there are buttons to bring up the core and widget resource panels. The resource panels relate to the bottommost widget that you have selected in the widget hierarchy (also known as the leaf widget). There is also a button to "Add" the binding to the list of those currently defined.

  • Loose Bindings
  • About X-Designer