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

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

Create a roller object

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