Trait gtk::IMContextExt [] [src]

pub trait IMContextExt {
    fn delete_surrounding(&self, offset: i32, n_chars: i32) -> bool;
fn filter_keypress(&self, event: &EventKey) -> bool;
fn focus_in(&self);
fn focus_out(&self);
fn get_preedit_string(&self) -> (String, AttrList, i32);
fn get_surrounding(&self) -> Option<(String, i32)>;
fn reset(&self);
fn set_client_window<'a, P: Into<Option<&'a Window>>>(&self, window: P);
fn set_cursor_location(&self, area: &Rectangle);
fn set_surrounding(&self, text: &str, cursor_index: i32);
fn set_use_preedit(&self, use_preedit: bool);
fn connect_commit<F: Fn(&Self, &str) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_delete_surrounding<F: Fn(&Self, i32, i32) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_preedit_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_preedit_end<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_preedit_start<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_retrieve_surrounding<F: Fn(&Self) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods

Implementors