Method

AdwCssClassBindingget_target

unstable since: 1.10

Declaration [src]

GtkWidget*
adw_css_class_binding_get_target (
  AdwCssClassBinding* self
)

Description [src]

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.

Available since: 1.10

Return value

Type: GtkWidget

The target, or NULL if it doesn’t exist anymore.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.