1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
//! # `DBus` interface proxy for: `org.a11y.atspi.Action`
//!
//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
//! Source: `Action.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
//!
//! More information can be found in the
//! [Writing a client proxy](https://dbus.pages.freedesktop.org/zbus/client.html)
//! section of the zbus documentation.
//!
use crate::atspi_proxy;
#[atspi_proxy(interface = "org.a11y.atspi.Action", assume_defaults = true)]
trait Action {
/// DoAction method
fn do_action(&self, index: i32) -> zbus::Result<bool>;
/// GetActions method
fn get_actions(&self) -> zbus::Result<Vec<(String, String, String)>>;
/// GetDescription method
fn get_description(&self, index: i32) -> zbus::Result<String>;
/// GetKeyBinding method
fn get_key_binding(&self, index: i32) -> zbus::Result<String>;
/// GetLocalizedName method
fn get_localized_name(&self, index: i32) -> zbus::Result<String>;
/// GetName method
fn get_name(&self, index: i32) -> zbus::Result<String>;
/// NActions property
#[dbus_proxy(property)]
fn nactions(&self) -> zbus::Result<i32>;
}