Function

Gtk.test_accessible_has_role

Declaration [src]

gboolean
gtk_test_accessible_has_role (
  GtkAccessible* accessible,
  GtkAccessibleRole role
)

Description [src]

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

Parameters

accessible GtkAccessible
 

a GtkAccessible

 Ownership is not transferred
role GtkAccessibleRole
 

a GtkAccessibleRole

Return value

Returns: gboolean

TRUE if the role matches