Node: Window Types, Next: , Previous: Window Property Lists, Up: Windows



Window Types

Transient windows are pop-up or dialog windows associated with a main application. They tend to have less window decorations, and are intended to last a short time only.

window-transient-p arg Function
Returns t if arg represents a transient window.

mark-window-as-transient w Function
Mark that the window associated with object w is a transient window.

transient-of-p child parent Function
Return true if window child is directly a transient for window parent, false otherwise.

indirect-transient-of-p descendant ancestor Function
Return true if window descendant is (directly or indirectly) a transient for window ancestor, false otherwise.

transient-parents child &optional indirectly Function
Return the list of windows that window child is a transient for. If indirectly is true, then return the list of all ancestors rather than parents.

transient-children parent &optional indirectly Function
Return the list of windows that are transients for window parent. If indirectly is true, then return the list of all descendants rather than children.

transient-group window &optional by-depth Function
Return the list of windows which is either a transient window for window window, or a window which window is a transient for. This always includes W. The `transient window for' relation holds for windows which are direct or indirect transients of the parent window in question.

If the by-depth argument is true, then the retrurned list is in stacking order.

map-transient-group fun window Function
Map the single argument function fun over all windows in the same transient group as window window.

raise-window-and-transients window Function
Raise window window to its highest allowed position in the stacking order. Also raise any transient windows that it has.

lower-window-and-transients window Function
Lower window window to its lowest allowed position in the stacking order. Also lower any transient windows that it has.

raise-lower-window-and-transients window Function
If window window is at its highest possible position, then lower it to its lowest possible position. Otherwise raise it as far as allowed. Also changes the level of any transient windows it has.

focus-windows-when-mapped Customizable
Focus on application windows when they first appear. Defaults to true, must be true or false.

decorate-transients Variable
Decorate dialog windows similarly to application windows. Defaults to false.

Desktop windows are root windows or viewport windows.

desktop-window-p arg Function
Returns t if arg represents a desktop window.

mark-window-as-desktop w Function
Mark that the window associated with object w is a desktop window.

desktop-window-properties Variable
List of properties set (to true) on windows marked as desktops. Defaults to
          '(fixed-position sticky sticky-viewport)
          

desktop-window-depth Variable
The stacking depth of desktop windows. Defaults to -4.

Dock windows are simply those with the dock-type property. GNOME panels are one example. Sawfish does not currently assign them any special behavior.

dock-window-p arg Function
Returns t if arg represents a dock window.

mark-window-as-dock w Function
Mark that the window associated with object w is a dock window.

dock-window-properties Variable
List of properties set (to true) on windows marked as docks. Defaults to
          '(window-list-skip cycle-skip fixed-position focus-click-through
            avoid no-history never-iconify never-maximize sticky
            sticky-viewport placed)
          

dock-window-depth Variable
The stacking depth of dock windows. Defaults to 0.