Surface.translateCoordinates

bool translateCoordinates(gdk.surface.Surface to, ref double x, ref double y)

Translates coordinates between two surfaces.

Note that this only works if to and from are popups or transient-for to the same toplevel (directly or indirectly).

Parameters

tothe target surface
xcoordinates to translate
ycoordinates to translate

Returns

true if the coordinates were successfully translated