Function gtk4::functions::test_accessible_has_role [−][src]
pub fn test_accessible_has_role<P: IsA<Accessible>>(
accessible: &P,
role: AccessibleRole
) -> bool
Expand description
Checks whether the GtkAccessible:accessible-role
of the accessible
is role
.
accessible
role
Returns
true
if the role matches