1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/// Input method (IME) composition input for [`Tree::ime`](crate::app::Tree::ime),
/// the platform-neutral form of winit's `Ime` window event.
///
/// An input method composes text before it reaches the field: Japanese,
/// Chinese and Korean input, dead keys and the macOS accent menu. While a
/// composition is in progress its text (the *preedit*) is shown in the focused
/// `TextInput` at the caret, underlined, without changing the input's value;
/// [`ImeEvent::Commit`] inserts the final text.
/// Where the input method should place its candidate window: the caret of
/// the focused text input, in logical pixels from the window's top-left
/// corner. See [`Tree::ime_cursor_area`](crate::app::Tree::ime_cursor_area).