WidgetClass.setAccessibleRole

Sets the default AtkRole to be set on accessibles created for widgets of widget_class. Accessibles may decide to not honor this setting if their role reporting is more refined. Calls to gtk_widget_class_set_accessible_type() will reset this value. In cases where you want more fine-grained control over the role of accessibles created for widget_class, you should provide your own accessible type and use gtk_widget_class_set_accessible_type() instead. If role is ATK_ROLE_INVALID, the default role will not be changed and the accessible's default role will be used instead. This function should only be called from class init functions of widgets.

class WidgetClass
void
setAccessibleRole

Parameters

role AtkRole

The role to use for accessibles created for widget_class Since 3.2

Meta