Mercurial > emacs
comparison lispref/frames.texi @ 39221:68b26e98aef6
Clarify recent changes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 10 Sep 2001 05:34:15 +0000 |
parents | f56fa34012c0 |
children | 3a102bf6010f |
comparison
equal
deleted
inserted
replaced
39220:0e11cabc9dfb | 39221:68b26e98aef6 |
---|---|
489 @item display-type | 489 @item display-type |
490 This parameter describes the range of possible colors that can be used | 490 This parameter describes the range of possible colors that can be used |
491 in this frame. Its value is @code{color}, @code{grayscale} or | 491 in this frame. Its value is @code{color}, @code{grayscale} or |
492 @code{mono}. | 492 @code{mono}. |
493 | 493 |
494 @vindex cursor-type | |
495 @item cursor-type | 494 @item cursor-type |
496 The way to display the cursor. The legitimate values are @code{bar}, | 495 The way to display the cursor. The legitimate values are @code{bar}, |
497 @code{box}, and @code{(bar . @var{width})}. The symbol @code{box} | 496 @code{box}, and @code{(bar . @var{width})}. The symbol @code{box} |
498 specifies an ordinary black box overlaying the character after point; | 497 specifies an ordinary black box overlaying the character after point; |
499 that is the default. The symbol @code{bar} specifies a vertical bar | 498 that is the default. The symbol @code{bar} specifies a vertical bar |
500 between characters as the cursor. @code{(bar . @var{width})} specifies | 499 between characters as the cursor. @code{(bar . @var{width})} specifies |
501 a bar @var{width} pixels wide. | 500 a bar @var{width} pixels wide. |
502 | 501 |
502 @vindex cursor-type | |
503 The buffer-local variable @code{cursor-type} overrides the value of | 503 The buffer-local variable @code{cursor-type} overrides the value of |
504 the @code{cursor-type} frame parameter, and can in addition have | 504 the @code{cursor-type} frame parameter, and can in addition have |
505 values @code{t} (use the cursor specified for the frame) and | 505 values @code{t} (use the cursor specified for the frame) and |
506 @code{nil} (don't display a cursor). | 506 @code{nil} (don't display a cursor). |
507 | 507 |
1146 and @var{y} are integers giving the position in characters relative to | 1146 and @var{y} are integers giving the position in characters relative to |
1147 the top left corner of the inside of @var{frame}. | 1147 the top left corner of the inside of @var{frame}. |
1148 @end defun | 1148 @end defun |
1149 | 1149 |
1150 @defvar mouse-position-function | 1150 @defvar mouse-position-function |
1151 If non-nil, the value of this variable is a function applied to the | 1151 If non-@code{nil}, the value of this variable is a function for |
1152 normal result of @code{mouse-position}. This abnormal hook exists for | 1152 @code{mouse-position} to call. @code{mouse-position} calls this |
1153 the benefit of packages like XTerm-mouse which need to do mouse | 1153 function just before returning, with its normal return value as the |
1154 handling at the Lisp level. | 1154 sole argument, and it returns whatever this function returns to it. |
1155 | |
1156 This abnormal hook exists for the benefit of packages like | |
1157 @file{xt-mouse.el} that need to do mouse handling at the Lisp level. | |
1155 @end defvar | 1158 @end defvar |
1156 | 1159 |
1157 @defun set-mouse-position frame x y | 1160 @defun set-mouse-position frame x y |
1158 This function @dfn{warps the mouse} to position @var{x}, @var{y} in | 1161 This function @dfn{warps the mouse} to position @var{x}, @var{y} in |
1159 frame @var{frame}. The arguments @var{x} and @var{y} are integers, | 1162 frame @var{frame}. The arguments @var{x} and @var{y} are integers, |
1661 supported in some other cases. | 1664 supported in some other cases. |
1662 @end defun | 1665 @end defun |
1663 | 1666 |
1664 @defun display-images-p &optional display | 1667 @defun display-images-p &optional display |
1665 This function returns @code{t} if @var{display} can display images. | 1668 This function returns @code{t} if @var{display} can display images. |
1666 Windowed displays normally can display images, but some systems can | 1669 Windowed displays ought in principle to handle images, but some |
1667 lack the necessary support for that. If images aren't supported, the | 1670 systems lack the support for that. On a display that does not support |
1668 tool bar cannot be displayed. | 1671 images, Emacs cannot display a tool bar. |
1669 @end defun | 1672 @end defun |
1670 | 1673 |
1671 @defun display-screens &optional display | 1674 @defun display-screens &optional display |
1672 @tindex display-screens | 1675 @tindex display-screens |
1673 This function returns the number of screens associated with the display. | 1676 This function returns the number of screens associated with the display. |