pub trait InputMethodContextExt: IsA<InputMethodContext> + Sealed + 'static {
Show 18 methods // Provided methods fn filter_key_event(&self, key_event: &mut EventKey) -> bool { ... } fn input_hints(&self) -> InputHints { ... } fn input_purpose(&self) -> InputPurpose { ... } fn notify_cursor_area(&self, x: i32, y: i32, width: i32, height: i32) { ... } fn notify_focus_in(&self) { ... } fn notify_focus_out(&self) { ... } fn notify_surrounding( &self, text: &str, cursor_index: u32, selection_index: u32 ) { ... } fn reset(&self) { ... } fn set_enable_preedit(&self, enabled: bool) { ... } fn set_input_hints(&self, hints: InputHints) { ... } fn set_input_purpose(&self, purpose: InputPurpose) { ... } fn connect_committed<F: Fn(&Self, &str) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_delete_surrounding<F: Fn(&Self, i32, u32) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_preedit_changed<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_preedit_finished<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_preedit_started<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_input_hints_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_input_purpose_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}
Available on crate feature v2_28 only.

Provided Methods§

source

fn filter_key_event(&self, key_event: &mut EventKey) -> bool

source

fn input_hints(&self) -> InputHints

source

fn input_purpose(&self) -> InputPurpose

source

fn notify_cursor_area(&self, x: i32, y: i32, width: i32, height: i32)

source

fn notify_focus_in(&self)

source

fn notify_focus_out(&self)

source

fn notify_surrounding( &self, text: &str, cursor_index: u32, selection_index: u32 )

source

fn reset(&self)

source

fn set_enable_preedit(&self, enabled: bool)

source

fn set_input_hints(&self, hints: InputHints)

source

fn set_input_purpose(&self, purpose: InputPurpose)

source

fn connect_committed<F: Fn(&Self, &str) + 'static>( &self, f: F ) -> SignalHandlerId

source

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

source

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

source

fn connect_preedit_finished<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_preedit_started<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_input_hints_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_input_purpose_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§