Many attributes are described in the related sections.
First, basic attributes, like name, class, ID, etc.
Return the name associated with window.
Return the full-name associated with window. This may or may not be the same as the normal name.
Sawfish provides functions to ensure that window names are unique.
Uniquify the string proposal against the list of strings
existing. Uses the format string
generate unique names.
Format to create unique window names. Defaults to
Force window to have a unique title.
Change the window’s name to name. This works in practice, but technically ICCCM doesn’t suppose window name changes.
If the optional argument spec is
nil, returns the class
that window belongs to as a string, or nil if window has
no associated class.
ICCCM class consists of “Instance” and “Class”. If spec is
cons, then the cons of the form
(instance . class) is returned. If spec is
configurator, then the string of the form
“instance/class” is returned.
Return the window role set by
If window object window has a client window associated with,
return an integer defining its xid, otherwise return
Returns the numeric ID of the root window of the managed screen.
Returns the size of the window window in a cons cell
(width . height). This does not include the
frame. The size including the frame is returned by
window-frame-dimensions. (see Frame Functions)
Returns the position of the window decorated with the frame in a
(x . y).
Display window’s position and size in a popup. If the argument
nil or called as a command, user chooses the window by cursor
This function is defined in
Return a list of symbols defining the X11 window manager protocols supported by client window.
Return true if window includes atom in its
Returns the window process ID, or nil if not available.
Listed here are window visibility predicates:
window-obscured (see Stacking Visibility),
window-visible-p (see Showing and Hiding Windows),
window-shaped-p (see Shading Windows),
window-iconified-p (see Iconifying Windows),
window-in-workspace-p (see Workspaces and Windows),
window-outside-viewport-p (see Windows and Viewports).
t if the client window associated with object
window is mapped. (Note that this doesn’t necessarily mean that
it is visible.)
t if window is shaped (possibly not rectangular).
t if the “Urgency” hint of the window associated with
window is set.
See See Input Focus.