Widget.computePoint

bool computePoint(gtk.widget.Widget target, graphene.point.Point point, out graphene.point.Point outPoint)

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

targetthe [gtk.widget.Widget] to transform into
pointa point in widget's coordinate system
outPointSet to the corresponding coordinates in target's coordinate system

Returns

true if the point could be determined, false on failure.

In this case, 0 is stored in out_point.