translate_coordinates
Description:
[ Version ( deprecated = true , deprecated_since = "4.12" ) ]
public bool translate_coordinates (Widget dest_widget, double src_x, double src_y, out double dest_x, out double dest_y)
public bool translate_coordinates (Widget dest_widget, double src_x, double src_y, out double dest_x, out double dest_y)
Warning: translate_coordinates is deprecated since 4.12.
Translate coordinates relative to this’s allocation to coordinates relative to dest_widget
’s
allocations.
Note:
Use compute_point instead
In order to perform this operation, both widget must share a common ancestor.
Parameters:
this |
a `GtkWidget` |
dest_widget |
a `GtkWidget` |
src_x |
X position relative to this |
src_y |
Y position relative to this |
dest_x |
location to store X position relative to |
dest_y |
location to store Y position relative to |
Returns:
false if this and |