XGeometry man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XGeometry()							   XGeometry()

Name
  XGeometry  –	calculate  window geometry given user geometry string and
  default geometry.

Synopsis
  int XGeometry(display, screen, position, default_position, bwidth,
	 fwidth,   fheight,   xadder,	yadder,	   x_return,	y_return,
  height_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, *width_return, *height_return;

Arguments
  display     Specifies	 a  connection	to  an	X  server;  returned from
	      XOpenDisplay().

  screen      Specifies which screen the window is on.

  position    Specifies the user- or  program-supplied	geometry  string,
	      perhaps incomplete.

  default_position
	      Specifies the default geometry string and must be complete.

  bwidth      Specifies the border width.

  fheight     Specify  the  font  height  and  width in pixels (increment
  fwidth      size).

  xadder      Specify additional interior padding in pixels needed in the
  yadder      window.

  x_return    Return  the  user-specified  or  default coordinates of the
  y_return    window.

  width_returnReturn the window dimensions in pixels.
  height_return

Returns
  A bitmask composed of the symbols XValue, YValue,  WidthValue,  Height‐
  Value, XNegative, and/or YNegative.

Description
  XGeometry has been superseded by XWMGeometry as of Release 4.

  XGeometry  returns  the position and size of a window given a user-sup‐
  plied geometry (allowed to be partial) and a	default	 geometry.   Each
  user-supplied	 specification	is  copied  into the appropriate returned
  argument, unless it is not present, in which case the default	 specifi‐
  cation  is  used.   The  default  geometry should be complete while the
  user-supplied one may not be.

  XGeometry is useful for processing command-line options and user  pref‐
  erences.  These geometry strings are of the form:
      =<width>x<height>{+-}<xoffset>{+-}<yoffset>
  The  "="  at	the  beginning	of  the	 string	 is now optional.  (Items
  enclosed in <> are integers, and items enclosed in {} are  a	set  from
  which	 one  item  is	to  be chosen.	Note that the brackets should not
  appear in the actual string.)

  The XGeometry return value is a bitmask  that	 indicates  which  values
  were	present in user_position.  This bitmask is composed of the exclu‐
  sive OR of the symbols XValue, YValue, WidthValue, HeightValue,  XNega‐
  tive, or YNegative.

  If  the function returns either XValue or  YValue, you should place the
  window at the requested position.  The border width (bwidth),	 size  of
  the width and height increments (typically fwidth and fheight), and any
  additional interior space (xadder and yadder) are passed in to make  it
  easy to compute the resulting size.

See Also
  XParseGeometry(), XTranslateCoordinates(), XWMGeometry.

Xlib - Standard Geometry					   XGeometry()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net