diff options
Diffstat (limited to 'doc/lispref/frames.texi')
| -rw-r--r-- | doc/lispref/frames.texi | 40 |
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 | |||
| 557 | position} of the frame. (1)--(3) in the drawing above indicate that | 557 | position} of the frame. (1)--(3) in the drawing above indicate that |
| 558 | position for the various builds: | 558 | position 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 |
| 1004 | This function alters the parameters of frame @var{frame} based on the | 1004 | This function alters the frame @var{frame} based on the elements of |
| 1005 | elements 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 |
| 1007 | parameter. If you don't mention a parameter in @var{alist}, its value | 1007 | a parameter. If you don't mention a parameter in @var{alist}, its |
| 1008 | doesn't change. If @var{frame} is @code{nil}, it defaults to the selected | 1008 | value doesn't change. If @var{frame} is @code{nil}, it defaults to |
| 1009 | frame. | 1009 | the selected frame. |
| 1010 | |||
| 1011 | Some parameters are only meaningful for frames on certain kinds of | ||
| 1012 | display (@pxref{Frames}). If @var{alist} includes parameters that are | ||
| 1013 | not meaningful for the @var{frame}'s display, this function will | ||
| 1014 | change its value in the frame's parameter list, but will otherwise | ||
| 1015 | ignore it. | ||
| 1016 | |||
| 1017 | When @var{alist} specifies more than one parameter whose value can | ||
| 1018 | affect the new size of @var{frame}, the final size of the frame may | ||
| 1019 | differ according to the toolkit used. For example, specifying that a | ||
| 1020 | frame should from now on have a menu and/or tool bar instead of none and | ||
| 1021 | simultaneously specifying the new height of the frame will inevitably | ||
| 1022 | lead to a recalculation of the frame's height. Conceptually, in such | ||
| 1023 | case, this function will try to have the explicit height specification | ||
| 1024 | prevail. It cannot be excluded, however, that the addition (or removal) | ||
| 1025 | of the menu or tool bar, when eventually performed by the toolkit, will | ||
| 1026 | defeat this intention. | ||
| 1027 | |||
| 1028 | Sometimes, binding @code{frame-inhibit-implied-resize} (@pxref{Implied | ||
| 1029 | Frame Resizing}) to a non-@code{nil} value around calls to this function | ||
| 1030 | may fix the problem sketched here. Sometimes, however, exactly such | ||
| 1031 | binding 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 |
| 1013 | This function sets the frame parameter @var{parm} to the specified | 1035 | This 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 |
| 1015 | selected frame. | 1037 | frame. |
| 1016 | @end defun | 1038 | @end defun |
| 1017 | 1039 | ||
| 1018 | @defun modify-all-frames-parameters alist | 1040 | @defun modify-all-frames-parameters alist |