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

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

Create a bar objects

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