testAccessibleHasRole

fnbool testAccessibleHasRole(gtk.accessible.Accessible accessible, gtk.types.AccessibleRole role)

Checks whether the GtkAccessible:accessible-role of the accessible is role.

Parameters

accessiblea gtk.accessible.Accessible
rolea gtk.types.AccessibleRole

Returns

true if the role matches