eez-open / studio

Cross-platform low-code GUI and automation
https://www.envox.eu/studio/studio-introduction/
GNU General Public License v3.0
601 stars 99 forks source link

[LVGL] Add group action to save the current focused object #559

Closed zalexzperez closed 1 month ago

zalexzperez commented 1 month ago

Currently, when a screen is loaded, the first object in the group gets focused by default.

By allowing the user to save the current focused object in a variable with an LVGL group action, we will be able to later restore the focus on this object when required (e.g. when returning from another screen).

This feature request requires being able to read from variables when using the LVGL action to focus on an object, which is also not currently possible.

mvladic commented 1 month ago

This issue will be solved by implementing issue #570.