gboolean gtk_widget_compute_bounds ( GtkWidget* widget, GtkWidget* target, graphene_rect_t* out_bounds )
Computes the bounds for
widget in the coordinate space of
FIXME: Explain what “bounds” are.
If the operation is successful,
TRUE is returned. If
widget has no
bounds or the bounds cannot be expressed in
target‘s coordinate space
(for example if both widgets are in different windows),
bounds is set to the zero rectangle.
It is valid for
target to be the same widget.