Namespace slint::platform::key_codes#
Detailed Description#
This namespace contains constants for each special non-printable key.
Each constant can be converted to Struct SharedString. The constants are meant to be used with the slint::Window::dispatch_key_press_event() and slint::Window::dispatch_key_release_event() functions.
Example: window.dispatch_key_press_event(slint::platform::key_codes::Tab);