pub trait AccessibleExt: 'static {
    // Required methods
    fn accessible_role(&self) -> AccessibleRole;
    fn reset_property(&self, property: AccessibleProperty);
    fn reset_relation(&self, relation: AccessibleRelation);
    fn reset_state(&self, state: AccessibleState);
    fn set_accessible_role(&self, accessible_role: AccessibleRole);
    fn connect_accessible_role_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Expand description

Required Methods§

source

fn accessible_role(&self) -> AccessibleRole

Retrieves the AccessibleRole for the given Accessible.

Returns

a AccessibleRole

source

fn reset_property(&self, property: AccessibleProperty)

Resets the accessible @property to its default value.

property

a AccessibleProperty

source

fn reset_relation(&self, relation: AccessibleRelation)

Resets the accessible @relation to its default value.

relation

a AccessibleRelation

source

fn reset_state(&self, state: AccessibleState)

Resets the accessible @state to its default value.

state

a AccessibleState

source

fn set_accessible_role(&self, accessible_role: AccessibleRole)

The accessible role of the given Accessible implementation.

The accessible role cannot be changed once set.

source

fn connect_accessible_role_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§