atspi_proxies/
selection.rs1use crate::common::ObjectRef;
14
15#[zbus::proxy(interface = "org.a11y.atspi.Selection", assume_defaults = true)]
16pub trait Selection {
17 fn clear_selection(&self) -> zbus::Result<bool>;
19
20 fn deselect_child(&self, child_index: i32) -> zbus::Result<bool>;
22
23 fn deselect_selected_child(&self, selected_child_index: i32) -> zbus::Result<bool>;
25
26 fn get_selected_child(&self, selected_child_index: i32) -> zbus::Result<ObjectRef>;
28
29 fn is_child_selected(&self, child_index: i32) -> zbus::Result<bool>;
31
32 fn select_all(&self) -> zbus::Result<bool>;
34
35 fn select_child(&self, child_index: i32) -> zbus::Result<bool>;
37
38 #[zbus(property)]
40 fn nselected_children(&self) -> zbus::Result<i32>;
41}