atspi_proxies/
editable_text.rs1use crate::atspi_proxy;
14
15#[atspi_proxy(interface = "org.a11y.atspi.EditableText", assume_defaults = true)]
16trait EditableText {
17 fn copy_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<()>;
19
20 fn cut_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<bool>;
22
23 fn delete_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<bool>;
25
26 fn insert_text(&self, position: i32, text: &str, length: i32) -> zbus::Result<bool>;
28
29 fn paste_text(&self, position: i32) -> zbus::Result<bool>;
31
32 fn set_text_contents(&self, new_contents: &str) -> zbus::Result<bool>;
34}