pub trait IMContextImpl: IMContextImplExt + ObjectImpl {
Show 16 methods // Provided methods fn commit(&self, im_context: &Self::Type, string: &str) { ... } fn delete_surrounding( &self, im_context: &Self::Type, offset: i32, n_chars: i32 ) -> bool { ... } fn filter_keypress(&self, im_context: &Self::Type, event: &Event) -> bool { ... } fn focus_in(&self, im_context: &Self::Type) { ... } fn focus_out(&self, im_context: &Self::Type) { ... } fn preedit_string( &self, im_context: &Self::Type ) -> (GString, AttrList, i32) { ... } fn surrounding(&self, im_context: &Self::Type) -> Option<(GString, i32)> { ... } fn preedit_changed(&self, im_context: &Self::Type) { ... } fn preedit_end(&self, im_context: &Self::Type) { ... } fn preedit_start(&self, im_context: &Self::Type) { ... } fn reset(&self, im_context: &Self::Type) { ... } fn retrieve_surrounding(&self, im_context: &Self::Type) -> bool { ... } fn set_client_widget<P: IsA<Widget>>( &self, im_context: &Self::Type, widget: Option<&P> ) { ... } fn set_cursor_location(&self, im_context: &Self::Type, area: &Rectangle) { ... } fn set_surrounding( &self, im_context: &Self::Type, text: &str, cursor_index: i32 ) { ... } fn set_use_preedit(&self, im_context: &Self::Type, use_preedit: bool) { ... }
}

Provided Methods§

source

fn commit(&self, im_context: &Self::Type, string: &str)

source

fn delete_surrounding( &self, im_context: &Self::Type, offset: i32, n_chars: i32 ) -> bool

source

fn filter_keypress(&self, im_context: &Self::Type, event: &Event) -> bool

source

fn focus_in(&self, im_context: &Self::Type)

source

fn focus_out(&self, im_context: &Self::Type)

source

fn preedit_string(&self, im_context: &Self::Type) -> (GString, AttrList, i32)

source

fn surrounding(&self, im_context: &Self::Type) -> Option<(GString, i32)>

source

fn preedit_changed(&self, im_context: &Self::Type)

source

fn preedit_end(&self, im_context: &Self::Type)

source

fn preedit_start(&self, im_context: &Self::Type)

source

fn reset(&self, im_context: &Self::Type)

source

fn retrieve_surrounding(&self, im_context: &Self::Type) -> bool

source

fn set_client_widget<P: IsA<Widget>>( &self, im_context: &Self::Type, widget: Option<&P> )

source

fn set_cursor_location(&self, im_context: &Self::Type, area: &Rectangle)

source

fn set_surrounding( &self, im_context: &Self::Type, text: &str, cursor_index: i32 )

source

fn set_use_preedit(&self, im_context: &Self::Type, use_preedit: bool)

Implementors§