Description
I have a btn group in which only one btn can be pressed(checked) at once time. If there is a btn pressed, the others will be disable or the pressed btn will be released when the another btn is pressed. Hence, I need AIP to disable/enable or toggle btn.
In the perious version, it can be achieved via lv_btn_toggle(), lv_btn_set_state() to toggling btn or lv_obj_set_hidden, lv_obj_set_click()to disabel/enable the btn. But the APIs seem to be deprecated in v8. Is there any way to toggle or disable/enable btn in v8?
thank you for your help !
What MCU/Processor/Board and compiler are you using?
STM32, VisualStudio
What LVGL version are you using?
STM32, VisualStudio
What do you want to achieve?
Toggle or Disable/Enable btn via API(“Manually”)
What have you tried so far?
I have trid lv_btn_toggle(), lv_btn_set_state() , lv_obj_set_hidden and lv_obj_set_click(), but they seem to be deprecated in v8.(I can not find i the v8 Simulator)