Trait clutter::TextBufferExt[][src]

pub trait TextBufferExt: 'static {
    fn delete_text(&self, position: u32, n_chars: i32) -> u32;
fn emit_deleted_text(&self, position: u32, n_chars: u32);
fn emit_inserted_text(&self, position: u32, chars: &str, n_chars: u32);
fn get_bytes(&self) -> usize;
fn get_length(&self) -> u32;
fn get_max_length(&self) -> i32;
fn get_text(&self) -> Option<GString>;
fn insert_text(&self, position: u32, chars: &str, n_chars: i32) -> u32;
fn set_max_length(&self, max_length: i32);
fn set_text(&self, chars: &str, n_chars: i32);
fn connect_deleted_text<F: Fn(&Self, u32, u32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_inserted_text<F: Fn(&Self, u32, &str, u32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_length_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_max_length_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn delete_text(&self, position: u32, n_chars: i32) -> u32[src]

fn emit_deleted_text(&self, position: u32, n_chars: u32)[src]

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

fn get_bytes(&self) -> usize[src]

fn get_length(&self) -> u32[src]

fn get_max_length(&self) -> i32[src]

fn get_text(&self) -> Option<GString>[src]

fn insert_text(&self, position: u32, chars: &str, n_chars: i32) -> u32[src]

fn set_max_length(&self, max_length: i32)[src]

fn set_text(&self, chars: &str, n_chars: i32)[src]

fn connect_deleted_text<F: Fn(&Self, u32, u32) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_inserted_text<F: Fn(&Self, u32, &str, u32) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_length_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_max_length_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_text_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<TextBuffer>> TextBufferExt for O[src]

Loading content...