
6
Command-line Arguments
and XView Resources
This section lists XView properties that can be set with command-line options or by specify-
ing values for resources. Values for most properties can be overridden programatically using
XView attributes. For example, the position and size of an application’s base frame can be
set using the command-line option –geometry, or by changing the value of the
Window.Geometry resource. However, if the application sets its size and position by set-
ting attributes with xv_set(), the values specified in the call to xv_set() take precedence.
This section is divided into two parts: 6.1, which lists the properties that have an explicit
command-line option, and 6.2, which lists the properties that do not have an explicit com-
mand-line option.
XView properties may be set in a number of ways, as the following list indicates. The list
shows precedence for setting property values, from highest to lowest.
1. Calling xv_set() for one or more attributes that change the value of a property.
2. Specifying a flag name plus its value, if any, on the command line.
3. Editing or adding values for resource defaults in a ˜/.Xdefaults file.
4. Calling xv_create() for an object’s attributes.
5. Using the package default values for the property.
From this list, you can see that command-line options have precedence over values set during
xv_create(), but that all values are overridden ...