compute_point


Description:

public bool compute_point (Widget target, Point point, out Point out_point)

Translates the given point in this's coordinates to coordinates relative to target ’s coordinate system.

In order to perform this operation, both widgets must share a common ancestor.

Parameters:

this

the `GtkWidget` to query

target

the `GtkWidget` to transform into

point

a point in this's coordinate system

out_point

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