get_target


Description:

public Widget? get_target ()

Gets the widget instance passed as the target of the binding.

While a binding can outlive the target as the binding doesn't hold a strong reference to the target, the binding will try to finalize itself when it does not have a valid target. If the target, however, is destroyed before the binding is fully finalized then this function will return `NULL`.

Parameters:

this

a binding

Returns:

the target, or `NULL` if it doesn't exist anymore