mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Initial input method support for the winit backend and the FemtoVG/Skia renderers
Known caveats: - winit doesn't forward mouse events to the IME, so clicking with the mouse while composing results in funny effects such as the pre-edit text following the cursor. - With FemtoVG there's no text decoration support, thus no underlining of the preedit area.
This commit is contained in:
parent
c40b82c509
commit
8cba0622f5
17 changed files with 285 additions and 83 deletions
|
@ -223,6 +223,7 @@ export TextInput := _ {
|
|||
property <bool> enabled: true;
|
||||
property <bool> single-line: true;
|
||||
property <bool> read-only: false;
|
||||
property <string> preedit-text: native_output;
|
||||
//-default_size_binding:expands_to_parent_geometry
|
||||
//-accepts_focus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue