| 1 | //! # `DBus` interface proxy for: `org.a11y.atspi.Table` |
| 2 | //! |
| 3 | //! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data. |
| 4 | //! Source: `Table.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 | use crate::common::ObjectRef; |
| 14 | |
| 15 | #[zbus::proxy (interface = "org.a11y.atspi.Table" , assume_defaults = true)] |
| 16 | trait Table { |
| 17 | /// AddColumnSelection method |
| 18 | fn add_column_selection(&self, column: i32) -> zbus::Result<bool>; |
| 19 | |
| 20 | /// AddRowSelection method |
| 21 | fn add_row_selection(&self, row: i32) -> zbus::Result<bool>; |
| 22 | |
| 23 | /// GetAccessibleAt method |
| 24 | fn get_accessible_at(&self, row: i32, column: i32) -> zbus::Result<ObjectRef>; |
| 25 | |
| 26 | /// GetColumnAtIndex method |
| 27 | fn get_column_at_index(&self, index: i32) -> zbus::Result<i32>; |
| 28 | |
| 29 | /// GetColumnDescription method |
| 30 | fn get_column_description(&self, column: i32) -> zbus::Result<String>; |
| 31 | |
| 32 | /// GetColumnExtentAt method |
| 33 | fn get_column_extent_at(&self, row: i32, column: i32) -> zbus::Result<i32>; |
| 34 | |
| 35 | /// GetColumnHeader method |
| 36 | fn get_column_header(&self, column: i32) -> zbus::Result<ObjectRef>; |
| 37 | |
| 38 | /// GetIndexAt method |
| 39 | fn get_index_at(&self, row: i32, column: i32) -> zbus::Result<i32>; |
| 40 | |
| 41 | /// GetRowAtIndex method |
| 42 | fn get_row_at_index(&self, index: i32) -> zbus::Result<i32>; |
| 43 | |
| 44 | /// GetRowColumnExtentsAtIndex method |
| 45 | fn get_row_column_extents_at_index( |
| 46 | &self, |
| 47 | index: i32, |
| 48 | ) -> zbus::Result<(bool, i32, i32, i32, i32, bool)>; |
| 49 | |
| 50 | /// GetRowDescription method |
| 51 | fn get_row_description(&self, row: i32) -> zbus::Result<String>; |
| 52 | |
| 53 | /// GetRowExtentAt method |
| 54 | fn get_row_extent_at(&self, row: i32, column: i32) -> zbus::Result<i32>; |
| 55 | |
| 56 | /// GetRowHeader method |
| 57 | fn get_row_header(&self, row: i32) -> zbus::Result<ObjectRef>; |
| 58 | |
| 59 | /// GetSelectedColumns method |
| 60 | fn get_selected_columns(&self) -> zbus::Result<Vec<i32>>; |
| 61 | |
| 62 | /// GetSelectedRows method |
| 63 | fn get_selected_rows(&self) -> zbus::Result<Vec<i32>>; |
| 64 | |
| 65 | /// IsColumnSelected method |
| 66 | fn is_column_selected(&self, column: i32) -> zbus::Result<bool>; |
| 67 | |
| 68 | /// IsRowSelected method |
| 69 | fn is_row_selected(&self, row: i32) -> zbus::Result<bool>; |
| 70 | |
| 71 | /// IsSelected method |
| 72 | fn is_selected(&self, row: i32, column: i32) -> zbus::Result<bool>; |
| 73 | |
| 74 | /// RemoveColumnSelection method |
| 75 | fn remove_column_selection(&self, column: i32) -> zbus::Result<bool>; |
| 76 | |
| 77 | /// RemoveRowSelection method |
| 78 | fn remove_row_selection(&self, row: i32) -> zbus::Result<bool>; |
| 79 | |
| 80 | /// Caption property |
| 81 | #[zbus(property)] |
| 82 | fn caption(&self) -> zbus::Result<ObjectRef>; |
| 83 | |
| 84 | /// NColumns property |
| 85 | #[zbus(property)] |
| 86 | fn ncolumns(&self) -> zbus::Result<i32>; |
| 87 | |
| 88 | /// NRows property |
| 89 | #[zbus(property)] |
| 90 | fn nrows(&self) -> zbus::Result<i32>; |
| 91 | |
| 92 | /// NSelectedColumns property |
| 93 | #[zbus(property)] |
| 94 | fn nselected_columns(&self) -> zbus::Result<i32>; |
| 95 | |
| 96 | /// NSelectedRows property |
| 97 | #[zbus(property)] |
| 98 | fn nselected_rows(&self) -> zbus::Result<i32>; |
| 99 | |
| 100 | /// Summary property |
| 101 | #[zbus(property)] |
| 102 | fn summary(&self) -> zbus::Result<ObjectRef>; |
| 103 | } |
| 104 | |