Trait gtk::IMContextExt[][src]

pub trait IMContextExt: 'static {
    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) -> (GString, AttrList, i32);
fn get_surrounding(&self) -> Option<(GString, i32)>;
fn reset(&self);
fn set_client_window<'a, P: IsA<Window> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        window: Q
    );
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 get_property_input_hints(&self) -> InputHints;
fn set_property_input_hints(&self, input_hints: InputHints);
fn get_property_input_purpose(&self) -> InputPurpose;
fn set_property_input_purpose(&self, input_purpose: InputPurpose);
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;
fn connect_property_input_hints_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_input_purpose_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn delete_surrounding(&self, offset: i32, n_chars: i32) -> bool[src]

fn filter_keypress(&self, event: &EventKey) -> bool[src]

fn focus_in(&self)[src]

fn focus_out(&self)[src]

fn get_preedit_string(&self) -> (GString, AttrList, i32)[src]

fn get_surrounding(&self) -> Option<(GString, i32)>[src]

fn reset(&self)[src]

fn set_client_window<'a, P: IsA<Window> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    window: Q
)
[src]

fn set_cursor_location(&self, area: &Rectangle)[src]

fn set_surrounding(&self, text: &str, cursor_index: i32)[src]

fn set_use_preedit(&self, use_preedit: bool)[src]

fn get_property_input_hints(&self) -> InputHints[src]

fn set_property_input_hints(&self, input_hints: InputHints)[src]

fn get_property_input_purpose(&self) -> InputPurpose[src]

fn set_property_input_purpose(&self, input_purpose: InputPurpose)[src]

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<IMContext>> IMContextExt for O[src]

Loading content...