[−][src]Trait wayland_protocols::unstable::input_method::v1::client::zwp_input_method_context_v1::EventHandler
An interface for handling events.
Provided methods
fn surrounding_text(
&mut self,
object: ZwpInputMethodContextV1,
text: String,
cursor: u32,
anchor: u32
)
&mut self,
object: ZwpInputMethodContextV1,
text: String,
cursor: u32,
anchor: u32
)
surrounding text event
The plain surrounding text around the input position. Cursor is the position in bytes within the surrounding text relative to the beginning of the text. Anchor is the position in bytes of the selection anchor within the surrounding text relative to the beginning of the text. If there is no selected text then anchor is the same as cursor.
fn reset(&mut self, object: ZwpInputMethodContextV1)
fn content_type(
&mut self,
object: ZwpInputMethodContextV1,
hint: u32,
purpose: u32
)
&mut self,
object: ZwpInputMethodContextV1,
hint: u32,
purpose: u32
)
fn invoke_action(
&mut self,
object: ZwpInputMethodContextV1,
button: u32,
index: u32
)
&mut self,
object: ZwpInputMethodContextV1,
button: u32,
index: u32
)
fn commit_state(&mut self, object: ZwpInputMethodContextV1, serial: u32)
fn preferred_language(
&mut self,
object: ZwpInputMethodContextV1,
language: String
)
&mut self,
object: ZwpInputMethodContextV1,
language: String
)