[−][src]Function lvgl::widgets::img::create
pub fn create(
par: *mut lv_obj_t,
copy: *const lv_obj_t
) -> MynewtResult<*mut lv_obj_t>
Create an image objects
par
: pointer to an object, it will be the parent of the new buttoncopy
: pointer to a image object, if not NULL then the new object will be copied from it Return: pointer to the created image