aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-05-23 03:02:20 +0000
committerRichard M. Stallman2006-05-23 03:02:20 +0000
commit01358897339c45ae87b9b2452f30113189223003 (patch)
tree96f276076f1580c82390f268da06361381b12799
parent032fd62a365ce65a149def6e06080e723d389fc7 (diff)
downloademacs-01358897339c45ae87b9b2452f30113189223003.tar.gz
emacs-01358897339c45ae87b9b2452f30113189223003.zip
(Pointer Shape): Node renamed from Pointer Shapes.
Contents rewritten; material from old Pointer Shape node moved here.
-rw-r--r--lispref/frames.texi49
1 files changed, 34 insertions, 15 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi
index 2c2b8e10641..fa16e256650 100644
--- a/lispref/frames.texi
+++ b/lispref/frames.texi
@@ -62,7 +62,7 @@ The frame is displayed on an MS-DOS terminal.
62* Mouse Position:: Asking where the mouse is, or moving it. 62* Mouse Position:: Asking where the mouse is, or moving it.
63* Pop-Up Menus:: Displaying a menu for the user to select from. 63* Pop-Up Menus:: Displaying a menu for the user to select from.
64* Dialog Boxes:: Displaying a box to ask yes or no. 64* Dialog Boxes:: Displaying a box to ask yes or no.
65* Pointer Shapes:: Specifying the shape of the mouse pointer. 65* Pointer Shape:: Specifying the shape of the mouse pointer.
66* Window System Selections:: Transferring text to and from other X clients. 66* Window System Selections:: Transferring text to and from other X clients.
67* Drag and Drop:: Internals of Drag-and-Drop implementation. 67* Drag and Drop:: Internals of Drag-and-Drop implementation.
68* Color Names:: Getting the definitions of color names. 68* Color Names:: Getting the definitions of color names.
@@ -1564,30 +1564,49 @@ for instance using the window manager, then this produces a quit and
1564@code{x-popup-dialog} does not return. 1564@code{x-popup-dialog} does not return.
1565@end defun 1565@end defun
1566 1566
1567@node Pointer Shapes 1567@node Pointer Shape
1568@section Pointer Shapes 1568@section Pointer Shape
1569@cindex pointer shape 1569@cindex pointer shape
1570@cindex mouse pointer shape 1570@cindex mouse pointer shape
1571 1571
1572 These variables specify which shape to use for the mouse pointer in 1572 You can specify the mouse pointer style for particular text or
1573various situations, when using the X Window System: 1573images using the @code{pointer} text property, and for images with the
1574@code{:pointer} and @code{:map} image properties. The values you can
1575use in these properties are @code{text} (or @code{nil}), @code{arrow},
1576@code{hand}, @code{vdrag}, @code{hdrag}, @code{modeline}, and
1577@code{hourglass}. @code{text} stands for the usual mouse pointer
1578style used over text.
1579
1580 Over void parts of the window (parts that do not correspond to any
1581of the buffer contents), the mouse pointer usually uses the
1582@code{arrow} style, but you can specify a different style (one of
1583those above) by setting @code{void-text-area-pointer}.
1584
1585@defvar void-text-area-pointer
1586@tindex void-text-area-pointer
1587This variable specifies the mouse pointer style for void text areas.
1588These include the areas after the end of a line or below the last line
1589in the buffer. The default is to use the @code{arrow} (non-text)
1590pointer style.
1591@end defvar
1574 1592
1575@table @code 1593 You can specify what the @code{text} pointer style really looks like
1576@item x-pointer-shape 1594by setting the variable @code{x-pointer-shape}.
1577@vindex x-pointer-shape 1595
1578This variable specifies the pointer shape to use ordinarily in the Emacs 1596@defvar x-pointer-shape
1579frame. 1597This variable specifies the pointer shape to use ordinarily in the
1598Emacs frame, for the @code{text} pointer style.
1599@end defvar
1580 1600
1581@item x-sensitive-text-pointer-shape 1601@defvar x-sensitive-text-pointer-shape
1582@vindex x-sensitive-text-pointer-shape
1583This variable specifies the pointer shape to use when the mouse 1602This variable specifies the pointer shape to use when the mouse
1584is over mouse-sensitive text. 1603is over mouse-sensitive text.
1585@end table 1604@end table
1586 1605
1587 These variables affect newly created frames. They do not normally 1606 These variables affect newly created frames. They do not normally
1588affect existing frames; however, if you set the mouse color of a frame, 1607affect existing frames; however, if you set the mouse color of a
1589that also updates its pointer shapes based on the current values of 1608frame, that also installs the current value of those two variables.
1590these variables. @xref{Color Parameters}. 1609@xref{Color Parameters}.
1591 1610
1592 The values you can use, to specify either of these pointer shapes, are 1611 The values you can use, to specify either of these pointer shapes, are
1593defined in the file @file{lisp/term/x-win.el}. Use @kbd{M-x apropos 1612defined in the file @file{lisp/term/x-win.el}. Use @kbd{M-x apropos