slint/sixtyfps_compiler/generator
Simon Hausmann f7ea2a9dce Forward focus() calls on items that have initial-focus defined
This also makes the focus() method available as a member function on any
item, but the resolve_element_reference_in_set_focus_calls() pass will
check if the elements are valid.

The check for `has-focus` to determine a focusable item was replaced
with an annotation on the built-in elements, so that `has-focus` can
later be implemented as a built-in function through the run-time,
without the need for a boolean property.
2021-01-20 14:31:01 +01:00
..
cpp.rs Forward focus() calls on items that have initial-focus defined 2021-01-20 14:31:01 +01:00
rust.rs Forward focus() calls on items that have initial-focus defined 2021-01-20 14:31:01 +01:00