[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

28.17 The Window Tree

A window tree specifies the layout, size, and relationship between all windows in one frame.

Function: window-tree &optional frame

This function returns the window tree for frame frame. If frame is omitted, the selected frame is used.

The return value is a list of the form (root mini), where root represents the window tree of the frame's root window, and mini is the frame's minibuffer window.

If the root window is not split, root is the root window itself. Otherwise, root is a list (dir edges w1 w2 ...) where dir is nil for a horizontal split, and t for a vertical split, edges gives the combined size and position of the subwindows in the split, and the rest of the elements are the subwindows in the split. Each of the subwindows may again be a window or a list representing a window split, and so on. The edges element is a list (left top right bottom) similar to the value returned by window-edges.


Ce document a été généré par Eric Reinbold le 13 Octobre 2007 en utilisant texi2html 1.78.