Struct atspi_proxies::table::TableProxy
source · pub struct TableProxy<'p>(/* private fields */);
Implementations§
source§impl<'p> TableProxy<'p>
impl<'p> TableProxy<'p>
sourcepub async fn new(conn: &Connection) -> Result<TableProxy<'p>>
pub async fn new(conn: &Connection) -> Result<TableProxy<'p>>
Creates a new proxy with the default service and path.
sourcepub fn builder(conn: &Connection) -> Builder<'p, Self>
pub fn builder(conn: &Connection) -> Builder<'p, Self>
Returns a customizable builder for this proxy.
sourcepub fn into_inner(self) -> Proxy<'p>
pub fn into_inner(self) -> Proxy<'p>
Consumes self
, returning the underlying zbus::Proxy
.
sourcepub fn inner_mut(&mut self) -> &mut Proxy<'p>
pub fn inner_mut(&mut self) -> &mut Proxy<'p>
The mutable reference to the underlying zbus::Proxy
.
sourcepub async fn add_column_selection(&self, column: i32) -> Result<bool>
pub async fn add_column_selection(&self, column: i32) -> Result<bool>
AddColumnSelection method
sourcepub async fn add_row_selection(&self, row: i32) -> Result<bool>
pub async fn add_row_selection(&self, row: i32) -> Result<bool>
AddRowSelection method
sourcepub async fn get_accessible_at(
&self,
row: i32,
column: i32
) -> Result<ObjectRef>
pub async fn get_accessible_at( &self, row: i32, column: i32 ) -> Result<ObjectRef>
GetAccessibleAt method
sourcepub async fn get_column_at_index(&self, index: i32) -> Result<i32>
pub async fn get_column_at_index(&self, index: i32) -> Result<i32>
GetColumnAtIndex method
sourcepub async fn get_column_description(&self, column: i32) -> Result<String>
pub async fn get_column_description(&self, column: i32) -> Result<String>
GetColumnDescription method
sourcepub async fn get_column_extent_at(&self, row: i32, column: i32) -> Result<i32>
pub async fn get_column_extent_at(&self, row: i32, column: i32) -> Result<i32>
GetColumnExtentAt method
sourcepub async fn get_column_header(&self, column: i32) -> Result<ObjectRef>
pub async fn get_column_header(&self, column: i32) -> Result<ObjectRef>
GetColumnHeader method
sourcepub async fn get_row_at_index(&self, index: i32) -> Result<i32>
pub async fn get_row_at_index(&self, index: i32) -> Result<i32>
GetRowAtIndex method
sourcepub async fn get_row_column_extents_at_index(
&self,
index: i32
) -> Result<(bool, i32, i32, i32, i32, bool)>
pub async fn get_row_column_extents_at_index( &self, index: i32 ) -> Result<(bool, i32, i32, i32, i32, bool)>
GetRowColumnExtentsAtIndex method
sourcepub async fn get_row_description(&self, row: i32) -> Result<String>
pub async fn get_row_description(&self, row: i32) -> Result<String>
GetRowDescription method
sourcepub async fn get_row_extent_at(&self, row: i32, column: i32) -> Result<i32>
pub async fn get_row_extent_at(&self, row: i32, column: i32) -> Result<i32>
GetRowExtentAt method
sourcepub async fn get_row_header(&self, row: i32) -> Result<ObjectRef>
pub async fn get_row_header(&self, row: i32) -> Result<ObjectRef>
GetRowHeader method
sourcepub async fn get_selected_columns(&self) -> Result<Vec<i32>>
pub async fn get_selected_columns(&self) -> Result<Vec<i32>>
GetSelectedColumns method
sourcepub async fn get_selected_rows(&self) -> Result<Vec<i32>>
pub async fn get_selected_rows(&self) -> Result<Vec<i32>>
GetSelectedRows method
sourcepub async fn is_column_selected(&self, column: i32) -> Result<bool>
pub async fn is_column_selected(&self, column: i32) -> Result<bool>
IsColumnSelected method
sourcepub async fn is_row_selected(&self, row: i32) -> Result<bool>
pub async fn is_row_selected(&self, row: i32) -> Result<bool>
IsRowSelected method
sourcepub async fn remove_column_selection(&self, column: i32) -> Result<bool>
pub async fn remove_column_selection(&self, column: i32) -> Result<bool>
RemoveColumnSelection method
sourcepub async fn remove_row_selection(&self, row: i32) -> Result<bool>
pub async fn remove_row_selection(&self, row: i32) -> Result<bool>
RemoveRowSelection method
Caption property
Get the cached value of the Caption
property, or None
if the property is not cached.
Create a stream for the Caption
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_ncolumns(
&self
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_ncolumns( &self ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the Ncolumns
property, or None
if the property is not cached.
sourcepub async fn receive_ncolumns_changed(
&self
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_ncolumns_changed( &self ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the Ncolumns
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_nrows(
&self
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_nrows( &self ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the Nrows
property, or None
if the property is not cached.
sourcepub async fn receive_nrows_changed(
&self
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_nrows_changed( &self ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the Nrows
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn nselected_columns(&self) -> Result<i32>
pub async fn nselected_columns(&self) -> Result<i32>
NSelectedColumns property
sourcepub fn cached_nselected_columns(
&self
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_nselected_columns( &self ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the NselectedColumns
property, or None
if the property is not cached.
sourcepub async fn receive_nselected_columns_changed(
&self
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_nselected_columns_changed( &self ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the NselectedColumns
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub async fn nselected_rows(&self) -> Result<i32>
pub async fn nselected_rows(&self) -> Result<i32>
NSelectedRows property
sourcepub fn cached_nselected_rows(
&self
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_nselected_rows( &self ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the NselectedRows
property, or None
if the property is not cached.
sourcepub async fn receive_nselected_rows_changed(
&self
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_nselected_rows_changed( &self ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the NselectedRows
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
sourcepub fn cached_summary(
&self
) -> Result<Option<<Result<ObjectRef> as ResultAdapter>::Ok>, <Result<ObjectRef> as ResultAdapter>::Err>
pub fn cached_summary( &self ) -> Result<Option<<Result<ObjectRef> as ResultAdapter>::Ok>, <Result<ObjectRef> as ResultAdapter>::Err>
Get the cached value of the Summary
property, or None
if the property is not cached.
sourcepub async fn receive_summary_changed(
&self
) -> PropertyStream<'p, <Result<ObjectRef> as ResultAdapter>::Ok>
pub async fn receive_summary_changed( &self ) -> PropertyStream<'p, <Result<ObjectRef> as ResultAdapter>::Ok>
Create a stream for the Summary
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for TableProxy<'p>
impl<'p> AsMut<Proxy<'p>> for TableProxy<'p>
source§impl<'p> AsRef<Proxy<'p>> for TableProxy<'p>
impl<'p> AsRef<Proxy<'p>> for TableProxy<'p>
source§impl<'p> Clone for TableProxy<'p>
impl<'p> Clone for TableProxy<'p>
source§fn clone(&self) -> TableProxy<'p>
fn clone(&self) -> TableProxy<'p>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more