AccessibleIF

GtkAccessible is an interface for describing UI elements for Assistive Technologies.

Every accessible implementation has:

- a “role”, represented by a value of the [enum@Gtk.AccessibleRole] enumeration - an “attribute”, represented by a set of [enum@Gtk.AccessibleState], [enum@Gtk.AccessibleProperty] and [enum@Gtk.AccessibleRelation] values

The role cannot be changed after instantiating a GtkAccessible implementation.

The attributes are updated every time a UI element's state changes in a way that should be reflected by assistive technologies. For instance, if a GtkWidget visibility changes, the %GTK_ACCESSIBLE_STATE_HIDDEN state will also change to reflect the [property@Gtk.Widget:visible] property.

Members

Functions

getAccessibleRole
GtkAccessibleRole getAccessibleRole()

Retrieves the GtkAccessibleRole for the given GtkAccessible.

getAccessibleStruct
GtkAccessible* getAccessibleStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

resetProperty
void resetProperty(GtkAccessibleProperty property)

Resets the accessible @property to its default value.

resetRelation
void resetRelation(GtkAccessibleRelation relation)

Resets the accessible @relation to its default value.

resetState
void resetState(GtkAccessibleState state)

Resets the accessible @state to its default value.

updatePropertyValue
void updatePropertyValue(GtkAccessibleProperty[] properties, Value[] values)

Updates an array of accessible properties.

updateRelationValue
void updateRelationValue(GtkAccessibleRelation[] relations, Value[] values)

Updates an array of accessible relations.

updateStateValue
void updateStateValue(GtkAccessibleState[] states, Value[] values)

Updates an array of accessible states.

Static functions

getType
GType getType()

Meta