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
to | the target surface |
x | coordinates to translate |
y | coordinates to translate |
Returns
true if the coordinates were successfully translated