slint/internal
Avery Townsend c41d4a4df3
Add FocusEventReason to FocusEvent and add a select all on keyboard focus for TextInput (#8523)
Closes #5992

Adds the enum FocusEventReason and makes it an argument for FocusEvent. This reason could eventually be exposed in Slint to solve #8387.

Using the focus reason tracking, I also added a select all on keyboard focus for TextInputs (except on macOS), which should close #5992.

ChangeLog: TextInput selects its content when focused with the keyboard on Windows and Linux
2025-05-27 07:56:13 +02:00
..
backends Add FocusEventReason to FocusEvent and add a select all on keyboard focus for TextInput (#8523) 2025-05-27 07:56:13 +02:00
common Clean up cfgs for Apple operating systems 2025-05-09 20:54:47 +02:00
compiler Add FocusEventReason to FocusEvent and add a select all on keyboard focus for TextInput (#8523) 2025-05-27 07:56:13 +02:00
core Add FocusEventReason to FocusEvent and add a select all on keyboard focus for TextInput (#8523) 2025-05-27 07:56:13 +02:00
core-macros docs: First version of iOS instructions 2025-05-20 11:07:19 +02:00
interpreter Add FocusEventReason to FocusEvent and add a select all on keyboard focus for TextInput (#8523) 2025-05-27 07:56:13 +02:00
renderers Update to skia-safe 0.86 2025-05-26 18:33:21 +02:00