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