[][src]Trait sourceview::UndoManagerExt

pub trait UndoManagerExt: 'static {
    fn begin_not_undoable_action(&self);
fn can_redo(&self) -> bool;
fn can_redo_changed(&self);
fn can_undo(&self) -> bool;
fn can_undo_changed(&self);
fn end_not_undoable_action(&self);
fn redo(&self);
fn undo(&self);
fn connect_can_redo_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_can_redo_changed(&self);
fn connect_can_undo_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_can_undo_changed(&self); }

Required methods

fn begin_not_undoable_action(&self)

fn can_redo(&self) -> bool

fn can_redo_changed(&self)

fn can_undo(&self) -> bool

fn can_undo_changed(&self)

fn end_not_undoable_action(&self)

fn redo(&self)

fn undo(&self)

fn connect_can_redo_changed<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn emit_can_redo_changed(&self)

fn connect_can_undo_changed<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn emit_can_undo_changed(&self)

Loading content...

Implementors

impl<O: IsA<UndoManager>> UndoManagerExt for O[src]

Loading content...