[][src]Module lvgl::widgets::tabview

Contains Rust bindings for LVGL Tab View Widget API lv_tabview

Structs

__BindgenBitfieldUnit
lv_area_t

Represents an area of the screen.

lv_ll_t

Description of a linked list

lv_point_t

Represents a point on the screen.

lv_realign_t
lv_style_list_t
lv_tabview_ext_t

Constants

LV_TABVIEW_DEF_ANIM_TIME
LV_TABVIEW_PART_BG
LV_TABVIEW_PART_BG_SCRLLABLE
LV_TABVIEW_PART_INDIC
LV_TABVIEW_PART_TAB_BG
LV_TABVIEW_PART_TAB_BTN
LV_TABVIEW_TAB_POS_BOTTOM
LV_TABVIEW_TAB_POS_LEFT
LV_TABVIEW_TAB_POS_NONE
LV_TABVIEW_TAB_POS_RIGHT
LV_TABVIEW_TAB_POS_TOP
_LV_TABVIEW_PART_REAL_LAST
_LV_TABVIEW_PART_VIRTUAL_LAST

Functions

add_tab

Add a new tab with the given name

clean_tab

Delete all children of a tab created by lv_tabview_add_tab.

create

Create a Tab view object

get_anim_time

Get the animation time of tab view when a new tab is loaded

get_btns_pos

Get position of tab select buttons

get_tab

Get the page (content area) of a tab

get_tab_act

Get the index of the currently active tab

get_tab_count

Get the number of tabs

set_anim_time

Set the animation time of tab view when a new tab is loaded

set_btns_pos

Set the position of tab select buttons

set_tab_act

Set a new tab

set_tab_name

Set the name of a tab.

Type Definitions

_bindgen_ty_46

Position of tabview buttons.

_bindgen_ty_47
lv_align_t
lv_anim_enable_t
lv_bidi_dir_t
lv_coord_t
lv_design_cb_t

The design callback is used to draw the object on the screen. It accepts the object, a mask area, and the mode in which to draw the object.

lv_design_mode_t
lv_design_res_t
lv_drag_dir_t
lv_event_cb_t

@brief Event callback. Events are used to notify the user of some action being taken on the object. For details, see ::lv_event_t.

lv_event_t
lv_ll_node_t

Dummy type to make handling easier

lv_obj_t
lv_obj_user_data_t
lv_res_t
lv_signal_cb_t
lv_signal_t
lv_state_t
lv_tabview_btns_pos_t
lv_tabview_part_t