aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Roberts2007-06-03 01:05:49 +0000
committerNick Roberts2007-06-03 01:05:49 +0000
commitb5d0f8f6d289e63c5f85a0f3a4b422c1f13ddc58 (patch)
tree7b665fa9c9f4202287c935a93125d1b1f4e6628f
parent67f6e31c6e692b1246057994c25c2957a2898493 (diff)
downloademacs-b5d0f8f6d289e63c5f85a0f3a4b422c1f13ddc58.tar.gz
emacs-b5d0f8f6d289e63c5f85a0f3a4b422c1f13ddc58.zip
(Click Events): Describe width and height when
object is nil.
-rw-r--r--lispref/commands.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/lispref/commands.texi b/lispref/commands.texi
index 10f4555e1f0..fabe38f9428 100644
--- a/lispref/commands.texi
+++ b/lispref/commands.texi
@@ -1225,7 +1225,7 @@ input stream. @xref{Key Sequence Input}.
1225 1225
1226 1226
1227@item @var{x}, @var{y} 1227@item @var{x}, @var{y}
1228These are the pixel-denominated coordinates of the click, relative to 1228These are the pixel coordinates of the click, relative to
1229the top left corner of @var{window}, which is @code{(0 . 0)}. 1229the top left corner of @var{window}, which is @code{(0 . 0)}.
1230For the mode or header line, @var{y} does not have meaningful data. 1230For the mode or header line, @var{y} does not have meaningful data.
1231For the vertical line, @var{x} does not have meaningful data. 1231For the vertical line, @var{x} does not have meaningful data.
@@ -1266,13 +1266,14 @@ This is the image object on which the click occurred. It is either
1266an image object as returned by @code{find-image} if click was in an image. 1266an image object as returned by @code{find-image} if click was in an image.
1267 1267
1268@item @var{dx}, @var{dy} 1268@item @var{dx}, @var{dy}
1269These are the pixel-denominated coordinates of the click, relative to 1269These are the pixel coordinates of the click, relative to
1270the top left corner of @var{object}, which is @code{(0 . 0)}. If 1270the top left corner of @var{object}, which is @code{(0 . 0)}. If
1271@var{object} is @code{nil}, the coordinates are relative to the top 1271@var{object} is @code{nil}, the coordinates are relative to the top
1272left corner of the character glyph clicked on. 1272left corner of the character glyph clicked on.
1273 1273
1274@item @var{width}, @var{height} 1274@item @var{width}, @var{height}
1275These are the pixel-denominated width and height of @var{object}. 1275These are the pixel width and height of @var{object} or, if this is
1276@code{nil}, those of the character glyph clicked on.
1276@end table 1277@end table
1277 1278
1278@sp 1 1279@sp 1