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.

class Widget
bool
computePoint

Parameters

target Widget

the GtkWidget to transform into

point Point

a point in @widget's coordinate system

outPoint 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.

Meta