Event.getRootCoords

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

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

Parameters

xRoot double

location to put root window x coordinate

yRoot double

location to put root window y coordinate

Return Value

Type: bool

TRUE if the event delivered root window coordinates