Class

GtkAccessible

Description [src]

class Gtk.Accessible : Atk.Object {
  parent: AtkObject
}

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.

Hierarchy

hierarchy this GtkAccessible ancestor_0 GObject ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Ancestors

Instance methods

gtk_accessible_connect_widget_destroyed

This function specifies the callback function to be called when the widget corresponding to a GtkAccessible is destroyed.

Deprecated since: 3.4

gtk_accessible_get_widget

Gets the GtkWidget corresponding to the GtkAccessible. The returned widget does not have a reference added, so you do not need to unref it.

Available since: 2.22

gtk_accessible_set_widget

Sets the GtkWidget corresponding to the GtkAccessible.

Available since: 2.22

Methods inherited from GObject (42)
Methods inherited from GObject (42)

Properties

Gtk.Accessible:widget
No description available.

Signals

Signals inherited from GObject (1)
Signals inherited from GObject (1)

Class structure

struct GtkAccessibleClass {
  AtkObjectClass parent_class;
  void (* connect_widget_destroyed) (
    GtkAccessible* accessible
  );
  void (* widget_set) (
    GtkAccessible* accessible
  );
  void (* widget_unset) (
    GtkAccessible* accessible
  );
  void (* _gtk_reserved3) (
void
  );
  void (* _gtk_reserved4) (
void
  );
  
}
Class members
parent_class
AtkObjectClass
  No description available.
connect_widget_destroyed
void (* connect_widget_destroyed) (
    GtkAccessible* accessible
  )
  No description available.
widget_set
void (* widget_set) (
    GtkAccessible* accessible
  )
  No description available.
widget_unset
void (* widget_unset) (
    GtkAccessible* accessible
  )
  No description available.
_gtk_reserved3
void (* _gtk_reserved3) (
void
  )
  No description available.
_gtk_reserved4
void (* _gtk_reserved4) (
void
  )
  No description available.

Virtual methods

Gtk.AccessibleClass.connect_widget_destroyed

This function specifies the callback function to be called when the widget corresponding to a GtkAccessible is destroyed.

Deprecated since: 3.4

Gtk.AccessibleClass.widget_set
No description available.
Gtk.AccessibleClass.widget_unset
No description available.