The Scale resource panel is used to set the resources of Scale widgets.
The panel is laid out in logical pages due to the number of resources which can be set. Select the page you require using the Tab Buttons at the top.
The Display page contains resources which affect the visual appearance of the widget. Minimum and Maximum resources are used to bound the values which the Scale widget represents. You can set a title for the Scale widget either by typing in the value directly, or by pressing on the Title resource button to the left, which displays the XmString (Compound String) Editor. Similarly, you can specify a font directly, or display a Font Selector dialog by clicking on the resource button.
The Settings page contains various scalar values resources: specify the values you require by using the option menus provided. Be warned that Motif makes some assumptions about Orientation and Direction combinations and may decide to take the direction of any specified Font into account when positioning your Scale and Scale Title. You are strongly advised to consult your OSF/Motif Programming Reference manual.
The Tick Marks page contains resources which configure a feature of the widget available in the 2.1 version of the Motif toolkit. X-Designer uses the data on this page to configure parameters to a call to XmScaleSetTicks(3X), whereby tick marks are automatically placed along the edges of the Scale.
Callbacks can be specified by displaying the Callbacks dialog, available from the Widget menu of X-Designer.
NOTES
You can add children to the Scale widget in order to provide additional functionality. In Motif 1.2, you might consider adding labels which represent tick marks on the scale; for Motif 2.1, this is no longer necessary: simply configure the "Tick Marks" page.
If you cannot find the resource you want to set in this resource panel, try in the Core Resources Panel (selected from the Widget menu at the top of the X-Designer Window).
See also: