mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
![]() Similar to the mouse_grabber, we use a VisitChildrenResult field to track the focus item within a component. Unlike the mouse grabber however, it is set/cleared using dedicated focus events. The key event now routes the key event directly to the focus item. The focus can be requested via set_focus_item on a window, which the TextItem does. |
||
---|---|---|
.. | ||
index.js |