30 |
* Size of Window:: Accessing the size of a window. |
* Size of Window:: Accessing the size of a window. |
31 |
* Resizing Windows:: Changing the size of a window. |
* Resizing Windows:: Changing the size of a window. |
32 |
* Coordinates and Windows:: Converting coordinates to windows. |
* Coordinates and Windows:: Converting coordinates to windows. |
33 |
|
* Window Split Tree:: The layout and sizes of all windows in a frame. |
34 |
* Window Configurations:: Saving and restoring the state of the screen. |
* Window Configurations:: Saving and restoring the state of the screen. |
35 |
* Window Hooks:: Hooks for scrolling, window size changes, |
* Window Hooks:: Hooks for scrolling, window size changes, |
36 |
redisplay going past a certain point, |
redisplay going past a certain point, |
2168 |
argument because it always uses the frame that @var{window} is on. |
argument because it always uses the frame that @var{window} is on. |
2169 |
@end defun |
@end defun |
2170 |
|
|
2171 |
|
@node Window Split Tree |
2172 |
|
@section The Window Split Tree |
2173 |
|
@cindex window split tree |
2174 |
|
|
2175 |
|
A @dfn{window split tree} specifies the layout, size, and relationship |
2176 |
|
between all windows in one frame. |
2177 |
|
|
2178 |
|
@defun split-window-tree &optional frame |
2179 |
|
This function returns the window split tree for frame @var{frame}. |
2180 |
|
If @var{frame} is omitted, the selected frame is used. |
2181 |
|
|
2182 |
|
The return value is a list of the form @code{(@var{root} @var{mini})}, |
2183 |
|
where @var{root} represents the window split tree of the frame's |
2184 |
|
root window, and @var{mini} is the frame's minibuffer window. |
2185 |
|
|
2186 |
|
If the root window is not split, @var{root} is the root window itself. |
2187 |
|
Otherwise, @var{root} is a list @code{(@var{dir} @var{edges} @var{w1} |
2188 |
|
@var{w2} ...)} where @var{dir} is @code{nil} for a horisontal split, |
2189 |
|
and @code{t} for a vertical split, @var{edges} gives the combined size and |
2190 |
|
position of the subwindows in the split, and the rest of the elements |
2191 |
|
are the subwindows in the split. Each of the subwindows may again be |
2192 |
|
a window or a list representing a window split, and so on. The |
2193 |
|
@var{edges} element is a list @code{(@var{left}@var{ top}@var{ right}@var{ bottom})} |
2194 |
|
similar to the value returned by @code{window-edges}. |
2195 |
|
@end defun |
2196 |
|
|
2197 |
@node Window Configurations |
@node Window Configurations |
2198 |
@section Window Configurations |
@section Window Configurations |
2199 |
@cindex window configurations |
@cindex window configurations |