Surface.translateCoordinates

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).

class Surface
bool
translateCoordinates
(,
ref double x
,
ref double y
)

Parameters

to gdk.surface.Surface

the target surface

x double

coordinates to translate

y double

coordinates to translate

Return Value

Type: bool

true if the coordinates were successfully translated