| 1 | //! # `DBus` interface proxy for: `org.a11y.atspi.EditableText` |
| 2 | //! |
| 3 | //! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data. |
| 4 | //! Source: `EditableText.xml`. |
| 5 | //! |
| 6 | //! You may prefer to adapt it, instead of using it verbatim. |
| 7 | //! |
| 8 | //! More information can be found in the |
| 9 | //! [Writing a client proxy](https://dbus.pages.freedesktop.org/zbus/client.html) |
| 10 | //! section of the zbus documentation. |
| 11 | //! |
| 12 | |
| 13 | #[zbus::proxy (interface = "org.a11y.atspi.EditableText" , assume_defaults = true)] |
| 14 | trait EditableText { |
| 15 | /// CopyText method |
| 16 | fn copy_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<()>; |
| 17 | |
| 18 | /// CutText method |
| 19 | fn cut_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<bool>; |
| 20 | |
| 21 | /// DeleteText method |
| 22 | fn delete_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<bool>; |
| 23 | |
| 24 | /// InsertText method |
| 25 | fn insert_text(&self, position: i32, text: &str, length: i32) -> zbus::Result<bool>; |
| 26 | |
| 27 | /// PasteText method |
| 28 | fn paste_text(&self, position: i32) -> zbus::Result<bool>; |
| 29 | |
| 30 | /// SetTextContents method |
| 31 | fn set_text_contents(&self, new_contents: &str) -> zbus::Result<bool>; |
| 32 | } |
| 33 | |