Method

GtkAccessibleset_widget

since: 2.22

Declaration [src]

void
gtk_accessible_set_widget (
  GtkAccessible* accessible,
  GtkWidget* widget
)

Description [src]

Sets the GtkWidget corresponding to the GtkAccessible.

accessible will not hold a reference to widget. It is the caller’s responsibility to ensure that when widget is destroyed, the widget is unset by calling this function again with widget set to NULL.

Available since: 2.22

Sets propertyGtk.Accessible:widget

Parameters

widget

Type: GtkWidget

A GtkWidget or NULL to unset.

The argument can be NULL.
The data is owned by the caller of the method.