[][src]Function lvgl::widgets::tileview::set_tile_act

pub fn set_tile_act(
    tileview: *mut lv_obj_t,
    x: lv_coord_t,
    y: lv_coord_t,
    anim: lv_anim_enable_t
) -> MynewtResult<()>

Set the tile to be shown

  • tileview: pointer to a tileview object
  • x: column id (0, 1, 2...)
  • y: line id (0, 1, 2...)
  • anim: LV_ANIM_ON: set the value with an animation; LV_ANIM_OFF: change the value immediately