]> code.delx.au - gnu-emacs/blobdiff - doc/lispref/modes.texi
Document some changes about windows.
[gnu-emacs] / doc / lispref / modes.texi
index df0dd1a58e008e11a682242ac408561e9c89dffe..e12d00a5b59ab193806408e895058138db8e6ca1 100644 (file)
@@ -2221,6 +2221,15 @@ is the same as for @code{mode-line-format} (@pxref{Mode Line Data}).
 It is normally @code{nil}, so that ordinary buffers have no header line.
 @end defvar
 
+The function @code{window-header-line-height} returns the height of
+the header line:
+
+@defun window-header-line-height &optional window
+Return the height of @var{window}'s header line, in pixels.
+@var{window} must be a live window.  If @var{window} is @code{nil} or
+omitted, it will be the selected window.
+@end defun
+
   A window that is just one line tall never displays a header line.  A
 window that is two lines tall cannot display both a mode line and a
 header line at once; if it has a mode line, then it does not display a