Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DspHeight(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XDisplayHeight, XDisplayHeightMM, DisplayHeight, DisplayHeightMM — query height of screen in pixels or millimeters. 

SYNOPSIS

int XDisplayHeight(display, screen_number)
      Display ∗display;
      int screen_number; int XDisplayHeightMM(display, screen_number)
      Display ∗display;
      int screen_number;

ARGUMENTS

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

screen_number
Specifies the appropriate screen number on the server.

RETURNS

The height in pixels or millimeters. 

DESCRIPTION

XDisplayHeight∗() returns an integer that describes the height of the screen in pixels.  XDisplayHeightMM() returns the height of the specified screen in millimeters. 

The C language macros DisplayHeight() and DisplayHeightMM() are equivalent and slightly more efficient. 

These functions are misnamed; they should really be XScreenHeight() and XScreenHeightMM(). 

SEE ALSO

XDisplayWidth∗(), XDisplayWidthMM(), XGetWindowAttributes(), XGetGeometry(). 

Xlib Reference Manual

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