aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/frames.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lispref/frames.texi')
-rw-r--r--doc/lispref/frames.texi40
1 files changed, 31 insertions, 9 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 3ae33082fc4..80a4af29f1a 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -557,7 +557,7 @@ The top left corner of the native frame specifies the @dfn{native
557position} of the frame. (1)--(3) in the drawing above indicate that 557position} of the frame. (1)--(3) in the drawing above indicate that
558position for the various builds: 558position for the various builds:
559 559
560@itemize @w 560@itemize @w{}
561@item (1) non-toolkit and terminal frames 561@item (1) non-toolkit and terminal frames
562 562
563@item (2) Lucid, Motif and Windows frames 563@item (2) Lucid, Motif and Windows frames
@@ -1001,18 +1001,40 @@ parameters of @var{frame} and their values. If @var{frame} is
1001@end defun 1001@end defun
1002 1002
1003@defun modify-frame-parameters frame alist 1003@defun modify-frame-parameters frame alist
1004This function alters the parameters of frame @var{frame} based on the 1004This function alters the frame @var{frame} based on the elements of
1005elements of @var{alist}. Each element of @var{alist} has the form 1005@var{alist}. Each element of @var{alist} has the form
1006@code{(@var{parm} . @var{value})}, where @var{parm} is a symbol naming a 1006@code{(@var{parm} . @var{value})}, where @var{parm} is a symbol naming
1007parameter. If you don't mention a parameter in @var{alist}, its value 1007a parameter. If you don't mention a parameter in @var{alist}, its
1008doesn't change. If @var{frame} is @code{nil}, it defaults to the selected 1008value doesn't change. If @var{frame} is @code{nil}, it defaults to
1009frame. 1009the selected frame.
1010
1011Some parameters are only meaningful for frames on certain kinds of
1012display (@pxref{Frames}). If @var{alist} includes parameters that are
1013not meaningful for the @var{frame}'s display, this function will
1014change its value in the frame's parameter list, but will otherwise
1015ignore it.
1016
1017When @var{alist} specifies more than one parameter whose value can
1018affect the new size of @var{frame}, the final size of the frame may
1019differ according to the toolkit used. For example, specifying that a
1020frame should from now on have a menu and/or tool bar instead of none and
1021simultaneously specifying the new height of the frame will inevitably
1022lead to a recalculation of the frame's height. Conceptually, in such
1023case, this function will try to have the explicit height specification
1024prevail. It cannot be excluded, however, that the addition (or removal)
1025of the menu or tool bar, when eventually performed by the toolkit, will
1026defeat this intention.
1027
1028Sometimes, binding @code{frame-inhibit-implied-resize} (@pxref{Implied
1029Frame Resizing}) to a non-@code{nil} value around calls to this function
1030may fix the problem sketched here. Sometimes, however, exactly such
1031binding may be hit by the problem.
1010@end defun 1032@end defun
1011 1033
1012@defun set-frame-parameter frame parm value 1034@defun set-frame-parameter frame parm value
1013This function sets the frame parameter @var{parm} to the specified 1035This function sets the frame parameter @var{parm} to the specified
1014@var{value}. If @var{frame} is @code{nil}, it defaults to the 1036@var{value}. If @var{frame} is @code{nil}, it defaults to the selected
1015selected frame. 1037frame.
1016@end defun 1038@end defun
1017 1039
1018@defun modify-all-frames-parameters alist 1040@defun modify-all-frames-parameters alist