pub trait AccessibleExtManual {
    // Required methods
    fn update_property(&self, properties: &[Property<'_>]);
    fn update_relation(&self, relations: &[Relation<'_>]);
    fn update_state(&self, states: &[State]);
}
Expand description

Trait containing manually implemented methods of Accessible.

let entry = gtk::Entry::new();
let label = gtk::Label::new(Some("Entry"));
entry.update_property(&[
    gtk::accessible::Property::Description("Test"),
    gtk::accessible::Property::Orientation(gtk::Orientation::Horizontal),
]);
entry.update_relation(&[
    gtk::accessible::Relation::LabelledBy(&[label.upcast_ref()]),
]);
entry.update_state(&[
    gtk::accessible::State::Invalid(gtk::AccessibleInvalidState::Grammar),
]);

Required Methods§

source

fn update_property(&self, properties: &[Property<'_>])

source

fn update_relation(&self, relations: &[Relation<'_>])

source

fn update_state(&self, states: &[State])

Implementors§