gtk4::subclass::accessible_text

Trait AccessibleTextImplExt

Source
pub trait AccessibleTextImplExt: AccessibleTextImpl {
    // Provided methods
    fn parent_attributes(
        &self,
        offset: u32,
    ) -> Vec<(AccessibleTextRange, GString, GString)> { ... }
    fn parent_caret_position(&self) -> u32 { ... }
    fn parent_contents(&self, start: u32, end: u32) -> Option<Bytes> { ... }
    fn parent_contents_at(
        &self,
        offset: u32,
        granularity: AccessibleTextGranularity,
    ) -> Option<(u32, u32, Bytes)> { ... }
    fn parent_default_attributes(&self) -> Vec<(GString, GString)> { ... }
    fn parent_extents(&self, start: u32, end: u32) -> Option<Rect> { ... }
    fn parent_offset(&self, point: &Point) -> Option<u32> { ... }
    fn parent_selection(&self) -> Vec<AccessibleTextRange> { ... }
}
Available on crate feature v4_14 only.

Provided Methods§

Source

fn parent_attributes( &self, offset: u32, ) -> Vec<(AccessibleTextRange, GString, GString)>

Source

fn parent_caret_position(&self) -> u32

Source

fn parent_contents(&self, start: u32, end: u32) -> Option<Bytes>

Source

fn parent_contents_at( &self, offset: u32, granularity: AccessibleTextGranularity, ) -> Option<(u32, u32, Bytes)>

Source

fn parent_default_attributes(&self) -> Vec<(GString, GString)>

Source

fn parent_extents(&self, start: u32, end: u32) -> Option<Rect>

Available on crate feature v4_16 only.
Source

fn parent_offset(&self, point: &Point) -> Option<u32>

Available on crate feature v4_16 only.
Source

fn parent_selection(&self) -> Vec<AccessibleTextRange>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§