pub trait EntryBufferExt: 'static {
    // Required methods
    fn emit_deleted_text(&self, position: u32, n_chars: u32);
    fn emit_inserted_text(&self, position: u32, chars: &str, n_chars: u32);
    fn connect_length_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
    fn connect_max_length_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
    fn connect_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods§

source

fn emit_deleted_text(&self, position: u32, n_chars: u32)

source

fn emit_inserted_text(&self, position: u32, chars: &str, n_chars: u32)

source

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

source

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

source

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

Implementors§