pub trait IMContextImplExt: Sealed + ObjectSubclass {
Show 18 methods
// Provided methods
fn parent_commit(&self, string: &str) { ... }
fn parent_delete_surrounding(&self, offset: i32, n_chars: i32) -> bool { ... }
fn parent_filter_keypress(&self, event: &Event) -> bool { ... }
fn parent_focus_in(&self) { ... }
fn parent_focus_out(&self) { ... }
fn parent_surrounding(&self) -> Option<(GString, i32)> { ... }
fn parent_preedit_string(&self) -> (GString, AttrList, i32) { ... }
fn parent_preedit_changed(&self) { ... }
fn parent_preedit_end(&self) { ... }
fn parent_preedit_start(&self) { ... }
fn parent_reset(&self) { ... }
fn parent_retrieve_surrounding(&self) -> bool { ... }
fn parent_set_client_widget<P: IsA<Widget>>(&self, widget: Option<&P>) { ... }
fn parent_set_cursor_location(&self, area: &Rectangle) { ... }
fn parent_set_surrounding(&self, text: &str, cursor_index: i32) { ... }
fn parent_set_use_preedit(&self, use_preedit: bool) { ... }
fn parent_activate_osk(&self) { ... }
fn parent_activate_osk_with_event(&self, event: Option<&Event>) -> bool { ... }
}
Provided Methods§
fn parent_commit(&self, string: &str)
fn parent_delete_surrounding(&self, offset: i32, n_chars: i32) -> bool
fn parent_filter_keypress(&self, event: &Event) -> bool
fn parent_focus_in(&self)
fn parent_focus_out(&self)
fn parent_surrounding(&self) -> Option<(GString, i32)>
fn parent_preedit_string(&self) -> (GString, AttrList, i32)
fn parent_preedit_changed(&self)
fn parent_preedit_end(&self)
fn parent_preedit_start(&self)
fn parent_reset(&self)
fn parent_retrieve_surrounding(&self) -> bool
fn parent_set_client_widget<P: IsA<Widget>>(&self, widget: Option<&P>)
fn parent_set_cursor_location(&self, area: &Rectangle)
fn parent_set_surrounding(&self, text: &str, cursor_index: i32)
👎Deprecated: Since 4.2
fn parent_set_use_preedit(&self, use_preedit: bool)
fn parent_activate_osk(&self)
Available on crate feature
v4_10
only.fn parent_activate_osk_with_event(&self, event: Option<&Event>) -> bool
Available on crate feature
v4_14
only.Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.