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

pub fn create(
    par: *mut lv_obj_t,
    copy: *const lv_obj_t
) -> MynewtResult<*mut lv_obj_t>

Create a image button objects

  • par: pointer to an object, it will be the parent of the new image button
  • copy: pointer to a image button object, if not NULL then the new object will be copied from it Return: pointer to the created image button