Class

GtkAccessible

Description [src]

class Gtk.Accessible : Atk.Object
{
  /* No available fields */
}

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 AtkObject 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: 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.

since: 2.22

gtk_accessible_set_widget

Sets the GtkWidget corresponding to the GtkAccessible.

since: 2.22

Methods inherited from AtkObject (26)

Please see AtkObject for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Gtk.Accessible:widget
No description available.

Properties inherited from AtkObject (15)
Atk.Object:accessible-component-layer
No description available.
Atk.Object:accessible-component-mdi-zorder
No description available.
Atk.Object:accessible-description
No description available.
Atk.Object:accessible-hypertext-nlinks
No description available.
Atk.Object:accessible-name
No description available.
Atk.Object:accessible-parent
No description available.
Atk.Object:accessible-role
No description available.
Atk.Object:accessible-table-caption

Table caption.

Atk.Object:accessible-table-caption-object
No description available.
Atk.Object:accessible-table-column-description

Accessible table column description.

Atk.Object:accessible-table-column-header

Accessible table column header.

Atk.Object:accessible-table-row-description

Accessible table row description.

Atk.Object:accessible-table-row-header

Accessible table row header.

Atk.Object:accessible-table-summary
No description available.
Atk.Object:accessible-value

Numeric value of this object, in case being and AtkValue.

Signals

Signals inherited from AtkObject (8)
AtkObject::active-descendant-changed

The “active-descendant-changed” signal is emitted by an object which has the state ATK_STATE_MANAGES_DESCENDANTS when the focus object in the object changes. For instance, a table will emit the signal when the cell in the table which has focus changes.

AtkObject::announcement

The “announcement” signal can be emitted to pass an announcement on to be read by a screen reader.

AtkObject::children-changed

The signal “children-changed” is emitted when a child is added or removed form an object. It supports two details: “add” and “remove”.

AtkObject::focus-event

The signal “focus-event” is emitted when an object gained or lost focus.

AtkObject::notification

The “notification” signal can be emitted to pass an announcement on to be read by a screen reader.

AtkObject::property-change

The signal “property-change” is emitted when an object’s property value changes. arg1 contains an AtkPropertyValues with the name and the new value of the property whose value has changed. Note that, as with GObject notify, getting this signal does not guarantee that the value of the property has actually changed; it may also be emitted when the setter of the property is called to reinstate the previous value.

AtkObject::state-change

The “state-change” signal is emitted when an object’s state changes. The detail value identifies the state type which has changed.

AtkObject::visible-data-changed

The “visible-data-changed” signal is emitted when the visual appearance of the object changed.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

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
  );
  
}

No description available.

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: 3.4 

Gtk.AccessibleClass.widget_set
No description available.

Gtk.AccessibleClass.widget_unset
No description available.