Event.getRootCoords

Extract the root window relative x/y coordinates from an event.

class Event
int
getRootCoords
(
out double xRoot
,
out double yRoot
)

Parameters

xRoot double

location to put root window x coordinate. out

yRoot double

location to put root window y coordinate. out

Return Value

Type: int

TRUE if the event delivered root window coordinates

Meta