lv_tabview_add_tab

Function lv_tabview_add_tab 

Source
pub unsafe fn lv_tabview_add_tab(
    tabview: *mut _lv_obj_t,
    name: *const i8,
) -> *mut _lv_obj_t
Expand description

Add a tab to a tabview and adjust the tab button size

§Arguments

  • tabview - The tabview to add the tab to.
  • name - The name of the tab.

§Safety

This function is unsafe because it may dereference raw pointers (e.g. tabview).