XDisplayWidth 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]

XDisplayWidth*()					      XDisplayWidth*()

Name
  XDisplayWidth,  XDisplayWidthMM,  DisplayWidth,  DisplayWidthMM – query
  width of screen in pixels or millimeters.

Synopsis
  int XDisplayWidthMM(display, screen_number)
	   Display *display;
	   int screen_number;

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

  screen_number
	    Specifies the appropriate screen number on the server.

Returns
  The width in pixels or millimeters.

Description
  XDisplayWidth*()  returns  an	 integer  that describes the width of the
  screen in pixels.  XDisplayWidthMM() returns the width of the specified
  screen in millimeters.

  The  C  language macros DisplayWidth() and DisplayWidthMM() are equiva‐
  lent and slightly more efficient.

  These functions are misnamed; they should really be XScreenWidth()  and
  XScreenWidthMM().

See Also
  XDisplayHeight*(),  XDisplayHeightMM(), XGetWindowAttributes(), XGetGe‐
  ometry().

Xlib - Macro Equivalents				      XDisplayWidth*()
[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