Method
Gtk.Widget.compute_point
Declaration [src]
gboolean
gtk_widget_compute_point (
GtkWidget* widget,
GtkWidget* target,
const graphene_point_t* point,
graphene_point_t* out_point
)
Description [src]
Translates the given point
in widget
‘s coordinates to coordinates
relative to target
’s coordinate system.
In order to perform this operation, both widgets must share a common ancestor.
Parameters
target |
GtkWidget |
the |
|
Ownership is not transferred to the callee | |
point |
const graphene_point_t* |
a point in |
|
Ownership is not transferred to the callee | |
out_point |
graphene_point_t* |
Set to the corresponding coordinates in
|
|
Direction: out | |
Ownership is not transferred to the callee |