I am not able to find any predefined getter functions for widgets like buttons, switches, or checkbox. Am I missing something?
Some widgets like slider or dropdown menu have predefined getter functions and report the state or the value. I was wondering that we probably should have for simpler widgets like a button. that if its pressed we can get the value 1 from a function in the generated code.
I explain the project is to run a frequency generator :
It include 3 checkbox for meg, kilo an hertz and one button to sweep from F1 to F2.
When i press 1 checkbox it must clear the two others. Look The ui_events.c
Thanks for the response, But I’m really not following whats happening. its hard without knowing the visual interface of the graphics.
So are you confirming that LVGL does not provide a direct getter function for widgets like “button” or “checkbox”?