pub trait EditableExt: 'static {
Show 37 methods fn delete_selection(&self); fn delete_text(&self, start_pos: i32, end_pos: i32); fn finish_delegate(&self); fn alignment(&self) -> f32; fn chars(&self, start_pos: i32, end_pos: i32) -> GString; fn delegate(&self) -> Option<Editable>; fn is_editable(&self) -> bool; fn enables_undo(&self) -> bool; fn max_width_chars(&self) -> i32; fn position(&self) -> i32; fn selection_bounds(&self) -> Option<(i32, i32)>; fn text(&self) -> GString; fn width_chars(&self) -> i32; fn init_delegate(&self); fn insert_text(&self, text: &str, position: &mut i32); fn select_region(&self, start_pos: i32, end_pos: i32); fn set_alignment(&self, xalign: f32); fn set_editable(&self, is_editable: bool); fn set_enable_undo(&self, enable_undo: bool); fn set_max_width_chars(&self, n_chars: i32); fn set_position(&self, position: i32); fn set_text(&self, text: &str); fn set_width_chars(&self, n_chars: i32); fn cursor_position(&self) -> i32; fn selection_bound(&self) -> i32; fn xalign(&self) -> f32; fn set_xalign(&self, xalign: f32); fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_delete_text<F: Fn(&Self, i32, i32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_cursor_position_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_editable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_undo_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_max_width_chars_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_selection_bound_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_width_chars_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_xalign_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods

Implementors