Trait libpanel::subclass::prelude::IMContextImpl
source · pub trait IMContextImpl: IMContextImplExt + ObjectImpl {
Show 16 methods
// Provided methods
fn commit(&self, string: &str) { ... }
fn delete_surrounding(&self, offset: i32, n_chars: i32) -> bool { ... }
fn filter_keypress(&self, event: &Event) -> bool { ... }
fn focus_in(&self) { ... }
fn focus_out(&self) { ... }
fn preedit_string(&self) -> (GString, AttrList, i32) { ... }
fn surrounding(&self) -> Option<(GString, i32)> { ... }
fn preedit_changed(&self) { ... }
fn preedit_end(&self) { ... }
fn preedit_start(&self) { ... }
fn reset(&self) { ... }
fn retrieve_surrounding(&self) -> bool { ... }
fn set_client_widget<P>(&self, widget: Option<&P>)
where P: IsA<Widget> { ... }
fn set_cursor_location(&self, area: &Rectangle) { ... }
fn set_surrounding(&self, text: &str, cursor_index: i32) { ... }
fn set_use_preedit(&self, use_preedit: bool) { ... }
}
Provided Methods§
fn commit(&self, string: &str)
fn delete_surrounding(&self, offset: i32, n_chars: i32) -> bool
fn filter_keypress(&self, event: &Event) -> bool
fn focus_in(&self)
fn focus_out(&self)
fn preedit_string(&self) -> (GString, AttrList, i32)
fn surrounding(&self) -> Option<(GString, i32)>
fn preedit_changed(&self)
fn preedit_end(&self)
fn preedit_start(&self)
fn reset(&self)
fn retrieve_surrounding(&self) -> bool
fn set_client_widget<P>(&self, widget: Option<&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)
Object Safety§
This trait is not object safe.