Function gtk4::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

a Accessible

role

a AccessibleRole

Returns

true if the role matches