file: 10-C-utils.t package: muf status: alpha
This function returns information about the location of
the pointer (cursor) relative to the given
window.
The window argument must satisfy window?
The return values are:
x
integer? pixel pointer location
relative to window.
y
integer? pixel pointer location
relative to window.
same?
t or nil) t if pointer is on same screen
as window.
kid
nil or satisfies window?) child of
window containing the pointer, if any.
state
integer?) state of mouse buttons and
modifier keys.
rx
integer) pixel pointer location
relative to root window.
ry
integer) pixel pointer location
relative to root window.
root
window?) root window containing pointer
If same? is nil, child will also
be nil and x and y will be zero.
Go to the first, previous, next, last section, table of contents.