Always evt all in calback

What do you want to achieve?

Any one event asigned to object generate code

lv_obj_add_event_cb(ui_ArcdB, ui_event_ArcdB, **LV_EVENT_ALL**, NULL);

What have you tried so far?

When only one is assigned use it in ui.c !

Screenshot or video


  • SquareLine Studio version: 1.2.3 but changelog dont say correct then i mean 1.3.0 too
  • Operating system:
  • Target hardware:

Do you mean you would like to have an ALL even trigger option in SquareLine Studio?

No i mean if in designer choiced is only CLICKED in code need too be CLICKED only.

And ofcourse some event need add for example KEY missed now.

1 Like

I forwarded this request to the dev team.

This is because the even filtering is done in the actual callback. Check ui_event_ArcdB function to see what I mean.

Ofcourse i see it, but this isnt effective if i use next custom calbacks in my code.

Right. The way SLS handles it is you let it control all events or no events at all. You can’t do partial.