2.  Display Functions  

(display? x)

Returns #t iff x is an object of type display.

(open-display . name-of-display)

See XOpenDisplay. name-of-display is a string or a symbol. If no name is specified, a NULL name will be passed to XOpenDisplay.

(close-display display)

See XCloseDisplay. Finalizes all objects associated with the display, then closes the display.

(display-default-root-window display)
(display-root-window display)

See XDefaultRootWindow.

(display-default-colormap display)
(display-colormap display)

See XDefaultColormap. Returns the default colormap of the display's default screen.

(display-default-gcontext display)

See XDefaultGC. Returns the default graphics context of the display's default screen.

(display-default-depth display)

See XDefaultDepth. Returns the default depth of the display's default screen.

(display-default-screen-number display)

See XDefaultScreen. Returns an integer.

(display-cells display screen-number)

See XDisplayCells. Returns an integer.

(display-planes display screen-number)

See XDisplayPlanes. Returns an integer.

(display-string display)

See XDisplayString. Returns a string.

(display-vendor display)

See XServerVendor, XVendorRelease. Returns a pair; the car is a string (the vendor identification), and the cdr is an integer (the vendor release number).

(display-protocol-version display)

See XProtocolVersion, XProtocolRevision. Returns a pair of integers (the X protocol's major and minor version numbers).

(display-screen-count display)

See XScreenCount. Returns an integer.

(display-image-byte-order display)

See XImageByteOrder. Returns a symbol (lsb-first or msb-first).

(display-bitmap-unit display)

See XBitmapUnit. Returns an integer.

(display-bitmap-bit-order display)

See XBitmapBitOrder. Returns a symbol (lsb-first or msb-first).

(display-bitmap-pad display)

See XBitmapPad. Returns an integer.

(display-width display)
(display-height display)

See XDisplayWidth, XDisplayHeight. Returns the width/height of the display's default screen.

(display-width-mm display)
(display-height-mm display)

See XDisplayWidthMM, XDisplayHeightMM. Returns the width/height of the display's default screen in millimeters.

(display-motion-buffer-size display)

See XDisplayMotionBufferSize. Returns an integer.

(display-flush-output display)

See XFlush.

(display-wait-output display discard-events?)

See XSync.

(no-op display)

See XNoOp.

(list-depths display screen-number)

See XListDepths. Returns a vector of integers.

(list-pixmap-formats display)

See XListPixmapFormats. Returns a vector of lists of three integers (depth, bits per pixel, and scanline pad).

(set-after-function! display procedure)

See XSetAfterFunction. Returns the old after function. If procedure is #f, the current after function is disassociated from the display.

(after-function display)

Returns the after function currently associated with the given display (#f if there is none).

(synchronize display)

Sets the display's after function to display-wait-output.


Markup created by unroff 1.0,    September 24, 1996,    net@informatik.uni-bremen.de