gtk4

Function test_accessible_has_role

source
pub fn test_accessible_has_role(
    accessible: &impl IsA<Accessible>,
    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