From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/pointer-shape.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 devdocs/elisp/pointer-shape.html (limited to 'devdocs/elisp/pointer-shape.html') diff --git a/devdocs/elisp/pointer-shape.html b/devdocs/elisp/pointer-shape.html new file mode 100644 index 00000000..6c0428b7 --- /dev/null +++ b/devdocs/elisp/pointer-shape.html @@ -0,0 +1,17 @@ +

Pointer Shape

You can specify the mouse pointer style for particular text or images using the pointer text property, and for images with the :pointer and :map image properties. The values you can use in these properties are in the table below. The actual shapes may vary between systems; the descriptions are examples.

text
nil
+

The usual mouse pointer style used over text (an ā€œIā€-like shape).

arrow
vdrag
modeline
+

An arrow that points north-west.

hand
+

A hand that points upwards.

hdrag
+

A right-left arrow.

nhdrag
+

An up-down arrow.

hourglass

A rotating ring.

Over void parts of the window (parts that do not correspond to any of the buffer contents), the mouse pointer usually uses the arrow style, but you can specify a different style (one of those above) by setting void-text-area-pointer.

User Option: void-text-area-pointer +

This variable specifies the mouse pointer style for void text areas. These include the areas after the end of a line or below the last line in the buffer. The default is to use the arrow (non-text) pointer style.

+

When using X, you can specify what the text pointer style really looks like by setting the variable x-pointer-shape.

Variable: x-pointer-shape +

This variable specifies the pointer shape to use ordinarily in the Emacs frame, for the text pointer style.

+
Variable: x-sensitive-text-pointer-shape +

This variable specifies the pointer shape to use when the mouse is over mouse-sensitive text.

+

These variables affect newly created frames. They do not normally affect existing frames; however, if you set the mouse color of a frame, that also installs the current value of those two variables. See Font and Color Parameters.

The values you can use, to specify either of these pointer shapes, are defined in the file lisp/term/x-win.el. Use M-x apropos RET x-pointer RET to see a list of them.

+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/Pointer-Shape.html +

+
-- cgit v1.2.3