Trait gtk4::prelude::AccessibleExt
source · pub trait AccessibleExt: IsA<Accessible> + Sealed + 'static {
Show 15 methods
// Provided methods
fn announce(&self, message: &str, priority: AccessibleAnnouncementPriority) { ... }
fn accessible_parent(&self) -> Option<Accessible> { ... }
fn accessible_role(&self) -> AccessibleRole { ... }
fn at_context(&self) -> ATContext { ... }
fn bounds(&self) -> Option<(i32, i32, i32, i32)> { ... }
fn first_accessible_child(&self) -> Option<Accessible> { ... }
fn next_accessible_sibling(&self) -> Option<Accessible> { ... }
fn platform_state(&self, state: AccessiblePlatformState) -> bool { ... }
fn reset_property(&self, property: AccessibleProperty) { ... }
fn reset_relation(&self, relation: AccessibleRelation) { ... }
fn reset_state(&self, state: AccessibleState) { ... }
fn set_accessible_parent(
&self,
parent: Option<&impl IsA<Accessible>>,
next_sibling: Option<&impl IsA<Accessible>>
) { ... }
fn update_next_accessible_sibling(
&self,
new_sibling: Option<&impl IsA<Accessible>>
) { ... }
fn set_accessible_role(&self, accessible_role: AccessibleRole) { ... }
fn connect_accessible_role_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
}
Provided Methods§
fn announce(&self, message: &str, priority: AccessibleAnnouncementPriority)
Available on crate feature
v4_14
only.fn accessible_parent(&self) -> Option<Accessible>
Available on crate feature
v4_10
only.fn accessible_role(&self) -> AccessibleRole
fn at_context(&self) -> ATContext
Available on crate feature
v4_10
only.fn bounds(&self) -> Option<(i32, i32, i32, i32)>
Available on crate feature
v4_10
only.fn first_accessible_child(&self) -> Option<Accessible>
Available on crate feature
v4_10
only.fn next_accessible_sibling(&self) -> Option<Accessible>
Available on crate feature
v4_10
only.fn platform_state(&self, state: AccessiblePlatformState) -> bool
Available on crate feature
v4_10
only.fn reset_property(&self, property: AccessibleProperty)
fn reset_relation(&self, relation: AccessibleRelation)
fn reset_state(&self, state: AccessibleState)
fn set_accessible_parent( &self, parent: Option<&impl IsA<Accessible>>, next_sibling: Option<&impl IsA<Accessible>> )
Available on crate feature
v4_10
only.fn update_next_accessible_sibling( &self, new_sibling: Option<&impl IsA<Accessible>> )
Available on crate feature
v4_10
only.fn set_accessible_role(&self, accessible_role: AccessibleRole)
fn connect_accessible_role_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Object Safety§
This trait is not object safe.