pub struct PlatformNode { /* private fields */ }
Implementations§
source§impl PlatformNode
impl PlatformNode
pub fn name(&self) -> Result<String>
pub fn description(&self) -> Result<String>
pub fn relative(&self, id: NodeId) -> Self
pub fn root(&self) -> Result<PlatformRoot>
pub fn toolkit_name(&self) -> Result<String>
pub fn toolkit_version(&self) -> Result<String>
pub fn parent(&self) -> Result<NodeIdOrRoot>
pub fn child_count(&self) -> Result<i32>
pub fn adapter_id(&self) -> usize
pub fn id(&self) -> NodeId
pub fn accessible_id(&self) -> Result<String>
pub fn child_at_index(&self, index: usize) -> Result<Option<NodeId>>
pub fn map_children<T, I>(&self, f: impl Fn(NodeId) -> I) -> Result<T>where
T: FromIterator<I>,
pub fn index_in_parent(&self) -> Result<i32>
pub fn role(&self) -> Result<AtspiRole>
pub fn localized_role_name(&self) -> Result<String>
pub fn state(&self) -> StateSet
pub fn attributes(&self) -> Result<HashMap<&'static str, String>>
pub fn supports_action(&self) -> Result<bool>
pub fn supports_component(&self) -> Result<bool>
pub fn supports_text(&self) -> Result<bool>
pub fn supports_value(&self) -> Result<bool>
pub fn interfaces(&self) -> Result<InterfaceSet>
pub fn n_actions(&self) -> Result<i32>
pub fn action_name(&self, index: i32) -> Result<String>
pub fn actions(&self) -> Result<Vec<AtspiAction>>
pub fn do_action(&self, index: i32) -> Result<bool>
pub fn contains(&self, x: i32, y: i32, coord_type: CoordType) -> Result<bool>
pub fn accessible_at_point( &self, x: i32, y: i32, coord_type: CoordType, ) -> Result<Option<NodeId>>
pub fn extents(&self, coord_type: CoordType) -> Result<AtspiRect>
pub fn layer(&self) -> Result<Layer>
pub fn grab_focus(&self) -> Result<bool>
pub fn scroll_to_point( &self, coord_type: CoordType, x: i32, y: i32, ) -> Result<bool>
pub fn character_count(&self) -> Result<i32>
pub fn caret_offset(&self) -> Result<i32>
pub fn string_at_offset( &self, offset: i32, granularity: Granularity, ) -> Result<(String, i32, i32)>
pub fn text(&self, start_offset: i32, end_offset: i32) -> Result<String>
pub fn set_caret_offset(&self, offset: i32) -> Result<bool>
pub fn text_attribute_value( &self, _offset: i32, _attribute_name: &str, ) -> Result<String>
pub fn text_attributes( &self, _offset: i32, ) -> Result<(HashMap<String, String>, i32, i32)>
pub fn default_text_attributes(&self) -> Result<HashMap<String, String>>
pub fn character_extents( &self, offset: i32, coord_type: CoordType, ) -> Result<AtspiRect>
pub fn offset_at_point( &self, x: i32, y: i32, coord_type: CoordType, ) -> Result<i32>
pub fn n_selections(&self) -> Result<i32>
pub fn selection(&self, selection_num: i32) -> Result<(i32, i32)>
pub fn add_selection(&self, start_offset: i32, end_offset: i32) -> Result<bool>
pub fn remove_selection(&self, selection_num: i32) -> Result<bool>
pub fn set_selection( &self, selection_num: i32, start_offset: i32, end_offset: i32, ) -> Result<bool>
pub fn range_extents( &self, start_offset: i32, end_offset: i32, coord_type: CoordType, ) -> Result<AtspiRect>
pub fn text_attribute_run( &self, _offset: i32, _include_defaults: bool, ) -> Result<(HashMap<String, String>, i32, i32)>
pub fn scroll_substring_to( &self, start_offset: i32, end_offset: i32, _: ScrollType, ) -> Result<bool>
pub fn scroll_substring_to_point( &self, start_offset: i32, end_offset: i32, coord_type: CoordType, x: i32, y: i32, ) -> Result<bool>
pub fn minimum_value(&self) -> Result<f64>
pub fn maximum_value(&self) -> Result<f64>
pub fn minimum_increment(&self) -> Result<f64>
pub fn current_value(&self) -> Result<f64>
pub fn set_current_value(&self, value: f64) -> Result<()>
Trait Implementations§
source§impl Clone for PlatformNode
impl Clone for PlatformNode
source§fn clone(&self) -> PlatformNode
fn clone(&self) -> PlatformNode
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 Hash for PlatformNode
impl Hash for PlatformNode
source§impl PartialEq for PlatformNode
impl PartialEq for PlatformNode
impl Eq for PlatformNode
Auto Trait Implementations§
impl Freeze for PlatformNode
impl !RefUnwindSafe for PlatformNode
impl Send for PlatformNode
impl Sync for PlatformNode
impl Unpin for PlatformNode
impl !UnwindSafe for PlatformNode
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)