16.  Inter-Client Communication Functions  

(iconify-window window screen-number)

See XIconifyWindow.

(withdraw-window window screen-number)

See XWithdrawWindow.

(reconfigure-wm-window . args)

See XReconfigureWMWindow.

For the format of the arguments see create-window above. Mandatory attributes are window and screen-number (an integer). Optional attributes are x, y, width, height border-width (integers), sibling (a window), and stack-mode (a symbol; one of above, below, top-if, bottom-if, opposite).

(get-text-property window atom)

See XGetTextProperty. Returns a text property as a list of strings or #f if the specified property does not exist.

(set-text-property! window value atom)

See XSetTextProperty. value is a list holding the items of the text property (strings or symbols).

(wm-protocols window)

See XGetWMProtocols. Returns a vector of atoms.

(set-wm-protocols! window protocols)

See XSetWMProtocols. protocols is a vector of atoms.

(wm-name window)

See XGetTextProperty. Returns the WM_NAME property as a list of strings or #f if it does not exist.

(set-wm-name! window name)

See XSetTextProperty. name is a list of strings or symbols.

(wm-icon-name window)

See XGetTextProperty. Returns the WM_ICON_NAME property as a list of strings or #f if it does not exist.

(set-wm-icon-name! window name)

See XSetTextProperty. name is a list of strings or symbols.

(wm-client-machine window)

See XGetTextProperty, XGetWMClientMachine. Returns the WM_CLIENT_MACHINE property as a list of strings or #f if it does not exist.

(set-wm-client-machine! window value)

See XSetTextProperty, XSetWMClientMachine. value is a list of strings or symbols.

(wm-class window)

See XGetClassHint. Returns a pair (name and class) each component of which is either a string or #f.

(set-wm-class! window name class)

See XSetClassHint. name and class are strings or symbols.

(wm-command window)

See XGetCommand (in X11 Release 4 or newer releases). Returns the value of the WM_COMMAND property of the given window as a list of strings.

(set-wm-command! window command)

See XSetCommand. command is a list; each element is either a string or a symbol.

(transient-for window)

See XGetTransientForHint. Returns a window.

(set-transient-for! window property-window)

See XSetTransientForHint.

(wm-normal-hints window)

See XGetWMSizeHints. Returns a list of hints. Each element is set to the empty list if the corresponding hint has not been set for the specified window.

The elements of the list correspond to the following hints (in this order): x, y, width, and height (program specified); x, y, width and height (user specified); min-width and min-height; max-width and max-height; width-inc and height-inc; min-aspect-x, min-aspect-y, max-aspect-x and max-aspect-y; base-width and base-height; and gravity. All elements are integers except for the value of gravity which is a symbol (see the window-gravity procedure above).

(set-wm-normal-hints! . args)

See XSetWMSizeHints. For the format of the arguments see create-window above. Attributes are window (mandatory) and the names of the hints listed under wm-normal-hints above.

(wm-hints window)

See XGetWMHints. Returns a list of hints. Each element is set to the empty list if the corresponding hint has not been set for the specified window.

The elements of the list correspond to the following hints (in this order): input?, initial-state, icon-pixmap, icon-window, icon-x, icon-y, icon-mask, and window-group. The value of input? is a boolean. initial-state is a symbol (dont-care, normal, zoom, iconic, inactive). The values of icon-pixmap and icon-mask are pixmaps. icon-window and window-group are windows. icon-x and icon-y are integers.

(set-wm-hints! . args)

See XSetWMHints. For the format of the arguments see create-window above. Attributes are window (mandatory) and the names of the hints listed under wm-hints above.

(icon-sizes window)

See XGetIconSizes. Returns a vector of lists of six integers (min-width, min-height, max-width, max-height, width-inc, and height-inc).

(set-icon-sizes! window icon-sizes)

See XSetIconSizes. icon-sizes is a vector of lists of six integers (see icon-sizes above).


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