Struct atspi_proxies::selection::SelectionProxyBlocking
source · pub struct SelectionProxyBlocking<'p>(/* private fields */);
Implementations§
source§impl<'p> SelectionProxyBlocking<'p>
impl<'p> SelectionProxyBlocking<'p>
sourcepub fn new(conn: &Connection) -> Result<SelectionProxyBlocking<'p>>
pub fn new(conn: &Connection) -> Result<SelectionProxyBlocking<'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 fn clear_selection(&self) -> Result<bool>
pub fn clear_selection(&self) -> Result<bool>
ClearSelection method
sourcepub fn deselect_child(&self, child_index: i32) -> Result<bool>
pub fn deselect_child(&self, child_index: i32) -> Result<bool>
DeselectChild method
sourcepub fn deselect_selected_child(&self, selected_child_index: i32) -> Result<bool>
pub fn deselect_selected_child(&self, selected_child_index: i32) -> Result<bool>
DeselectSelectedChild method
sourcepub fn get_selected_child(&self, selected_child_index: i32) -> Result<ObjectRef>
pub fn get_selected_child(&self, selected_child_index: i32) -> Result<ObjectRef>
GetSelectedChild method
sourcepub fn is_child_selected(&self, child_index: i32) -> Result<bool>
pub fn is_child_selected(&self, child_index: i32) -> Result<bool>
IsChildSelected method
sourcepub fn select_all(&self) -> Result<bool>
pub fn select_all(&self) -> Result<bool>
SelectAll method
sourcepub fn select_child(&self, child_index: i32) -> Result<bool>
pub fn select_child(&self, child_index: i32) -> Result<bool>
SelectChild method
sourcepub fn nselected_children(&self) -> Result<i32>
pub fn nselected_children(&self) -> Result<i32>
NSelectedChildren property
sourcepub fn cached_nselected_children(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_nselected_children( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the NselectedChildren
property, or None
if the property is not cached.
sourcepub fn receive_nselected_children_changed(
&self,
) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
pub fn receive_nselected_children_changed( &self, ) -> PropertyIterator<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the NselectedChildren
property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed
.
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for SelectionProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for SelectionProxyBlocking<'p>
source§impl<'p> AsRef<Proxy<'p>> for SelectionProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for SelectionProxyBlocking<'p>
source§impl<'p> Clone for SelectionProxyBlocking<'p>
impl<'p> Clone for SelectionProxyBlocking<'p>
source§fn clone(&self) -> SelectionProxyBlocking<'p>
fn clone(&self) -> SelectionProxyBlocking<'p>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'p> Debug for SelectionProxyBlocking<'p>
impl<'p> Debug for SelectionProxyBlocking<'p>
source§impl<'p> From<Proxy<'p>> for SelectionProxyBlocking<'p>
impl<'p> From<Proxy<'p>> for SelectionProxyBlocking<'p>
source§impl<'a> ProxyDefault for SelectionProxyBlocking<'a>
impl<'a> ProxyDefault for SelectionProxyBlocking<'a>
source§impl<'p> ProxyImpl<'p> for SelectionProxyBlocking<'p>
impl<'p> ProxyImpl<'p> for SelectionProxyBlocking<'p>
source§impl<'p> Serialize for SelectionProxyBlocking<'p>
impl<'p> Serialize for SelectionProxyBlocking<'p>
Auto Trait Implementations§
impl<'p> Freeze for SelectionProxyBlocking<'p>
impl<'p> !RefUnwindSafe for SelectionProxyBlocking<'p>
impl<'p> Send for SelectionProxyBlocking<'p>
impl<'p> Sync for SelectionProxyBlocking<'p>
impl<'p> Unpin for SelectionProxyBlocking<'p>
impl<'p> !UnwindSafe for SelectionProxyBlocking<'p>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more