eez-open / studio

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

Add event handler for LGVL project #458

Open iryna7 opened 1 month ago

iryna7 commented 1 month ago

Hi, anyone knows...

  1. How to Add event handler for LVGL project. just like screen change event.
  2. Can't compile fot the LVGL Flow or GUI project. it is shows eez/flow/lvgl_api.h missing errors.

I'm working on the Arduino for ESP32. thanks in advance.

BR HS

mvladic commented 1 month ago
  1. How to Add event handler for LVGL project. just like screen change event.

There is a "Event handlers" section in widget properties:

image

  1. Can't compile fot the LVGL Flow or GUI project. it is shows eez/flow/lvgl_api.h missing errors.

You need to link with the eez-framework. But, from EEZ Studio version 0.14.1 onwards there is support for generating EEZ Flow engine source code along with other source code, see #385.

For other questions you can also check Q&A and our Discord.