(add-input-hook! port proc)
Add an input hook to run PROC on input from PORT.
Whenever input becomes available on PORT, procedure PROC will be called
with no arguments repeatedly until no unprocessed input remains on
PORT. PORT must be open, it must be an input port, and it must be a
file port (this includes pipes and sockets, but not string ports or
soft ports). A handle suitable for passing to `remove-input-hook!' is
returned.
[From scwm/callbacks.c:559]


(add-timer-hook! usec proc)
Add a timer hook to call PROC once sometime after USEC microseconds.
When at least USEC microseconds have passed, procedure PROC will be
called with no arguments. A handle suitable for passing to
`remove-timer-hook!' is returned.
[From scwm/callbacks.c:422]


(beep)
Ring the standard X bell.
[From scwm/miscprocs.c:340]


(bind-key contexts key proc)
Bind the given KEY within the CONTEXTS to invoke PROC.
CONTEXTS is a list of event-contexts (e.g., '(button1 sidebar))
KEY is a string giving the key-specifier (e.g., M-Delete for Meta+Delete)
PROC is a procedure (possibly a thunk) that should be invoked
[From scwm/binding.c:648]


(bind-mouse contexts button proc)
Bind the given mouse BUTTON within the CONTEXTS to invoke PROC.
CONTEXTS is a list of event-contexts (e.g., '(button1 sidebar))
BUTTON is a string or integer giving the mouse button number
PROC is a procedure (possibly a thunk) that should be invoked
[From scwm/binding.c:707]


(border-normal?  #&optional win)
Return #t if WIN has a normal border, #f otherwise.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:2814]


(capturing?)
Returns #t when the windows are being captured.
This happens at two times: during initial startup, or during a
recapture operation. In either case, placement procedures should
probably avoid interaction and perhaps avoid moving the window being
placed at all.
[From scwm/miscprocs.c:164]


(clear-color-cache-entry name)
Colors are cached by name. It is remotely possible that the
meaning of a particular string as a color will change in your X
server, if you try hard enough. For this unlikely eventuality,
`clear-color-cache-entry' is provided - it removes the color
associated with NAME from the color cache.
[From scwm/color.c:178]


(clear-font-cache-entry name)
Fonts are cached by name. It is remotely possible that the
meaning of a particular string as a fonts will change in your X
server, if you try hard enough (perhaps if you add or remove font
servers). For this unlikely eventuality, `clear-font-cache-entry' is
provided - it removes the font associated with NAME from the font
cache.
[From scwm/font.c:389]


(clear-image-cache-entry name)
Images are cached by both name and full pathname. It is
remotely possible that the file that should be used for a particular
name will change, for example if you alter the image file or change
your image path. For this unlikely eventuality,
`clear-image-cache-entry' is provided - it removes the image
associated with NAME from the image cache.
[From scwm/image.c:544]


(clever-place-window win)
Places WIN using fvwm2's "ReallySmart" algorithm.
The placement is just as if being placed by fvwm2's SmartPlacement,
as if SmartPlacementIsReallySmart were in effect. That is, it
tries to place the window so as to minimize its area of
overlap with other windows. Several parameters give different
weight to various kinds of windows, but they are not tunable
at runtime currently. If it fails to place the window, it
returns #f; otherwise it returns #t.
[From scwm/placement.c:438]


(click-delay)
Retrun the delay used in identifying mouse clicks and drags, in microseconds.
See also `set-click-delay!'
[From scwm/miscprocs.c:207]


(click-to-focus-passes-click?)
Returns a boolean valude indicating whether a click-to-focus window receives the click.
[From scwm/miscprocs.c:395]


(click-to-focus-raises?)
Returns a boolean valude indicating whether a click-to-focus window gets raised on focus.
[From scwm/miscprocs.c:422]


(color-properties color)
Return an association list giving some properties of COLOR.
Currently defined properties are 'name, the string name of the
color, and 'pixel, the X pixel value it uses.
[From scwm/color.c:92]


(color? obj)
Returns #t if OBJ is a color object, otherwise #f.
[From scwm/color.c:80]


(colormap-focus)
Return the colormap focus policy, as set by `set-colormap-focus!'.
The value can be either be 'mouse, indicating that the window under
the mouse pointer will always colormap installed, or 'focus to
indicate that the window with the input focus should also get the
colormap focus.
[From scwm/miscprocs.c:242]


(current-decor)
Return the current decor.
[From scwm/decor.c:293]


(current-desk)
Returns the integer identifying the current desk.
[From scwm/deskpage.c:74]


(current-window-with-focus)
Return the window that currently has the input focus.
[From scwm/window.c:722]


(current-window-with-pointer)
Return the window that currently contains the mouse pointer.
[From scwm/window.c:732]


(default-decor)
Return the default decor.
[From scwm/decor.c:253]


(default-placement-proc win)
Use various flags to call an appropriate placement function.
This is the default placement procedure for non-transient windows. It
tries `smart-place-window', `clever-place-window',
`random-place-window', or `interactive-move' (to achieve interactive
placement) on WIN depending on several style flags. However,
if one of the following factors holds, the window will instead be
placed exactly as requested by the program: the position was specified
by the user, the position was specified by the program, and
#:no-PPosition-hint is not set, or the window starts iconic.
[From scwm/placement.c:510]


(default-transient-placement-proc win)
This is the default placement procedure for transient windows.
It simply leaves the window WIN in place, exactly as requested.
[From scwm/placement.c:563]


(deiconify  #&optional win)
Deiconify WIN.
Unmap its icon window, and map its regular
window. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:1773]


(delete-window  #&optional win)
Request that WIN remove itself from the display.
This is the friendly way of closing a window, but it will not work if
the application does not cooperate. WIN defaults to the window context
in the usual way if not specified.
[From scwm/window.c:1427]


(desk-size)
Returns the size of the current desk.
The returned value is in units of the physical screen size, as a list
of the width and the height.
[From scwm/deskpage.c:329]


(destroy-window  #&optional win)
Forcibly remove WIN from the screen.
This will kill the application without giving it a chance to save its
state or do any other shutdown, but is guaranteed to work. WIN
defaults to the window context in the usual way if not specified.
[From scwm/window.c:1458]


(display-size)
Returns the size of the physical screen in pixels.
The return value is list of the width and the height. The
width is the `car', the height is the `cadr' of the returned list.
[From scwm/deskpage.c:343]


(edge-move-threshold)
Return the edge move threshold as set by `set-edge-move-threshold!'.
[From scwm/deskpage.c:282]


(edge-scroll-delay)
Return the edge scroll delay as set by `set-edge-scroll-delay!'.
[From scwm/deskpage.c:251]


(edge-x-scroll)
Return the horizontal edge scroll increment as set by `set-edge-x-scroll!'.
[From scwm/deskpage.c:140]


(edge-x-wrap)
Return the current horizonatal edge wrap setting as set by `set-edge-x-wrap!'.
[From scwm/deskpage.c:194]


(edge-y-scroll)
Return the vertical edge scroll increment as set by `set-edge-y-scroll!'.
[From scwm/deskpage.c:169]


(edge-y-wrap)
Return the current vertical edge wrap setting as set by `set-edge-y-wrap!'.
[From scwm/deskpage.c:219]


(focus  #&optional win)
Give WIN the input focus.
This will typically result in drawing WIN's frame in a special style
as well. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:1503]


(font-properties font)
Return an association list giving some properties of FONT.
Currently defined properties are 'name, the string name of the
color, and 'height, it's total height in pixels.
[From scwm/font.c:243]


(font? obj)
Returns #t if OBJ is a font object, otherwise #f.
[From scwm/font.c:233]


(frame-id->window window-id)
Return the window object corresponding to a frame WINDOW-ID.
WINDOW-ID should be the X id of a scwm frame window. If there is no
such window object, return #f.
[From scwm/window.c:2477]


(get-window  #&optional kill? select? release?)
Retrieve the context window or select interactively.
If there is no context window, a window is selected interactively.
The optional boolean argument KILL?  (default #f) determines whether
to use the "kill" cursor when selecting interactively. The boolean
SELECT? argument (default #t) determines whether or not a window
should be selected interactively if there is no current context
window. And finally the RELEASE? argument (default #t) determines
whether or not interactive selection (if any) should wait for a mouse
release event or just a press. The latter behavior is useful if the
action being performed on the window is an interactive one involving
mouse drags. (FIXMS: that's probably a bad order for the optional
arguments)
[From scwm/window.c:680]


(hide-titlebar  #&optional win)
Cause WIN not to be decorated with a titlebar.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:2714]


(hilight-background)
Return the background color for windows with the input focus.
Applies to the current decor.
[From scwm/color.c:682]


(hilight-factor)
Return the current hilight factor.
[From scwm/color.c:454]


(hilight-foreground)
Return the foreground color of the window with the input focus.
Applies to the focus in the current decor.
[From scwm/color.c:609]


(icon-font)
Return the font used for drawing icon titles.
[From scwm/font.c:283]


(icon-position  #&optional win)
Return the position of the icon for WIN.
The position is returned as a list of the x coordinate and the y
coordinate in pixels. WIN defaults to the window context in the usual
way if not specified.
[From scwm/window.c:2352]


(icon-sticky?  #&optional win)
Return #t if WIN is "sticky", #f otherwise.
See `stick-icon' and `stick'. WIN defaults to the window context in
the usual way if not specified.
[From scwm/window.c:2917]


(iconified?  #&optional win)
Return #t if WIN is iconified, otherwise return #f.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:1790]


(iconify  #&optional win)
Iconify WIN.
Iconifying unmaps the regular window, and map the window's icon
window. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:1747]


(id->window window-id)
Return the window object corresponding to an application WINDOW-ID.
WINDOW-ID should be the X id of the application window. If there is no
such window object, return #f.
[From scwm/window.c:2456]


(image-properties image)
Return an association list giving some properties of IMAGE.
Currently defined properties are 'filename, the fully expanded
pathname of the image, 'width, it's width, 'height, it's height, and
depth, it's color depth.
[From scwm/image.c:159]


(image? obj)
Returns #t if OBJ is an image object, otherwise #f.
[From scwm/image.c:149]


(interactive-move  #&optional win opaque?)
Move WIN interactively.
This allows the user to drag a rubber band frame or the window itself
around the screen. WIN defaults to the window context in the
usual way if not specified.  If OPAQUE? is #t, the move will be done
"opaquely", moving the actual X window, if #f a rubberband will be
used instead to save on server computation (note that the rubberband
requires a server "grab" which means that nothing else changes on
screen while the non-opaque move takes place.
[From scwm/move.c:627]


(interactive-resize  #&optional win opaque?)
Resize WIN interactively.
This allows the user to drag a rubber band frame to set the size of
the window. WIN defaults to the window context in the usual way if not
specified. If OPAQUE? is #t, the resize will be done
"opaquely", moving the actual X window, if #f a rubberband will be
used instead to save on server computation (note that the rubberband
requires a server "grab" which means that nothing else changes on
screen while the non-opaque resize takes place.
[From scwm/resize.c:607]


(keep-on-top  #&optional win)
Ensure that WIN is kept on top of all other windows.
Obviously, other windows that are also on-top may obscure WIN.
WIN defaults to the window context in the usual way if not specified.
[From scwm/window.c:2610]


(kept-on-top?  #&optional win)
Return #t if WIN is an on-top window, #f otherwise.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:2653]


(list-all-windows)
Return a list of all of the top-level window objects.
The list is in a semi-arbitrary order that is convenient for the sake
of circulation.
[From scwm/window.c:2560]


(list-stacking-order)
Return a list of all the top-level window objects, from top to bottom.
The order is the stacking order of the windows. The first element is
the topmost window, the last is the bottommost
[From scwm/window.c:2579]


(load-xbm full-path)
Load an X Bitmap file identified by the pathname FULL-PATH.
[From scwm/image.c:219]


(load-xpm full-path)
Load an X Pixmap file identified by the pathname FULL-PATH.
[From scwm/image.c:253]


(lower-window  #&optional win)
Lower WIN to the bottom of the window stack. WIN defaults to
the window context in the usual way if not specified.
[From scwm/window.c:1581]


(make-color cname)
Return the color object corresponding to the X color specifier CNAME.
If CNAME is not a valid X color name, or cannot be
allocated, an error results.
[From scwm/color.c:110]


(make-decor  #&optional name)
Create a new decor object. NAME optionally provides a string
that is used to name the decor, and is displayed when the decor is
printed.
[From scwm/decor.c:225]


(make-face flags specs)
Create a new face.
FLAGS is a list of face flags (see concept) and
SPECS is a list of face specifiers.
[From scwm/face.c:448]


(make-font fname)
Return the font object for the X font specifier FNAME.
If FNAME is not a valid X font name, or cannot be
allocated, an error results.
[From scwm/font.c:101]


(make-image name)
Loads an image from the file NAME.
To load the image, the appropriate image loaders will be invoked as
needed. If NAME starts with "/", "./" or "../", it is treated as a
fully qualified pathname; otherwise, the image path is searched for an
appropriate file.
[From scwm/image.c:475]


(make-menu list-of-menuitems #&optional picture-side side-bg-color bg-color text-color picture-bg font extra-options)
Make and return a menu object from the given arguments.
LIST-OF-MENUITEMS is a scheme list of menu items -- see `make-menuitem';
PICTURE-SIDE is an image object;
SIDE-BG-COLOR, BG-COLOR, TEXT-COLOR, PICTURE-BG are color objects;
FONT is a font object;
EXTRA-OPTIONS can be anything understood by the menu-specific
drawing code (not used currently).
[From scwm/menu.c:196]


(make-menuitem label action #&optional extra-label picture-above picture-left hover-action unhover-action hotkey-prefs)
Return a newly created menuitem object using the given arguments.
LABEL is a string giving the main text label of the menu item;
ACTION is a procedure or menu object -- if it is a procedure, it gets
invoked when the menuitem is selected, if it is a menu object, that
menu is attached as a submenu from the enclosing menu that the created
menuitem is put in.
EXTRA-LABEL is extra text describing the menu item -- often this
contains a shortcut key description, or some other descriptive text.
PICTURE-ABOVE and PICTURE-LEFT are picture objects which correspond to
images to display within the bounding region of the menuitem.
HOVER-ACTION and UNHOVER-ACTION are procedures to be invoked when the
mouse pointer hovers over the item and is moved away after hovering
over the item, respectively.
HOTKEY-PREFS is a string listing preferred alphanumeric shortcut-keys
for the given menu-item; the menu creation routine uses these as hints
for assigning shortcut keys to the various menuitems.
[From scwm/menuitem.c:118]


(make-relief-color color factor)
Convert a color into a new color appropriate for a relief.
Multiplies the luminosity and saturation of COLOR by the
positive floating point number FACTOR. Using a FACTOR smaller than 1
will result in a dimmer color, suitable for use as a darker
relief. Using a factor greater than 1 will result in a brighter color
which is suitable for use as a hilight.
[From scwm/color.c:363]


(marshal-fvwm2-config-info win)
Constructs a fvwm2 BroadcastInfo module packet.
The return value is the contents of a BroadcastInfo fvwm2
module packet for WIN as a Scheme string.
[From scwm/module-interface.c:83]


(marshal-fvwm2-iconify-info win)
Constructs a fvwm2 "M_ICONIFY" module packet.
The return value is the contents of an "M_ICONIFY" fvwm
module packet for WIN as a Scheme string.
[From scwm/module-interface.c:127]


(menu-background)
Return the default background color for menus.
[From scwm/color.c:786]


(menu-font)
Return the font used by default for drawing menus.
[From scwm/font.c:379]


(menu-foreground)
Return the default foreground color for menus.
[From scwm/color.c:722]


(menu-hilight-factor)
Return the current menu hilight factor.
[From scwm/color.c:529]


(menu-mwm-style)
Return the menu mwm style as set by `set-menu-mwm-style!'.
This option is currently ignored.
[From scwm/miscprocs.c:44]


(menu-properties menu)
Returns the a list of the menu properties of MENU, a menu object.
The properties returned are:
'(menu-items side-image side-bg-color bg-color text-color image-bg
font extra-options used-shortcut-keys)
[From scwm/menu.c:170]


(menu-shadow-factor)
Return the current menu shadow factor.
[From scwm/color.c:558]


(menu-stipple)
Return the default stipple color for menus.
May not be used any more.
[From scwm/color.c:832]


(menu? obj)
Return #t if and only if OBJ is a menu object.
[From scwm/menu.c:112]


(menuitem-properties menu-item)
Return a list of the properties of the given MENU-ITEM.
MENU-ITEM is a menuitem object, created by `make-menuitem'.  The
returned list contains the following, in this order:
'(label action extra-label picture-above picture-left hover-action
unhover-action hotkey-preferences)
Note that this is the same as the arguments to the `make-menuitem'
primitive
[From scwm/menuitem.c:90]


(mod-mask-alt)
Return the bit-mask for the Alt modifier key, or #f.
Returns #f if and only if there is no key bound to act as Alt, otherwise
returns a power of two corresponding to the bit-mask of the modifier
[From scwm/binding.c:848]


(mod-mask-hyper)
Return the bit-mask for the Hyper modifier key, or #f.
Returns #f if and only if there is no key bound to act as Hyper, otherwise
returns a power of two corresponding to the bit-mask of the modifier
[From scwm/binding.c:856]


(mod-mask-meta)
Return the bit-mask for the Meta modifier key, or #f.
Returns #f if and only if there is no key bound to act as Meta, otherwise
returns a power of two corresponding to the bit-mask of the modifier
[From scwm/binding.c:840]


(mod-mask-super)
Return the bit-mask for the Super modifier key, or #f.
Returns #f if and only if there is no key bound to act as Super, otherwise
returns a power of two corresponding to the bit-mask of the modifier
[From scwm/binding.c:865]


(mouse-event-type)
Return a symbol corresponding to the type of the most recent mouse event.
Return value is one of 'motion, 'click, 'one-and-a-half-clicks, 'double-click.
You can `case' on this symbol in a procedure bound to a mouse event
to determine, e.g., whether the user single clicked or double clicked.
[From scwm/binding.c:827]


(mouse-focus-click-raises?)
Returns a boolean valude indicating whether a mouse-focus-click will raise the window..
[From scwm/miscprocs.c:452]


(move-pointer-to sx sy)
Move the mouse pointer to SX, SY (given in pixels).
[From scwm/miscprocs.c:270]


(move-to x y #&optional win animated? move-pointer-too?)
Move WIN to coordinates X, Y.
If ANIMATED? is specified and true, animate the motion of the window,
otherwise the move is instantaneous. If MOVE-POINTER-TOO? is specified
and true, move the mouse pointer by the same amount as the window,
animating the motion of the pointer along with the window if ANIMATED?
is true. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:2060]


(move-window-to-desk desk #&optional win)
Move WIN to DESK. DESK is an integer desk identifier. WIN
defaults to the window context in the usual way if not specified.
[From scwm/window.c:2285]


(normal-border  #&optional win)
Cause WIN to be decorated with a normal border.
This means that there will be resize handles in the corners. WIN
defaults to the window context in the usual way if not specified.
[From scwm/window.c:2751]


(plain-border  #&optional win)
Cause WIN to be decorated with a plain border.
This means that there will be no resize handles in the corners, and the
window . WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:2783]


(pointer-position)
Return the current position of the mouse pointer in pixels.
The return value is a two-element list of the x and y coordinates.
[From scwm/miscprocs.c:255]


(popup-menu menu #&optional warp-to-first? x-pos y-pos left-side?)
Popup MENU, a menu object, and warp to the first item if WARP-TO-FIRST? is #t.
X-POS, Y-POS specify a desired position for the menu, and LEFT-SIDE? should be
#t if the menu should be left justified against X-POS, or #f if it should be
right justified against X-POS.
[From scwm/menu.c:1278]


(raise-window  #&optional win)
Raise WIN to the top of the window stack.
Stays-on-top windows still take priority. WIN defaults to the window
context in the usual way if not specified.
[From scwm/window.c:1555]


(raised?  #&optional win)
Return #t if WIN is currently raised, #f if not.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:1686]


(random-place-window win)
Places WIN just as if being placed by fvwm2's RandomPlacement.
This placement is not truly random; it is based on two state variables
which are incremented for the x and y coordinates, and which wrap
around once a window would be forced off the screen. The placement is
fairly arbitrary, but always succeeds, and so avoids user
interaction. #t is always returned.
[From scwm/placement.c:474]


(recapture)
Recapture all the windows.
This destroys all the current frame windows and recreate them from
scratch. This is hopefully not necessary during normal operation.
[From scwm/miscprocs.c:293]


(refresh)
Make sure all decorations for all windows are up to date. In theory,
this should not be needed.
[From scwm/miscprocs.c:178]


(refresh-window  #&optional win)
Refresh the decorations on window WIN.
Refreshing ensuring that everything, including the decorations is up
to date. `refresh' does this in a more efficient way for all windows,
as well as the root. WIN defaults to the window context in the usual
way if not specified.
[From scwm/window.c:2261]


(register-image-loader extension proc)
Register PROC as the loader to use for images ending in EXTENSION.
EXTENSION must be a string beginning with a period, the
empty string (for files with no extension), or the string "default"
(for files that no other image loader succeeds in loading). PROC will
be called with the full pathname of the image and should return an
image object, or #f if it succeeds.
[From scwm/image.c:301]


(remove-input-hook! handle)
Remove an input hook identified by HANDLE.
HANDLE should be an object that was returned by `add-input-hook!'. An
input hook may safely remove itself.
[From scwm/callbacks.c:589]


(remove-timer-hook! handle)
Remove a timer hook identified by HANDLE.
The HANDLE should be an object that was returned by
`add-timer-hook!'. No warning or error will occur if HANDLE is for a
timer hook that has already been triggered.
[From scwm/callbacks.c:464]


(reset-scwmexec-protocol)
Reset the scwmexec protocol.
This procedure removes the "XA_SCWMEXEC_REQUEST" property on the
root window.  It should not be necessary but may be useful in case
your X server goes awry (and otherwise you would have to restart your
X server).  Use if scwmexec or scwmrepl are not returning (e.g.,
if your Emacs hangs when you try evaluating a scwm expression).
[From scwm/events.c:459]


(resize-frame-to w h #&optional win)
Resize WIN to a size of W by H in pixels. The size includes
the window decorations. WIN defaults to the window context in the
usual way if not specified.
[From scwm/window.c:2191]


(resize-to w h #&optional win)
Resize WIN's client area to a size of W by H in pixels.
The size includes the window decorations. WIN defaults to the window
context in the usual way if not specified.
[From scwm/window.c:2151]


(restack-windows winlist)
Restack the windows in WINLIST from front to back.
The first element of WINLIST will be kept in its current stacking
order, the remainder will be stacked immediately below it in the order
given. (Note: This will currently confuse the heck out of the pager
and possibly other legacy fvwm2 modules).
[From scwm/window.c:1598]


(restart  #&optional command)
Restart the window manager. If COMMAND is specified, use
that, as the new window manager to run. If COMMAND is not specified or
is exactly equal to "scwm", restart scwm with the same command-line
arguments as given previously.
[From scwm/shutdown.c:130]


(restarted?)
Returns true if scwm is being restarted by itself.
[From scwm/miscprocs.c:155]


(safe-load fname)
Load file FNAME while trapping and displaying errors.
Each individual top-level-expression is evaluated separately and all
errors are trapped and displayed.  You Should use this procedure if
you need to make sure most of a file loads, even if it may contain
errors.
[From scwm/callbacks.c:243]


(scwm-path-exec-prefix)
Return the <envar>$EXEC_PREFIX</envar> directory path that scwm was installed with.
[From scwm/miscprocs.c:493]


(scwm-path-prefix)
Return the <envar>$PREFIX</envar> directory path that scwm was installed with.
[From scwm/miscprocs.c:483]


(scwm-quit  . args)
Exit scwm cleanly. `quit' is redefined as this within
scwm. ARGS is ignored.
[From scwm/shutdown.c:156]


(scwm-version)
Return the version of scwm running.
[From scwm/miscprocs.c:462]


(scwm-version-date)
Return the date that the running scwm was last changed as a string.
[From scwm/miscprocs.c:472]


(select-window  #&optional kill? release?)
Select a window interactively.
Use a special cursor and let the user click to select the window. The
optional arguments KILL? and RELEASE? indicate whether to use the
"skull and cross-bones" kill cursor (recommended for destructive
operations like delete-window and destroy-window), and whether to wait
for a mouse release or act immediately on the click. The former is a
place-holder until we have proper cursor support in scwm.
[From scwm/window.c:613]


(select-window-interactively  #&optional msg)
Returns a window selected interactively while displaying MSG.
Returns #f if no window was selected. Display no message if MSG not given.
[From scwm/window.c:745]


(send-button-press button #&optional win button-press? button-release? propagate?)
Send a synthetic mouse press event.
Create a synthetic event of a press of mouse button BUTTON. The usual
mouse button specification format (with modifiers) is used. Send the
event to window WIN if specified; otherwise the window to be used
defaults to the window context in the usual way. By default, both a
press and a release are sent. However, the boolean parameters
BUTTON-PRESS? and BUTTON-RELEASE? allow you to specify which are sent
individually. PROPAGATE? indicates whether the propagate flag is set
on the event; the default is #f. You should not have to worry about
this unless you know what it means.
[From scwm/events.c:1783]


(send-key-press key #&optional win key-press? key-release? propagate?)
Send a synthetic press of KEY. The usual key specification
format (with modifiers) is used. The event is sent to window WIN if
specified; otherwise the window to be used defaults to the window
context in the usual way. By default, both a press and a release are
sent. However, the boolean parameters KEY-PRESS? and KEY-RELEASE?
allow you to specify which are sent individually. PROPAGATE? indicates
whether the propagate flag is set on the event; the default is #f. You
should not have to worry about this unless you know what it means.
[From scwm/events.c:1719]


(set-animation! vector)
Set the animation parameters to VECTOR. VECTOR is a vector of
floats which give the fractions of the final position that the window
should appear at. For instance, #(0.0 0.25 0.5 0.75 1.0 1.1 1.0) would
make the window appear at the initial position, 1/4 of the way, 1/2 of
the way, 3/4 of the way, overshoot the final position slightly, and
finally slide back into place. This parameter is used for both
animated window shades and animated moves.
[From scwm/window.c:2013]


(set-border-face! active #&optional inactive)
Set the face for the border In the current decor.
Use ACTIVE as the face for the border when the window is active. Use
INACTIVE when the window is inactive. INACTIVE defaults to the same as
ACTIVE when not specified.
[From scwm/face.c:966]


(set-border-width! width #&optional win)
Set the border width of WIN's border to WIDTH pixels.
WIN defaults to the window context in the usual way if not specified.
[From scwm/window.c:2828]


(set-button-face! button active-up #&optional active-down inactive)
Set the button faces for the various window states.
In the current decor, use ACTIVE-UP as the face for the
button specified by the integer BUTTON when active and not pressed
in. Use ACTIVE-DOWN when BUTTON is active and pressed in, and INACTIVE
when the window is inactive. Both INACTIVE and ACTIVE-DOWN default to
ACTIVE-UP when not specified. Note that ACTIVE-DOWN will magically
reverse the sense of the relief flag, so if the button is raised in
the ACTIVE-UP state, it will be sunk in the ACTIVE-DOWN state by
default.
[From scwm/face.c:872]


(set-button-mwm-flag! button flag)
Specify the Mwm flag for BUTTON.
If FLAG is #t, the button's relief pattern (if any) will appear to
reverse in depth sense (i.e., flip from sunken in to extruding out)
when the window is maximized.
[From scwm/face.c:933]


(set-click-delay! usec)
Set the delay used in identifying mouse clicks and drags.
USEC is specified in microseconds. After USEC microseconds, a mouse-down
without a mouse-up is considered a drag.  Also, after USEC microseconds, a
single click is definitively identified as not a double click.
[From scwm/miscprocs.c:190]


(set-click-to-focus-passes-click! flag)
Determine whether a click-to-focus window receives the click.
If FLAG is #t, the window will receive the event, if #f, scwm
will not pass the event on to the client.
[From scwm/miscprocs.c:383]


(set-click-to-focus-raises! flag)
Determine whether a click to focus raises the clicked-on window.
If FLAG is #t, clicks which transfer focus will also raise the target
window
[From scwm/miscprocs.c:407]


(set-colormap-focus! ftype)
Set the colormap focus policy to FTYPE.
FTYPE can either be 'mouse, indicating that the window under the mouse
pointer should always have it's colormap installed, or 'focus to
indicate that the window with the input focus should also get the
colormap focus. This makes a difference only when using focus policies
other than 'mouse.
[From scwm/miscprocs.c:217]


(set-current-decor! decor)
Set the current decor to DECOR. Operations described as
setting options "in the current decor" will now operate on this
one.
[From scwm/decor.c:263]


(set-current-desk! desk)
Change the current desk to DESK. DESK should be an integer
small enough to fit in one machine word.
[From scwm/deskpage.c:58]


(set-decorate-transient! flag #&optional win)
Set decoration of transients property on WIN.
If FLAG is #t, then if WIN is transient it will be fully
decorated. Transient windows that are not fully decorated will be
given only a border and no titlebar regardless of other settings. WIN
defaults to the window context in the usual way if not specified.
[From scwm/window.c:3378]


(set-desk-size! width height)
Sets the desk size to WIDTH, HEIGHT.
Both numbers are given in units of the physical screen size.
For example <code>(set-desk-size 3 3)</code> creates a
virtual world 9 times the size of the physical display.
[From scwm/deskpage.c:293]


(set-edge-move-threshold! pixels)
Set the edge move threshold to PIXELS.
This is the number of pixels past the edge of the screen that a window
must be moved before it will really move past the edge.
[From scwm/deskpage.c:263]


(set-edge-scroll-delay! usec)
Set the edge scroll delay to USEC microseconds.
When the mouse pointer hits the edge of the screen, it must stay there
for at least the edge scroll delay amount before the desktop will be
scrolled. If this parameter is greater than 10,000, the viewport will
not scroll at all at the screen edge (FIXMS: that's a bogus way to
indicate that.)
[From scwm/deskpage.c:229]


(set-edge-x-scroll! pixels)
Set the horizontal edge scroll increment to PIXELS.
The horizontal edge scroll setting is the amount by which the viewport
will scroll when the mouse hits the left or right edge. Use `%x' to
convert from a percent of screen size to pixels.
[From scwm/deskpage.c:121]


(set-edge-x-wrap! flag)
Set whether to wrap pointer around horizontal edges.
If the boolean value FLAG is #t, the pointer will wrap from the right
edge of the desktop to the left of the display as it moves off the
right edge, and vice-versa. See also `set-edge-y-wrap!'
[From scwm/deskpage.c:180]


(set-edge-y-scroll! pixels)
Set the vertical edge scroll increment to PIXELS.
The vertical edge scroll setting is the amount by which the viewport
will scroll when the mouse hits the top or bottom edge. Use `%y' to
convert from a percent of screen size to pixels.
[From scwm/deskpage.c:150]


(set-edge-y-wrap! flag)
Set whether to wrap pointer around vertical edges.
If the boolean value FLAG is #t, the pointer will wrap from the bottom
edge of the desktop to the top of the display as it moves off the very
bottom edge, and vice-versa. See also `set-edge-x-wrap!'
[From scwm/deskpage.c:204]


(set-face-flag! face flag flagval)
Set the given FLAG to the given FLAGVAL for face FACE.
See the section on the face-specification-flags concept.
[From scwm/face.c:345]


(set-force-icon! flag #&optional win)
Set the window-manager-overriding property for WIN to boolean FLAG.
If #t, the icon specified for WIN by the user through scwm will override an
application-provided icon.  WIN defaults to the window context in the usual
way if not specified.
[From scwm/window.c:3210]


(set-hilight-background! bg)
Use BG as the background color for the window with input focus.
Applies to the current decor.
[From scwm/color.c:628]


(set-hilight-factor! factor)
Use FACTOR to generate highlight colors for the current decor.
FACTOR is a positive floating point number.
[From scwm/color.c:431]


(set-hilight-foreground! fg)
Use FG for foreground color of the window with the input focus.
Applies to the current decor.
[From scwm/color.c:585]


(set-hint-override! flag #&optional win)
Set whether or not Mwm and Open Look function hints are used.
If FLAG is #t, the hints, which indicate what operations should be
allowed on a window, will be ignored for WIN.  If FLAG is #f, the hints will
be honoured. WIN defaults to the window context in the usual way if
not specified.
[From scwm/window.c:3361]


(set-icon! image #&optional win)
Set the image to use for the icon of WIN to IMAGE.
As usual, an image object or a filename string may be given. #f May
also be specified, indicating no icon image. WIN defaults to the window
context in the usual way if not specified.
[From scwm/window.c:3256]


(set-icon-box! x y w h #&optional win)
Set the icon box in which WIN's icon will be placed.
This set the box to the rectangle at coordinates X, Y with width W and
height H. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:2930]


(set-icon-font! font)
Set the font used for drawing icon titles to FONT.
[From scwm/font.c:260]


(set-icon-title! flag #&optional win)
Set the visibility of WIN's icon title according to FLAG. WIN
defaults to the window context in the usual way if not specified.
[From scwm/window.c:3193]


(set-lenience! flag #&optional win)
Set or reset the input focus lenience flag.
Determine whether or not to try to give WIN the input focus
when asked, even if the window claims according to hints that it
cannot receive the input focus, according to the boolean value
FLAG. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:3493]


(set-menu-background! bg)
Use BG as the default foreground color for menus.
[From scwm/color.c:732]


(set-menu-font! font)
Set the default font used for drawing menus to FONT.
[From scwm/font.c:356]


(set-menu-foreground! fg)
Use FG as the default foreground color for menus.
[From scwm/color.c:696]


(set-menu-hilight-factor! factor)
Use FACTOR to generate hilight colors for menus.
FACTOR is a positive floating point number
[From scwm/color.c:510]


(set-menu-mwm-style! flag)
Set the menu mwm style according to the boolean FLAG.
This option is currently ignored.
[From scwm/miscprocs.c:33]


(set-menu-shadow-factor! factor)
Use FACTOR to generate shadow colors for menus.
FACTOR is a positive floating point number
[From scwm/color.c:539]


(set-menu-stipple! st)
Use ST as the default stipple color for menus.
May not be used any longer.
[From scwm/color.c:797]


(set-message-window-attributes! font fg-color bg-color)
Set the attributes to be used for the message window.
The font will be FONT, foreground color FG-COLOR, and background color BG-COLOR.
This the window which is used to display the current size or position of the window
being moved or resized interactively.
[From scwm/resize.c:56]


(set-mini-icon! image #&optional win)
Set the image to use for the mini-icon of WIN to IMAGE. As
usual, an image object or a filename string may be given. WIN defaults
to the window context in the usual way if not specified.
[From scwm/window.c:3309]


(set-mouse-focus-click-raises! flag)
Determine whether a mouse-focus-click will raise the window.
If FLAG is #t it will raise the window. Not sure if this function
makes sense any more.
[From scwm/miscprocs.c:439]


(set-mwm-border! flag #&optional win)
Set the mwm-border style flag of WIN to boolean FLAG.
The Mwm style has shallower bevels than the default scwm/fvwm2 style.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:3149]


(set-mwm-buttons! flag #&optional win)
Set the mwm-buttons flag of WIN to boolean FLAG.
The mwm-buttons flag controls whether any of this window's
flags obey their mwm-flags. See `set-button-mwm-flag!'. WIN defaults
to the window context in the usual way if not specified.
[From scwm/window.c:3133]


(set-mwm-decor-hint! flag #&optional win)
Set whether or not Motif decoration hints are used for WIN.
If FLAG is #t, the Mwm decor hint will be given for WIN.  WIN defaults
to the window context in the usual way if not specified.
[From scwm/window.c:3394]


(set-mwm-func-hint! flag #&optional win)
Set whether or not Motif function hints are used for WIN.
If FLAG is #t, the Motif function hints are respected for WIN.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:3408]


(set-OL-decor-hint! flag #&optional win)
Determine whether or not to respect Open Look decoration hints.
If FLAG is #t, the decoration hints will be respected for WIN. WIN
defaults to the window context in the usual way if not specified.
[From scwm/window.c:3440]


(set-PPosition-hint! flag #&optional win)
Set or reset the program-specified position hint for WIN.
If FLAG is #t, the hint will be set, otherwise reset.  This only
matters when using the default placement procedure. Some programs
allegedly set this hint to a useless value like (0,0) always, so
ignoring it is recommended. WIN defaults to the window context in the
usual way if not specified.
[From scwm/window.c:3423]


(set-random-placement! flag #&optional win)
Set the random-placement flag of WIN to boolean FLAG.
This flag only matters if the default placement procedure is
being used. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:3078]


(set-rubber-band-mask! value)
Set the rubber band mask used when dragging or resizing.
VALUE is XORed with the background when dragging non-opaque move or
resize frames. VALUE should be an integer.
[From scwm/resize.c:329]


(set-shadow-factor! factor)
Use FACTOR to generate shadow colors in the current decor.
FACTOR is a positive floating point number
[From scwm/color.c:468]


(set-show-icon! flag #&optional win)
Set whether or not the icon of WIN will be visible.  If FLAG
is #t, the icon will be displayed, if #f, it will not appear when the
window is iconified (it will still be in the window list, of course).
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:3237]


(set-skip-mapping! flag #&optional win)
Set or reset whether scwm should not change desktops on a map.
This only affect the behaviour upon initial mapping of WIN. If FLAG is
#t, the virtual desktop will not be changed when WIN is mapped.  WIN
defaults to the window context in the usual way if not specified.
[From scwm/window.c:3478]


(set-smart-placement! flag #&optional win)
Set the smart-placement flag of WIN to boolean FLAG.
This flag only matters if the default placement procedure is
being used. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:3093]


(set-smart-placement-is-really-smart! flag)
Determine whether or not `clever-place-window' will be used when smart-placing.
If FLAG is #t, then `clever-place-window' will be used instead of
`smart-place-window' when the default placement procedure is used, and
the window's smart-placement flag is on.
[From scwm/miscprocs.c:351]


(set-start-on-desk! desk #&optional win)
Make WIN start on DESK when first mapped. WIN defaults to the
window context in the usual way if not specified.
[From scwm/window.c:3454]


(set-title-face! active-up #&optional active-down inactive)
Set the titlebar faces for the various window states.
In the current decor, use ACTIVE-UP as the face for the title
bar when active and not pressed in. Use ACTIVE-DOWN when the title bar
is active and pressed in, and INACTIVE when the window is
inactive. Both INACTIVE and ACTIVE-DOWN default to ACTIVE-UP when not
specified. Note that ACTIVE-DOWN will magically reverse the sense of
the relief flag, so if your titlebar bar is raised in the ACTIVE-UP
state, it will be sunk in the ACTIVE-DOWN state by default.
[From scwm/face.c:832]


(set-title-font! font)
Set the font for window titles In the current decor to FONT.
[From scwm/font.c:293]


(set-title-height! height)
Set the height of the titlebar in pixels to HEIGHT.
Applies to the current decor.
[From scwm/miscprocs.c:108]


(set-title-justify! just)
Set the justification for the title to JUST.
JUST should be one of 'right, 'left, or 'center. Applies to the
current decor
[From scwm/miscprocs.c:56]


(set-viewport-position! x y)
Position the upper left corner of the viewport at coordinates X, Y.
X and Y are given in pixels.  Does not affect the current desk.
[From scwm/deskpage.c:90]


(set-window-background! bg #&optional win)
Set the foreground color of WIN to BG. This color is used to
draw most of the window decorations, along with the relief colors
generated from it, which are used to draw the window's 3-D bevels.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:3048]


(set-window-button! n flag #&optional win)
Set the visibility of button number N on window WIN.
If FLAG is #t, the button will be visible, otherwise it won't be
drawn.  WIN defaults to the window context in the usual way if not
specified. (Note: this code may be broken right now.)
[From scwm/window.c:3108]


(set-window-decor! win decor)
Set WIN's decor to DECOR, updating it's decorations appropriately.
[From scwm/decor.c:307]


(set-window-focus! sym #&optional win)
Set the focus style of WIN to SYM. SYM may be 'click, 'mouse,
'sloppy or 'none. WIN defaults to the window context in the usual way
if not specified.
[From scwm/window.c:2990]


(set-window-foreground! fg #&optional win)
Set the foreground color of WIN to FG. This color is used to
draw the title text currently. In the future, it may have other uses
as well. WIN defaults to the window context in the usual way
if not specified.
[From scwm/window.c:3025]


(set-window-property! win prop val)
Set window property PROP of WIN to VAL.
PROP should be a symbol. VAL may be any Scheme object. This name/value
pair will be associated with the window, and may be retrieved with
`window-property'. Passing #f as the value will delete the property
instead. Soon, some properties will have magical meanings, altering
particular fields in the window structure. Also, a
window-property-change-hook mechanism will soon be implemented for
notification of all window property changes. This is not yet done. The
window property primitives should be considered in flux.
[From scwm/window.c:3509]


(set-window-text-property win propname value)
Set a text property named PROPNAME on WIN.
Uses format 8 (byte) and type "XA_STRING", and VALUE as the data.
[From scwm/xproperty.c:148]


(set-X-server-synchronize! flag)
Set X server sychronization flag to FLAG.
If FLAG is #t, then Scwm will turn on synchronous X behaviour; if FLAG
is #f, Scwm will turn off synchronous behaviour.  Scwm is slower in
synchronous mode, but can be easier to debug.
[From scwm/miscprocs.c:503]


(shadow-factor)
Return the current shadow factor.
[From scwm/color.c:492]


(show-titlebar  #&optional win)
Cause WIN to be decorated with a titlebar.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:2690]


(smart-place-window win)
Places WIN using fvwm2's SmartPlacement algorithm.
The placement is just as if SmartPlacementIsReallySmart were not in
effect. That is, it tries to place the window so that it does not
overlap any other. If it fails to do so, it returns #f; otherwise it
returns #t.
[From scwm/placement.c:395]


(smart-placement-is-really-smart?)
Return whether or not `clever-place-window' will be used when smart-placing.
If the value is #t, then `clever-place-window' will be used instead of
smart-place-window when the default placement procedure is used, and
the window's smart-placement flag is on.
[From scwm/miscprocs.c:366]


(stick  #&optional win)
Cause WIN to become "sticky".
A sticky window will appear on all desktops, and will remain at the
same screen position regardless of scrolling within the current
desktop. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:1803]


(stick-icon  #&optional win)
Cause WIN's icon to become "sticky". See `stick'. WIN
defaults to the window context in the usual way if not specified.
[From scwm/window.c:2878]


(sticky?  #&optional win)
Return #t if WIN is "sticky", #f otherwise.
See `stick' for an explanation. WIN defaults to the
window context in the usual way if not specified.
[From scwm/window.c:1846]


(string->xproperty str)
Create an xproperty object from STR.
[From scwm/xproperty.c:244]


(title-font)
Return the font used for drawing window titles in the current decor.
[From scwm/font.c:322]


(title-height)
Return the height of the titlebar in pixels, as set by `set-title-height!'.
Applies to the current decor.
[From scwm/miscprocs.c:141]


(title-justify)
Return the current justification for the title, as set by `set-title-justify!'.
The return value will be one of 'right, 'left, or 'center. Applies to the
current decor.
[From scwm/miscprocs.c:86]


(titlebar-shown?  #&optional win)
Return #t if WIN is decorated with a titlebar, #f otherwise.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:2737]


(transient?  #&optional win)
Return #t if WIN is transient, #f if not.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:1703]


(un-keep-on-top  #&optional win)
Remove the on-top property from WIN, if it has it.
See `keep-on-top'. WIN defaults to the window context in the usual
way if not specified.
[From scwm/window.c:2632]


(un-window-shade  #&optional win animated?)
Reverse the effect of `window-shade' on WIN.
By default, the change takes place instantaneously. However, if the
optional ANIMATED? argument is true, the window will be animated as it
rolls down, producing a pleasing visual effect. WIN defaults to the
window context in the usual way if not specified.
[From scwm/window.c:1943]


(unbind-key contexts key)
Remove any bindings attached to KEY in given CONTEXTS.
CONTEXTS is a list of event-contexts (e.g., '(button1 sidebar))
KEY is a string giving the key-specifier (e.g., M-Delete for Meta+Delete)
[From scwm/binding.c:589]


(unbind-mouse contexts button)
Remove any bindings attached to mouse BUTTON in given CONTEXTS.
CONTEXTS is a list of event-contexts (e.g., '(button1 sidebar))
BUTTON is a string or integer giving the mouse button number
[From scwm/binding.c:621]


(unfocus)
Remove the input focus from any window that may have it.
[From scwm/window.c:1524]


(unregister-image-loader extension)
Unregister the loader, if any, for images ending in EXTENSION.
EXTENSION must be a string beginning with a period, the
empty string (for files with no extension), or the string "default"
(for files that no other image loader succeeds in loading).
[From scwm/image.c:327]


(unstick  #&optional win)
Cause a window to no longer be "sticky", if it is.
See `stick' for an explanation. WIN defaults to the window context in
the usual way if not specified.
[From scwm/window.c:1826]


(unstick-icon  #&optional win)
Cause WIN's icon to no longer by "sticky". See `stick-icon'
and `stick'. WIN defaults to the window context in the usual way if
not specified.
[From scwm/window.c:2897]


(viewport-position)
Returns the current position of the viewport in pixels.
The returned value is a list of the x and y positions.
[From scwm/deskpage.c:108]


(wait-for-window predicate)
Wait until a window appears which satisfies PREDICATE.
Given the existence of before-new-window-hook, this is of questionable
usefulness.
[From scwm/miscprocs.c:309]


(warp-to-window  #&optional win)
Move the mouse pointer to the upper left corner of WIN.
If WIN is on a different desk or in a different viewport, these will
be changed appropriately so that the window is visible. WIN defaults
to the window context in the usual way if not specified.
[From scwm/window.c:1537]


(window-class  #&optional win)
Return the window resource class of WIN.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:2535]


(window-decor win)
Return WIN's decor.
[From scwm/decor.c:342]


(window-deletable?  #&optional win)
Return #t if WIN is able to be deleted, #f otherwise.
Scwm may call `delete-window' on WIN only if this procedure returns
#t. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:1489]


(window-desk  #&optional win)
Return the desk that WIN is currently on. WIN defaults to the
window context in the usual way if not specified.
[From scwm/window.c:2500]


(window-frame-id  #&optional win)
Return the X window id for the outermost frame window of WIN.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:2443]


(window-frame-size  #&optional win)
Return the size of the frame of WIN.
The position is returned as a list of the width and the height in
pixels. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:2372]


(window-icon win)
Get the icon image being used for WIN.
Returns #f if none is being used. WIN defaults to the window context
in the usual way if not specified.
[From scwm/window.c:3292]


(window-icon-title  #&optional win)
Return the icon window title of WIN.
This is the title as requested by the application . WIN defaults to
the window context in the usual way if not specified.
[From scwm/window.c:2523]


(window-id  #&optional win)
Return the X window id for WIN.
This is the X id for the actual application window. WIN defaults to
the window context in the usual way if not specified.
[From scwm/window.c:2430]


(window-mini-icon win)
Get the mini-icon image being used for WIN.
Returns #f if none is being used. WIN defaults to the window context
in the usual way if not specified.
[From scwm/window.c:3344]


(window-position  #&optional win)
Return the position of WIN in pixels.
The position is returned as a list of the x coordinate and the y
coordinate in pixels. WIN defaults to the window context in the usual
way if not specified.
[From scwm/window.c:2332]


(window-property win prop)
Retrieve window property PROP of WIN.
PROP should be a symbol. #f will be returned if the property does not
exist (wether set by `set-window-property!' or otherwise). Soon, some
properties will have magical meanings, accessing particular fields in
the window structure. Also, a window-property-change-hook mechanism
will soon be implemented for notification of all window property
changes. This is not yet done. The window property primitives should
be considered in flux.
[From scwm/window.c:3544]


(window-resource  #&optional win)
Return the window resource instance of WIN. WIN defaults to
the window context in the usual way if not specified.
[From scwm/window.c:2548]


(window-shade  #&optional win animated?)
Cause WIN to become "window-shaded".
That is, to roll up into just a titlebar. By default, the change takes
place instantaneously. However, if the optional ANIMATED? argument is
true, the window will be animated as it rolls up, producing a pleasing
visual effect. WIN defaults to the window context in the usual way if
not specified.
[From scwm/window.c:1872]


(window-shaded?  #&optional win)
Return #t if WIN is shaded.
WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:1991]


(window-size  #&optional win)
Return the size of the application window of WIN.
WIN defaults to the window context in the usual way if not specified.
The position is returned as a list of four numbers. The first two are
the width and the height in pixels, the third and fourth are the width
and height in resize units (e.g., characters for an xterm).
[From scwm/window.c:2391]


(window-size-hints win)
Return a list of the window size hints associated with WIN.
The list returned contains 4 cons pairs containing:
'((min-width . max-width) (min-height . max-height)
(width-inc . height-inc) (base-width . baseheight))
[From scwm/window.c:2228]


(window-title  #&optional win)
Return the window title of WIN, as requested by the application.
WIN defaults to the window context in the usual way if not specified.
[From scwm/window.c:2512]


(window-transient-for  #&optional win)
Return the window for which WIN is transient.
If WIN is transient, and the window it is transient for is
not the root window and is being managed by scwm, this returns the window
object of the window that WIN is transient for, otherwise return
#f. WIN defaults to the window context in the usual way if not
specified.
[From scwm/window.c:1718]


(window-xproperty win name #&optional consume)
Get and maybe delete the property called NAME from WIN.
The property will be deleted upon getting (in an atomic operation)
if the boolean value CONSUME is #t
[From scwm/xproperty.c:179]


(window? obj)
Returns #t if OBJ is a window object, otherwise returns #f.
[From scwm/window.c:604]


(X-display-information)
Return some information about the screen. In particular,
return a list of the horizontal resolution, the vertical resolution,
the number of planes on the current screen (i.e. the bit depth), the
bits per color supported by the hardware, the visual class (one of
"StaticGray", "GrayScale", "StaticColor", "PseudoColor", "DirectColor"
or "TrueColor") and a boolean indicating whether the display is color.
The resolutions mentioned above should in theory be pixels per
centimeter, rounded to the nearest integer. These parameters can be
used for various workarounds or conditional decisions in a scwmrc to
be shared among multiple machines.
[From scwm/miscprocs.c:540]


(X-pointer-mapping)
Return the mapping of physical->logical pointer buttons as a list.
The length of the returned list is the number of buttons available.  Each
element in the list is an integer.  E.g., '(1 2 3) is a normally mapped
3-button mouse, whereas '(3 2 1) is a 3-button mouse where the rightmost
physical button acts as logical button 1, and the leftmost acts as button 3.
[From scwm/binding.c:874]


(X-resource-get name #&optional xclass)
Get X resource specified by NAME and XCLASS from Xrm database.
Both NAME and XCLASS are strings, as is the returned value.  If
XCLASS is omitted, it defaults to the same string as NAME.
If there is no resource under the given key, #f is returned.
[From scwm/xrm.c:45]


(X-resource-put resource value)
Stores string VALUE as X resource RESOURCE (also a string).
Later, the value can be retrieved using `X-resource-get'.
[From scwm/xrm.c:20]


(X-version-information)
Return some information about the version of the running X server.
Return value is a list of the X protocol version, the X protocol
revision, the X server vendor, and the vendor release number.
[From scwm/miscprocs.c:520]


(xproperty->string prop)
Convert that data portion of xproperty object PROP to a string.
[From scwm/xproperty.c:231]


(xproperty? obj)
Return #t if OBJ is an xproperty object, otherwise #f.
[From scwm/xproperty.c:118]


