atspi_proxies/
action.rs
1use crate::atspi_proxy;
14
15#[atspi_proxy(interface = "org.a11y.atspi.Action", assume_defaults = true)]
16trait Action {
17 fn do_action(&self, index: i32) -> zbus::Result<bool>;
19
20 fn get_actions(&self) -> zbus::Result<Vec<(String, String, String)>>;
22
23 fn get_description(&self, index: i32) -> zbus::Result<String>;
25
26 fn get_key_binding(&self, index: i32) -> zbus::Result<String>;
28
29 fn get_localized_name(&self, index: i32) -> zbus::Result<String>;
31
32 fn get_name(&self, index: i32) -> zbus::Result<String>;
34
35 #[dbus_proxy(property)]
37 fn nactions(&self) -> zbus::Result<i32>;
38}