| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (15 out of 48)

geometry

For a new G2 process's window, specifies its dimensions in pixels and its position as an offset in pixels from the upper-left corner of the screen.

Platforms

All platforms except Windows.

Syntax

width: Width of the window in pixels.

height: Height of the window in pixels.

+x-offset: Pixels from the right of the screen.

-x-offset: Pixels from the left of the screen.

+y-offset: Pixels from the top of the screen.

-y-offset: Pixels from the bottom of the screen.

Equivalent Environment Variable

None

Description

This option pertains to a G2 process whose window displays on a platform that runs the X Windows window manager.

If you omit any values in the geometry string, G2 takes the missing values from defaults used by the window manager's resource manager on the target platform.

For more information see the X Windows reference documentation for the target platform.

Special Considerations

Some window managers may ignore the settings you specify for x-offset and y-offset.

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (15 out of 48)

Copyright © 1997 Gensym Corporation, Inc.