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

Provided Methods§

source

fn backspace(&self, text_view: &Self::Type)

source

fn copy_clipboard(&self, text_view: &Self::Type)

source

fn cut_clipboard(&self, text_view: &Self::Type)

source

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

source

fn extend_selection( &self, text_view: &Self::Type, granularity: TextExtendSelection, location: &TextIter, start: &mut TextIter, end: &mut TextIter ) -> Inhibit

source

fn insert_at_cursor(&self, text_view: &Self::Type, text: &str)

source

fn insert_emoji(&self, text_view: &Self::Type)

source

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

source

fn paste_clipboard(&self, text_view: &Self::Type)

source

fn set_anchor(&self, text_view: &Self::Type)

source

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

source

fn toggle_overwrite(&self, text_view: &Self::Type)

Implementors§