translate_coordinates


Description:

public bool translate_coordinates (Surface to, ref double x, ref double y)

Translates coordinates between two surfaces.

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

Parameters:

this

the origin surface

to

the target surface

x

coordinates to translate

y

coordinates to translate

Returns:

true if the coordinates were successfully translated