atspi_proxies/
editable_text.rs
1#[zbus::proxy(interface = "org.a11y.atspi.EditableText", assume_defaults = true)]
14trait EditableText {
15 fn copy_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<()>;
17
18 fn cut_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<bool>;
20
21 fn delete_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<bool>;
23
24 fn insert_text(&self, position: i32, text: &str, length: i32) -> zbus::Result<bool>;
26
27 fn paste_text(&self, position: i32) -> zbus::Result<bool>;
29
30 fn set_text_contents(&self, new_contents: &str) -> zbus::Result<bool>;
32}