One of the most important data types in sawfish is the window type. All managed client windows have a single window object associated with them.
| windowp arg | Function |
Returns t if arg is a member of the window type, and has a
client window associated with it.
|
| managed-windows | Function |
| Returns a list containing all managed window objects, in the order that they were adopted by the window manager (first to last). |
| get-window-by-id xid | Function |
Return a window object with id xid, or nil.
|
| get-window-by-name name | Function |
Return a window object with name name, or nil.
|
| get-window-by-name-re name | Function |
Return a window object with name matching regular expression
name, or nil.
|
| activate-window window | Function |
| Do everything necessary to make window active, including raising it, giving it focus, etc. Certain steps may be skipped (e.g., giving focus) if the window doesn't allow that operation. |
| filter-windows pred | Function |
| Return the list of windows (mapped or unmapped) that match the predicate function pred. |
| map-windows function | Function |
Call (function window) on all existing windows.
Returns the value of the last function invocation. If any
function returns nil, map-windows returns
nil immediately.
|
| window-class window | Function |
| Return the class that window belongs to as a string, or nil if window has no associated class. |
| get-window-wm-protocols window | Function |
| Return a list of symbols defining the X11 window manager protocols supported by client window. |
| window-supports-wm-protocol-p window atom | Function |
Return true if window includes atom in its
WM_PROTOCOLS property.
|