Mercurial > emacs
diff doc/lispref/frames.texi @ 87453:cdd30283527d
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
| author | Miles Bader <miles@gnu.org> |
|---|---|
| date | Fri, 28 Dec 2007 22:26:14 +0000 |
| parents | b210bba3f477 |
| children | 107ccd98fa12 |
line wrap: on
line diff
--- a/doc/lispref/frames.texi Fri Dec 28 19:46:56 2007 +0000 +++ b/doc/lispref/frames.texi Fri Dec 28 22:26:14 2007 +0000 @@ -362,12 +362,12 @@ @code{mono}. @item title -If a frame has a non-@code{nil} title, it appears in the window system's -border for the frame, and also in the mode line of windows in that frame -if @code{mode-line-frame-identification} uses @samp{%F} -(@pxref{%-Constructs}). This is normally the case when Emacs is not -using a window system, and can only display one frame at a time. -@xref{Frame Titles}. +If a frame has a non-@code{nil} title, it appears in the window +system's title bar at the top of the frame, and also in the mode line +of windows in that frame if @code{mode-line-frame-identification} uses +@samp{%F} (@pxref{%-Constructs}). This is normally the case when +Emacs is not using a window system, and can only display one frame at +a time. @xref{Frame Titles}. @item name The name of the frame. The frame name serves as a default for the frame @@ -463,7 +463,7 @@ pixels, call @code{frame-pixel-height}; see @ref{Size and Position}.) @item width -The width of the frame contents, in characters. (To get the height in +The width of the frame contents, in characters. (To get the width in pixels, call @code{frame-pixel-width}; see @ref{Size and Position}.) @item user-size @@ -808,8 +808,14 @@ @defun frame-pixel-height &optional frame @defunx frame-pixel-width &optional frame -These functions return the height and width of @var{frame}, measured in -pixels. If you don't supply @var{frame}, they use the selected frame. +These functions return the height and width of the main display area +of @var{frame}, measured in pixels. If you don't supply @var{frame}, +they use the selected frame. + +These values include the internal borders, and windows' scroll bars +and fringes (which belong to individual windows, not to the frame +itself), but do not include menu bars or tool bars (except when using +X without an X toolkit). @end defun @defun frame-char-height &optional frame
