Searched refs:tab_btns (Results 1 – 3 of 3) sorted by relevance
/lvgl-3.7.0/examples/widgets/tabview/ |
D | lv_example_tabview_2.c | 12 lv_obj_t * tab_btns = lv_tabview_get_tab_btns(tabview); in lv_example_tabview_2() local 13 lv_obj_set_style_bg_color(tab_btns, lv_palette_darken(LV_PALETTE_GREY, 3), 0); in lv_example_tabview_2() 14 lv_obj_set_style_text_color(tab_btns, lv_palette_lighten(LV_PALETTE_GREY, 5), 0); in lv_example_tabview_2() 15 lv_obj_set_style_border_side(tab_btns, LV_BORDER_SIDE_RIGHT, LV_PART_ITEMS | LV_STATE_CHECKED); in lv_example_tabview_2()
|
D | lv_example_tabview_2.py | 6 tab_btns = tabview.get_tab_btns() variable 7 tab_btns.set_style_bg_color(lv.palette_darken(lv.PALETTE.GREY, 3), 0) 8 tab_btns.set_style_text_color(lv.palette_lighten(lv.PALETTE.GREY, 5), 0) 9 tab_btns.set_style_border_side(lv.BORDER_SIDE.RIGHT, lv.PART.ITEMS | lv.STATE.CHECKED)
|
/lvgl-3.7.0/demos/widgets/ |
D | lv_demo_widgets.c | 173 lv_obj_t * tab_btns = lv_tabview_get_tab_btns(tv); in lv_demo_widgets() local 174 lv_obj_set_style_pad_left(tab_btns, LV_HOR_RES / 2, 0); in lv_demo_widgets() 175 lv_obj_t * logo = lv_img_create(tab_btns); in lv_demo_widgets() 180 lv_obj_t * label = lv_label_create(tab_btns); in lv_demo_widgets() 185 label = lv_label_create(tab_btns); in lv_demo_widgets()
|