xdisplaywidth(3) hpux man page | unix.com

Man Page: xdisplaywidth

Operating Environment: hpux

Section: 3

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 equivalent and slightly more efficient.

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

See Also
  XDisplayHeight*(), XDisplayHeightMM(), XGetWindowAttributes(), XGetGeometry().

Xlib - Macro Equivalents													  XDisplayWidth*()
Related Man Pages
bitmapbitorder(3) - debian
bitmapunit(3) - debian
displaywidth(3) - debian
xlistpixmapformats(3) - debian
displayheight(3) - centos
Similar Topics in the Unix Linux Community
Unix File Permissions
How to list file size on HPUX?
How to extract every repeated string between two specific string?
Hpux 11iV3 administration document
Shopt -s histappend