mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
![]() This exposes FocusReason to .slint, and adds it as an argument to focus-event-changed callback on FocusScope to close #8387. It also adds two new callbacks, focus-gained and focus-lost, which are identical to focus-event-changed but are only invoked on focus gain or loss respectively. In addition to this, it removes the FocusEventReason::AccessKit variant, replacing it with the mouse variant to hopefully make AccessKit more compatible with any Slint code that will use FocusEventReason. Finally, I added two tests based on focus_change_event.slint, one for testing the FocusEventReason argument and another for testing the new callbacks. close #8387 ChangeLog: Added `focus-gained` and `focus-lost` callback to FocusScope. Pass an `FocusReason` enum to the FocusScope callbacks |
||
---|---|---|
.. | ||
astro | ||
site | ||
building.md | ||
development.md | ||
embedded-tutorials.md | ||
install_qt.md | ||
nightly-release-notes.md | ||
readme.md | ||
release-artifacts.md | ||
release-notes.md | ||
testing.md | ||
torizon.md | ||
triage.md |
Slint Documentation
docs/
├── astro/ # The Astro project that builds the Slint language docs
├── README.md # This file
├── building.md # How to build Slint
├── development.md # How to develop Slint
├── embedded-tutorials.md # Embedded tutorials template
├── install_qt.md # How to install Qt
├── nightly-release-notes.md # Release note template
├── release-artifacts.md
├── platform-integrations.md # Platform integrations template
└── release-notes.md # Release note template