Function

Gtktest_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

Type: GtkAccessible

A GtkAccessible.

The data is owned by the caller of the function.
role

Type: GtkAccessibleRole

A GtkAccessibleRole.

Return value

Type: gboolean

TRUE if the role matches.