libadwaita::subclass::prelude

Trait TextViewImpl

source
pub trait TextViewImpl: WidgetImpl + ObjectSubclass
where Self::Type: IsA<TextView>,
{ // Provided methods fn backspace(&self) { ... } fn copy_clipboard(&self) { ... } fn cut_clipboard(&self) { ... } fn delete_from_cursor(&self, type_: DeleteType, count: i32) { ... } fn extend_selection( &self, granularity: TextExtendSelection, location: &TextIter, start: &mut TextIter, end: &mut TextIter, ) -> ControlFlow { ... } fn insert_at_cursor(&self, text: &str) { ... } fn insert_emoji(&self) { ... } fn move_cursor( &self, step: MovementStep, count: i32, extend_selection: bool, ) { ... } fn paste_clipboard(&self) { ... } fn set_anchor(&self) { ... } fn snapshot_layer(&self, layer: TextViewLayer, snapshot: Snapshot) { ... } fn toggle_overwrite(&self) { ... } }

Provided Methods§

source

fn backspace(&self)

source

fn copy_clipboard(&self)

source

fn cut_clipboard(&self)

source

fn delete_from_cursor(&self, type_: DeleteType, count: i32)

source

fn extend_selection( &self, granularity: TextExtendSelection, location: &TextIter, start: &mut TextIter, end: &mut TextIter, ) -> ControlFlow

source

fn insert_at_cursor(&self, text: &str)

source

fn insert_emoji(&self)

source

fn move_cursor(&self, step: MovementStep, count: i32, extend_selection: bool)

source

fn paste_clipboard(&self)

source

fn set_anchor(&self)

source

fn snapshot_layer(&self, layer: TextViewLayer, snapshot: Snapshot)

source

fn toggle_overwrite(&self)

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§