The functions mouse-position
and set-mouse-position
give access to the current position of the mouse.
(frame x . y)
, where x
and y are integers giving the position in characters relative to
the top left corner of the inside of frame.
mouse-position
except that it returns
coordinates in units of pixels rather than units of characters.
set-mouse-position
except that
x and y are in units of pixels rather than units of
characters. These coordinates are not required to be within the frame.
If frame is not visible, this function does nothing. The return value is not significant.
Go to the first, previous, next, last section, table of contents.