GtkAccessible — Accessibility support for widgets
GObject ╰── AtkObject ╰── GtkAccessible
The GtkAccessible class is the base class for accessible implementations for GtkWidget subclasses. It is a thin wrapper around AtkObject, which adds facilities for associating a widget with its accessible object.
An accessible implementation for a third-party widget should derive from GtkAccessible and implement the suitable interfaces from ATK, such as AtkText or AtkSelection. To establish the connection between the widget class and its corresponding acccessible implementation, override the get_accessible vfunc in GtkWidgetClass.
void gtk_accessible_connect_widget_destroyed (
gtk_accessible_connect_widget_destroyed has been deprecated since version 3.4 and should not be used in newly-written code.
gtk_accessible_set_widget() and its vfuncs.
This function specifies the callback function to be called when the widget corresponding to a GtkAccessible is destroyed.
GtkWidget * gtk_accessible_get_widget (
void gtk_accessible_set_widget (
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
“widget” GtkWidget *
The widget referenced by this accessible.
Flags: Read / Write
© 2005–2020 The GNOME Project
Licensed under the GNU Lesser General Public License version 2.1 or later.