From 28932ac12458de887b55fa9baaad6e563472cb49 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 8 Sep 2001 17:42:16 +0000 Subject: [PATCH] (Mouse Position): Document mouse-position-function. (Display Feature Testing): Document display-images-p. (Window Frame Parameters): Document the cursor-type variable. --- lispref/frames.texi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/lispref/frames.texi b/lispref/frames.texi index 94eff50384d..3a769695f49 100644 --- a/lispref/frames.texi +++ b/lispref/frames.texi @@ -491,6 +491,7 @@ This parameter describes the range of possible colors that can be used in this frame. Its value is @code{color}, @code{grayscale} or @code{mono}. +@vindex cursor-type @item cursor-type The way to display the cursor. The legitimate values are @code{bar}, @code{box}, and @code{(bar . @var{width})}. The symbol @code{box} @@ -499,6 +500,11 @@ that is the default. The symbol @code{bar} specifies a vertical bar between characters as the cursor. @code{(bar . @var{width})} specifies a bar @var{width} pixels wide. +The buffer-local variable @code{cursor-type} overrides the value of +the @code{cursor-type} frame parameter, and can in addition have +values @code{t} (use the cursor specified for the frame) and +@code{nil} (don't display a cursor). + @item border-width The width in pixels of the window border. @@ -1141,6 +1147,13 @@ and @var{y} are integers giving the position in characters relative to the top left corner of the inside of @var{frame}. @end defun +@defvar mouse-position-function +If non-nil, the value of this variable is a function applied to the +normal result of @code{mouse-position}. This abnormal hook exists for +the benefit of packages like XTerm-mouse which need to do mouse +handling at the Lisp level. +@end defvar + @defun set-mouse-position frame x y This function @dfn{warps the mouse} to position @var{x}, @var{y} in frame @var{frame}. The arguments @var{x} and @var{y} are integers, @@ -1648,6 +1661,13 @@ Windowed displays normally support selections, but they may also be supported in some other cases. @end defun +@defun display-images-p &optional display +This function returns @code{t} if @var{display} can display images. +Windowed displays normally can display images, but some systems can +lack the necessary support for that. If images aren't supported, the +tool bar cannot be displayed. +@end defun + @defun display-screens &optional display @tindex display-screens This function returns the number of screens associated with the display. -- 2.39.5