lvgl/src/lv_objx/lv_imgbtn.c
/**
 * Get the images in a  given state
 * @param imgbtn pointer to an image button object
 * @param state the state where to get the image (from `lv_btn_state_t`) `
 * @return pointer to an image source (a C array or path to a file)
 */
Get the images in a  given state
@param imgbtn pointer to an image button object
@param state the state where to get the image (from `lv_btn_state_t`) `
@return pointer to an image source (a C array or path to a file)
Get the images in a given state @param imgbtn pointer to an image button object @param state the state where to get the image ( from ` lv_btn_state_t ` ) ` @return pointer to an image source ( a C array or path to a file )
const void * lv_imgbtn_get_src(lv_obj_t * imgbtn, lv_btn_state_t state)
{
    LV_ASSERT_OBJ(imgbtn, LV_OBJX_NAME);
    lv_imgbtn_ext_t * ext = lv_obj_get_ext_attr(imgbtn);
    return ext->img_src[state];
}
const void * lv_imgbtn_get_src ( lv_obj_t * imgbtn , lv_btn_state_t state ) { LV_ASSERT_OBJ ( imgbtn , LV_OBJX_NAME ) ; lv_imgbtn_ext_t * ext = lv_obj_get_ext_attr ( imgbtn ) ; return ext -> img_src [ state ] ; }
Get the images in a  given state
 @param imgbtn pointer to an image button object
 @param state the state where to get the image (from `lv_btn_state_t`) `
 @return pointer to an image source (a C array or path to a file)
Get the images in a given state @param imgbtn pointer to an image button object @param state the state where to get the image ( from ` lv_btn_state_t ` ) ` @return pointer to an image source ( a C array or path to a file )