[][src]Function lvgl::widgets::imgbtn::get_state

pub fn get_state(imgbtn: *const lv_obj_t) -> MynewtResult<lv_btn_state_t>

Get the current state of the image button

  • imgbtn: pointer to a image button object Return: the state of the button (from lv_btn_state_t enum)