GdkEvent::get_root_coords

array get_root_coords();

Returns an array containing the x and y coordinates from an event relative to the root window or FALSE if the event did not deliver root window coordinates.