-display DISPLAY_NAME
This option sets the display name. It is the most common way to
temporarily override the DISPLAY
environment.
-geometry WIDTH
xHEIGHT
XOFFSET
YOFFSET
This option sets the geometry and/or location of your application's
main window. The WIDTH
xHEIGHT
part specifies a prefered
dimension and the XOFFSET
YOFFSET
specifies
a prefered location. You may pass only a subset of the geometry
specification. For example, the following specifications are all
valid.
-geometry 300x200+10+10
-geometry 300x200
-geometry 300
-geometry x200
-geometry 300+10-10
-geometry x200+10-10
-geometry -10+10
-geometry -10+
-geometry +10
-visual VISUAL_TYPE
This option selects a visual type supported by your X server.
Supported visual types are:
PseudoColor
TrueColor
DirectColor
Grayscale
StaticColor
StaticGray
-privateColormap
This option is relevent only for PseudoColor/grayScale visuals. It tells
EZwgl to allocate a private colormap instead of using the default
colormap of your display. It is useful when your application is
color hungry, (e.g. an interactive graphics application).
-readWriteColormap
This option is relevent only for PseudoColor/grayScale visuals. It tells
EZwgl to use the default colormap of your display and allocate
read/write color cells. Use this option if you need exact colors and
don't want to use a private colormap. EZWGL will switch to the default
colormap if it cannot allocate a minimum of 44 read/write color cells.
-background COLOR
or -bg COLOR
This option overrides the default background color of your
widgets. Here are some of my favoriate background
colors.
-bg "PeachPuff"
-bg "#fdc"
-bg "#afaf00"
EZ_ConfigureWidget
. This method has the highest priority and
the set background color will be honored if at all possible.
Moreover, all its descendants' background color,
if not set (either by resources or explicitly), will be set
to this color. The second method is to override the default
background color by invoking EZ_SetGlobalBackground
at initialization time. The third method is the -bg COLOR
command line option. The last two methods alters the default
background for all widgets in an EZ application.
-foreground COLOR
or -fg COLOR
This option overrides the default foreground color of your
widgets. The default foreground color is black.
-iconic
This option informs EZwgl to start the application in
iconic mode. This option only affects your first
toplevel widgets. It has no affects if the initial_state
window manager hint is explicitly set.
-backingStore
This option informs EZwgl to use X server's backing store
attributes for all widget windows, if available. It is useful if
your application needs to move windows around constantly.
For transient widgets (widgets with the EZ_TRANSIENT
attributes
set to True
) like menus and free-labels,
the backing store window attribute is automatically set by
the EZwgl.