Skip to Main Content
Volume 7B: XView Reference Manual
book

Volume 7B: XView Reference Manual

by Dan Heller
September 1991
Intermediate to advanced content levelIntermediate to advanced
311 pages
7h 17m
English
O'Reilly Media, Inc.
Content preview from Volume 7B: XView Reference Manual
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Gestion des couleurs pas à pas

Gestion des couleurs pas à pas

Jean Delmas
1,000 Garment Graphics

1,000 Garment Graphics

Jeffrey Everett

Publisher Resources

ISBN: 9780937175880