gtk.accessible

Module for [Accessible] class

Types 3

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.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Accessible self() nothrowReturns `this`, for use in `with` statements.
AccessibleGidBuilder builder() static nothrowGet builder for [gtk.accessible.Accessible] Returns: New builder object
gtk.widget.Widget widget() @property nothrow
void widget(gtk.widget.Widget propval) @property nothrow
void connectWidgetDestroyed() nothrowThis function specifies the callback function to be called when the widget corresponding to a GtkAccessible is destroyed.
gtk.widget.Widget getWidget() nothrowGets the #GtkWidget corresponding to the #GtkAccessible. The returned widget does not have a reference added, so you do not need to unref it. Returns: pointer to the #GtkWidget corresponding to the...
void setWidget(gtk.widget.Widget widget = null) nothrowSets the #GtkWidget corresponding to the #GtkAccessible.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gtk.accessible.Accessible

Methods
T widget(gtk.widget.Widget propval) nothrow

Fluent builder for gtk.accessible.Accessible

Methods
Accessible build() nothrowCreate object from builder. Returns: New object