| GTK+ Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#include <gtk/gtk.h> struct GtkAccessible; void gtk_accessible_connect_widget_destroyed (GtkAccessible *accessible); GtkWidget * gtk_accessible_get_widget (GtkAccessible *accessible); void gtk_accessible_set_widget (GtkAccessible *accessible,GtkWidget *widget);
void gtk_accessible_connect_widget_destroyed
(GtkAccessible *accessible);
This function specifies the callback function to be called when the widget corresponding to a GtkAccessible is destroyed.
|
a GtkAccessible |
GtkWidget * gtk_accessible_get_widget (GtkAccessible *accessible);
Gets the GtkWidget corresponding to the GtkAccessible. The returned widget does not have a reference added, so you do not need to unref it.
|
a GtkAccessible |
Returns : |
pointer to the GtkWidget corresponding to
the GtkAccessible, or NULL. [transfer none]
|
Since 2.22
void gtk_accessible_set_widget (GtkAccessible *accessible,GtkWidget *widget);
Sets the GtkWidget corresponding to the GtkAccessible.
|
a GtkAccessible |
|
a GtkWidget |
Since 2.22