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
Widget.classSetAccessibleType 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 Widget.classSetAccessibleType
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.
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 Widget.classSetAccessibleType 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 Widget.classSetAccessibleType 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.