Binding.getTarget

Retrieves the #GObject instance used as the target of the binding.

A #GBinding can outlive the target #GObject as the binding does not hold a strong reference to the target. If the target is destroyed before the binding then this function will return null.

Use [gobject.binding.Binding.dupTarget] if the target or binding are used from different threads as otherwise the pointer returned from this function might become invalid if the target is finalized from another thread in the meantime.

Returns

the target #GObject, or null if the

target does not exist any more.

Deprecated

Use [gobject.binding.Binding.dupTarget] for a safer version of this

function.