Home
last modified time | relevance | path

Searched refs:tabview (Results 1 – 13 of 13) sorted by relevance

/lvgl-3.7.0/src/extra/widgets/tabview/
Dlv_tabview.c70 lv_tabview_t * tabview = (lv_tabview_t *)obj; in lv_tabview_add_tab() local
80 const char ** old_map = (const char **)tabview->map; in lv_tabview_add_tab()
84 if(tabview->tab_pos & LV_DIR_VER) { in lv_tabview_add_tab()
95 if(tabview->tab_cnt == 0) { in lv_tabview_add_tab()
107 tabview->map = new_map; in lv_tabview_add_tab()
114 tabview->tab_cnt++; in lv_tabview_add_tab()
115 if(tabview->tab_cnt == 1) { in lv_tabview_add_tab()
119 lv_btnmatrix_set_btn_ctrl(btns, tabview->tab_cur, LV_BTNMATRIX_CTRL_CHECKED); in lv_tabview_add_tab()
127 lv_tabview_t * tabview = (lv_tabview_t *)obj; in lv_tabview_rename_tab() local
129 if(id >= tabview->tab_cnt) return; in lv_tabview_rename_tab()
[all …]
/lvgl-3.7.0/examples/widgets/tabview/
Dlv_example_tabview_2.c7 lv_obj_t * tabview; in lv_example_tabview_2() local
8 tabview = lv_tabview_create(lv_scr_act(), LV_DIR_LEFT, 80); in lv_example_tabview_2()
10 lv_obj_set_style_bg_color(tabview, lv_palette_lighten(LV_PALETTE_RED, 2), 0); in lv_example_tabview_2()
12 lv_obj_t * tab_btns = lv_tabview_get_tab_btns(tabview); in lv_example_tabview_2()
18 lv_obj_t * tab1 = lv_tabview_add_tab(tabview, "Tab 1"); in lv_example_tabview_2()
19 lv_obj_t * tab2 = lv_tabview_add_tab(tabview, "Tab 2"); in lv_example_tabview_2()
20 lv_obj_t * tab3 = lv_tabview_add_tab(tabview, "Tab 3"); in lv_example_tabview_2()
21 lv_obj_t * tab4 = lv_tabview_add_tab(tabview, "Tab 4"); in lv_example_tabview_2()
22 lv_obj_t * tab5 = lv_tabview_add_tab(tabview, "Tab 5"); in lv_example_tabview_2()
43 lv_obj_clear_flag(lv_tabview_get_content(tabview), LV_OBJ_FLAG_SCROLLABLE); in lv_example_tabview_2()
Dlv_example_tabview_2.py3 tabview = lv.tabview(lv.scr_act(), lv.DIR.LEFT, 80) variable
4 tabview.set_style_bg_color(lv.palette_lighten(lv.PALETTE.RED, 2), 0)
6 tab_btns = tabview.get_tab_btns()
13 tab1 = tabview.add_tab("Tab 1")
14 tab2 = tabview.add_tab("Tab 2")
15 tab3 = tabview.add_tab("Tab 3")
16 tab4 = tabview.add_tab("Tab 4")
17 tab5 = tabview.add_tab("Tab 5")
38 tabview.get_content().clear_flag(lv.obj.FLAG.SCROLLABLE)
Dlv_example_tabview_1.c7 lv_obj_t * tabview; in lv_example_tabview_1() local
8 tabview = lv_tabview_create(lv_scr_act(), LV_DIR_TOP, 50); in lv_example_tabview_1()
11 lv_obj_t * tab1 = lv_tabview_add_tab(tabview, "Tab 1"); in lv_example_tabview_1()
12 lv_obj_t * tab2 = lv_tabview_add_tab(tabview, "Tab 2"); in lv_example_tabview_1()
13 lv_obj_t * tab3 = lv_tabview_add_tab(tabview, "Tab 3"); in lv_example_tabview_1()
Dlv_example_tabview_1.py2 tabview = lv.tabview(lv.scr_act(), lv.DIR.TOP, 50) variable
5 tab1 = tabview.add_tab("Tab 1")
6 tab2 = tabview.add_tab("Tab 2")
7 tab3 = tabview.add_tab("Tab 3")
Dindex.rst5 .. lv_example:: widgets/tabview/lv_example_tabview_1
11 .. lv_example:: widgets/tabview/lv_example_tabview_2
/lvgl-3.7.0/docs/widgets/extra/
Dtabview.md29 New tabs can be added with `lv_tabview_add_tab(tabview, "Tab name")`. This will return a pointer to…
33 A tab can be renamed with `lv_tabview_rename_tab(tabview, tab_id, "New Name")`.
40 - Use `lv_tabview_set_act(tabview, id, LV_ANIM_ON/OFF)` function
44 `lv_tabview_get_content(tabview)` returns the container for the tabs, `lv_tabview_get_tab_btns(tabv…
47 … selected by sliding or clicking the tab button. `lv_tabview_get_tab_act(tabview)` returns the zer…
61 .. include:: ../../../examples/widgets/tabview/index.rst
Dindex.md22 tabview
Dtileview.md30 …GED` Sent when a new tile loaded by scrolling. `lv_tileview_get_tile_act(tabview)` can be used to …
/lvgl-3.7.0/
Dcomponent.mk29 src/extra/widgets/tabview \
/lvgl-3.7.0/demos/widgets/
Dlv_demo_widgets.py544 tv = lv.tabview(lv.scr_act(), None)
547 tv.set_style_local_pad_left(lv.tabview.PART.TAB_BG, lv.STATE.DEFAULT, disp_drv.hor_res // 2)
/lvgl-3.7.0/docs/overview/
Dscroll.md131 The object will be scrolled into view even if it's on a different page of a tabview.
/lvgl-3.7.0/docs/
DCHANGELOG.md97 - fix(tabview): fix warning [`223dc1c`](https://github.com/lvgl/lvgl/commit/223dc1cf9d1cad0f40caf24…
137 - fix(tabview): remove the animation if the tab is selected by clicking the button on the header [`…
148 - example(tabview): fix tabview disable scrollig example [`9491c3f`](https://github.com/lvgl/lvgl/c…
392 - feat(tabview): support vertical scrolling [`3184`](https://github.com/lvgl/lvgl/pull/3184)
414 - feat(tabview) add API to rename tab. [`2c9695a`](https://github.com/lvgl/lvgl/commit/2c9695afb4ed…
541 - fix(tabview, tileview): fix scrolling [`22854ff`](https://github.com/lvgl/lvgl/commit/22854ff3fba…
1209 - fix(tabview) fix with left and right tabs [`17c5744`](https://github.com/lvgl/lvgl/commit/17c5744…
1270 - fix(tabview) send LV_EVENT_VALUE_CHANGED only once [`933d282`](https://github.com/lvgl/lvgl/commi…
1293 - feat(examples) added MP version of second tabview example [`2347`](https://github.com/lvgl/lvgl/p…
1517 - fix(tabview) send LV_EVENT_VALUE_CHANGED only once
[all …]