display-name Specifies the hardware display name, which determines the display and communications domain to be used. On a POSIX-conformant system, if the display-name is #f, it defaults to the value of the DISPLAY environment variable.
The encoding and interpretation of display-name is implementation-dependent. On POSIX-conformant systems, the display-name or DISPLAY environment variable can be a string in the format:— Special Form: hostname:number.screen-number
hostname specifies the name of the host machine on which the display is physically attached. Follow the hostname with either a single colon (:) or a double colon (::).
number specifies the number of the display server on that host machine. You may optionally follow this display number with a period (.). A single CPU can have more than one display. Multiple displays are usually numbered starting with zero.
screen-number specifies the screen to be used on that server. Multiple screens can be controlled by a single X server. The screen-number sets an internal variable that can be accessed by using the x:default-screen procedure.
display specifies the connection to the X server.
x:closefunction closes the connection to the X server for the display specified and destroys all windows, resource IDs (Window, Font, Pixmap, Colormap, Cursor, and GContext), or other resources that the client has created on this display, unless the close-down mode of the resource has been changed (see
x:set-close-down-mode). Therefore, these windows, resource IDs, and other resources should not be used again or an error will be generated. Before exiting, you should call x:close-display or x:flush explicitly so that any pending errors are reported.
Returns cons of the major version number (11) of the X protocol associated with the connected display and the minor protocol revision number of the X server.
Returns a string that provides some identification of the owner of the X server implementation. The contents of the string are implementation-dependent.
Returns a number related to a vendor's release of the X server.
A display consists of one or more Screens. Each screen has a root-window, default-graphics-context, and colormap.
Returns the default screen number specified by the
x:open-displayfunction. Use this screen number in applications which will use only a single screen.
screen-number, if givien, specifies the appropriate screen number on the host server. Otherwise the default-screen for display is used.
Returns the root window for the specified screen-number. Use
x:root-windowfor functions that need a drawable of a particular screen or for creating top-level windows. — Function: x:root-window window
Returns the root window for the specified window's screen.
Returns the default colormap of the specified screen.
Returns the default Color-Conversion-Context (ccc) of the specified screen.
Returns the default graphics-context of the specified screen.
Returns an array of depths supported by the specified screen.
The Visual type describes possible colormap depths and arrangements.
Returns the default Visual type for the specified screen.
The integer depth specifies the number of bits per pixel. The class argument specifies one of the possible visual classes for a screen:
X:make-visualreturns a visual type for the screen specified by display or window if successful; #f if not.
Returns the (integer) visual class of its argument.
Returns a list of the:
Returns the number of entries in the default colormap.
Returns the depth of argument.
Returns a list of integer height and width of the screen in pixels.
Returns a list of integer height and width of the screen in millimeters.
Returns the white pixel value of the specified screen.