Node: Window Attributes, Next: , Previous: Window Types, Up: Windows



Window Attributes

window-name window Function
Return the name associated with window.

window-full-name window Function
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-name proposal existing Function
Uniquify the string proposal against the list of strings existing. Uses the format string uniquify-name-format to generate unique names.

uniquify-name-format Variable
Format to create unique window names. Defaults to "%s [%d]".

uniquify-window-name window Function
uniquify-window-name window Command
Force window to have a unique title.

window-icon-name window Function
Return the icon name associated with window.

window-mapped-p window Function
Return t if the client window associated with object window is mapped. (Note that this doesn't necessarily mean that it is visible.)

window-transient-p window Function
Returns nil if window isn't marked as a transient window. Otherwise returns an integer, the xid of the parent window.

window-shaped-p window Function
Return t if window is shaped (possibly not rectangular).

window-id window Function
If window object window has a client window associated with, return an integer defining its xid, otherwise return nil.

root-window-id Function
Returns the numeric ID of the root window of the managed screen.

window-group-id window Function
If window is part of a group, return the X window id of the leader of that group. Otherwise return nil.

window-wants-input-p window Function
Return t when the client window associated with object window has asked for the input focus to be assigned to it when applicable (through the input field of its WM_HINTS property).

window-really-wants-input-p window Function
Return nil if the client window associated with object window should never be focused, t otherwise.

window-dimensions window Function
Returns a cons cell (width . height) defining the dimensions of the client window associated with object window.

window-position window Function
Returns a cons-cell (x . y) defining the position relative to the root window of window.

window-size-hints window Function
Return an alist defining the size-hints structure specified by the client window associated with window. Possible keys in the alist are min-height, max-height, min-width, max-width, height-inc, width-inc, min-aspect, max-aspect, base-height, base-width, user-position, program-position, user-size, program-size, window-gravity, border-size.

window-visibility window Function
Returns a symbol defining the current visibility of window. Possible returned symbols are fully-obscured, partially-obscured or unobscured.

window-urgent-p window Function
Return t if the "Urgency" hint of the window associated with window is set.