gtk4::subclass::im_context

Trait IMContextImplExt

Source
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§

Source

fn parent_commit(&self, string: &str)

Source

fn parent_delete_surrounding(&self, offset: i32, n_chars: i32) -> bool

Source

fn parent_filter_keypress(&self, event: &Event) -> bool

Source

fn parent_focus_in(&self)

Source

fn parent_focus_out(&self)

Source

fn parent_surrounding(&self) -> Option<(GString, i32)>

Source

fn parent_preedit_string(&self) -> (GString, AttrList, i32)

Source

fn parent_preedit_changed(&self)

Source

fn parent_preedit_end(&self)

Source

fn parent_preedit_start(&self)

Source

fn parent_reset(&self)

Source

fn parent_retrieve_surrounding(&self) -> bool

Source

fn parent_set_client_widget<P: IsA<Widget>>(&self, widget: Option<&P>)

Source

fn parent_set_cursor_location(&self, area: &Rectangle)

Source

fn parent_set_surrounding(&self, text: &str, cursor_index: i32)

👎Deprecated: Since 4.2
Source

fn parent_set_use_preedit(&self, use_preedit: bool)

Source

fn parent_activate_osk(&self)

Available on crate feature v4_10 only.
Source

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.

Implementors§