Widget.computePoint

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 gtk.widget.Widget

the gtk.widget.Widget to transform into

point graphene.point.Point

a point in widget's coordinate system

outPoint graphene.point.Point

Set to the corresponding coordinates in target's coordinate system

Return Value

Type: bool

true if the point could be determined, false on failure. In this case, 0 is stored in out_point.