comparison lispref/commands.texi @ 81131:85d05811cbe7

(Click Events): Describe width and height when object is nil.
author Nick Roberts <nickrob@snap.net.nz>
date Sun, 03 Jun 2007 01:05:49 +0000
parents a60f9776dcd0
children e9f94688a064
comparison
equal deleted inserted replaced
81130:16a0ca8aac1a 81131:85d05811cbe7
1223 after the imaginary prefix keys for the event are inserted into the 1223 after the imaginary prefix keys for the event are inserted into the
1224 input stream. @xref{Key Sequence Input}. 1224 input stream. @xref{Key Sequence Input}.
1225 1225
1226 1226
1227 @item @var{x}, @var{y} 1227 @item @var{x}, @var{y}
1228 These are the pixel-denominated coordinates of the click, relative to 1228 These are the pixel coordinates of the click, relative to
1229 the top left corner of @var{window}, which is @code{(0 . 0)}. 1229 the top left corner of @var{window}, which is @code{(0 . 0)}.
1230 For the mode or header line, @var{y} does not have meaningful data. 1230 For the mode or header line, @var{y} does not have meaningful data.
1231 For the vertical line, @var{x} does not have meaningful data. 1231 For the vertical line, @var{x} does not have meaningful data.
1232 1232
1233 @item @var{timestamp} 1233 @item @var{timestamp}
1264 This is the image object on which the click occurred. It is either 1264 This is the image object on which the click occurred. It is either
1265 @code{nil} if there is no image at the position clicked on, or it is 1265 @code{nil} if there is no image at the position clicked on, or it is
1266 an image object as returned by @code{find-image} if click was in an image. 1266 an 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}
1269 These are the pixel-denominated coordinates of the click, relative to 1269 These are the pixel coordinates of the click, relative to
1270 the top left corner of @var{object}, which is @code{(0 . 0)}. If 1270 the 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
1272 left corner of the character glyph clicked on. 1272 left corner of the character glyph clicked on.
1273 1273
1274 @item @var{width}, @var{height} 1274 @item @var{width}, @var{height}
1275 These are the pixel-denominated width and height of @var{object}. 1275 These 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
1279 For mouse clicks on a scroll-bar, @var{position} has this form: 1280 For mouse clicks on a scroll-bar, @var{position} has this form:
1280 1281