atspi-proxies 0.13.0

AT-SPI2 proxies to query or manipulate UI objects
Documentation
//! # `DBus` interface proxy for: `org.a11y.atspi.Hyperlink`
//!
//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
//! Source: `Hyperlink.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 atspi_common::object_ref::ObjectRefOwned;

#[zbus::proxy(interface = "org.a11y.atspi.Hyperlink", assume_defaults = true)]
pub trait Hyperlink {
	/// `GetObject` method
	fn get_object(&self, i: i32) -> zbus::Result<ObjectRefOwned>;

	/// `GetURI` method
	#[zbus(name = "GetURI")]
	fn get_uri(&self, i: i32) -> zbus::Result<String>;

	/// `IsValid` method
	fn is_valid(&self) -> zbus::Result<bool>;

	/// `EndIndex` property
	#[zbus(property)]
	fn end_index(&self) -> zbus::Result<i32>;

	/// `NAnchors` property
	#[zbus(property)]
	fn n_anchors(&self) -> zbus::Result<i16>;

	/// `StartIndex` property
	#[zbus(property)]
	fn start_index(&self) -> zbus::Result<i32>;
}