Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XParGeom(3X) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XParseGeometry(3X)  —  X Version 11

NAME

XParseGeometry, XGeometry, XParseColor − parse window geometry and color

SYNTAX

int XParseGeometry(parsestring, x_return, y_return, width_return, height_return)
      char ∗parsestring;
      int ∗x_return, ∗y_return;
      int ∗width_return, ∗height_return;

int XGeometry(display, screen, position, default_position, bwidth, fwidth, fheight, xadder,
                  yadder, x_return, y_return, width_return, height_return)
      Display ∗display;
      int screen;
      char ∗position, ∗default_position;
      unsigned int bwidth;
      unsigned int fwidth, fheight;
      int xadder, yadder;
      int ∗x_return, ∗y_return;
        int ∗width_return, ∗height_return;

Status XParseColor(display, cmap, spec, exact_def_return)
        Display ∗display;
        Colormap cmap;
        char ∗spec;
        XColor ∗exact_def_return;

ARGUMENTS

bwidthSpecifies the border width. 

cmapSpecifies the color map ID. 

displaySpecifies the connection to the X server. 

fheight

fwidthSpecify the font height and width in pixels (increment size). 

parsestringSpecifies the string you want to parse. 

position

default_position
Specify the geometry specifications.

screenSpecifies the screen. 

exact_def_return
Returns the exact colors for later use and sets the DoRed, DoGreen, and DoBlue flags.

specSpecifies the color name string.  Uppercase and lowercase characters are acceptable. 

width_return

height_return
Return the width and height determined.

xadder

yadderSpecify additional interior padding needed in the window. 

x_return

y_returnReturns the xoffset and yoffset determined. 

DESCRIPTION

The XParseGeometry function parses standard window geometry strings.

The XGeometry function parses window geometry given an argument and a default position.

The XParseColor function parses color values. .PN XParseColor can generate a BadColor error.

DIAGNOSTICS

BadColor A value for a Colormap argument does not name a defined Colormap. 

SEE ALSO

Xlib − C Language X Interface

1 March 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026