Trait gtk4::prelude::AccessibleExtManual [−][src]
pub trait AccessibleExtManual {
fn update_property(&self, properties: &[(AccessibleProperty, &dyn ToValue)]);
fn update_relation(&self, relations: &[(AccessibleRelation, &dyn ToValue)]);
fn update_state(&self, states: &[(AccessibleState, &dyn ToValue)]);
}
Required methods
fn update_property(&self, properties: &[(AccessibleProperty, &dyn ToValue)])
fn update_property(&self, properties: &[(AccessibleProperty, &dyn ToValue)])
Updates an array of accessible properties.
This function should be called by Widget
types whenever an accessible
property change must be communicated to assistive technologies.
This function is meant to be used by language bindings.
properties
an array of AccessibleProperty
values
an array of GValues
, one for each property
fn update_relation(&self, relations: &[(AccessibleRelation, &dyn ToValue)])
fn update_relation(&self, relations: &[(AccessibleRelation, &dyn ToValue)])
Updates an array of accessible relations.
This function should be called by Widget
types whenever an accessible
relation change must be communicated to assistive technologies.
This function is meant to be used by language bindings.
relations
an array of AccessibleRelation
values
an array of GValues
, one for each relation
fn update_state(&self, states: &[(AccessibleState, &dyn ToValue)])
fn update_state(&self, states: &[(AccessibleState, &dyn ToValue)])
Updates an array of accessible states.
This function should be called by Widget
types whenever an accessible
state change must be communicated to assistive technologies.
This function is meant to be used by language bindings.
states
an array of AccessibleState
values
an array of GValues
, one for each state