Home
last modified time | relevance | path

Searched refs:list2 (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.7.0/examples/others/gridnav/
Dlv_example_gridnav_2.c28 lv_obj_t * list2 = lv_list_create(lv_scr_act()); in lv_example_gridnav_2() local
29 lv_gridnav_add(list2, LV_GRIDNAV_CTRL_ROLLOVER); in lv_example_gridnav_2()
30 lv_obj_set_size(list2, lv_pct(45), lv_pct(80)); in lv_example_gridnav_2()
31 lv_obj_align(list2, LV_ALIGN_RIGHT_MID, -5, 0); in lv_example_gridnav_2()
32 lv_obj_set_style_bg_color(list2, lv_palette_lighten(LV_PALETTE_BLUE, 5), LV_STATE_FOCUSED); in lv_example_gridnav_2()
33 lv_group_add_obj(lv_group_get_default(), list2); in lv_example_gridnav_2()
37 lv_obj_t * item = lv_list_add_btn(list2, LV_SYMBOL_DIRECTORY, buf); in lv_example_gridnav_2()
/lvgl-3.7.0/examples/widgets/list/
Dlv_example_list_2.c7 static lv_obj_t * list2; variable
138 list2 = lv_list_create(lv_scr_act()); in lv_example_list_2()
139 lv_obj_set_size(list2, lv_pct(40), lv_pct(100)); in lv_example_list_2()
140 lv_obj_align(list2, LV_ALIGN_TOP_RIGHT, 0, 0); in lv_example_list_2()
141 lv_obj_set_flex_flow(list2, LV_FLEX_FLOW_COLUMN); in lv_example_list_2()
143 btn = lv_list_add_btn(list2, NULL, "Top"); in lv_example_list_2()
147 btn = lv_list_add_btn(list2, LV_SYMBOL_UP, "Up"); in lv_example_list_2()
151 btn = lv_list_add_btn(list2, LV_SYMBOL_LEFT, "Center"); in lv_example_list_2()
155 btn = lv_list_add_btn(list2, LV_SYMBOL_DOWN, "Down"); in lv_example_list_2()
159 btn = lv_list_add_btn(list2, NULL, "Bottom"); in lv_example_list_2()
[all …]
Dlv_example_list_2.py110 list2 = lv.list(lv.scr_act()) variable
111 list2.set_size(lv.pct(40), lv.pct(100))
112 list2.align(lv.ALIGN.TOP_RIGHT, 0, 0)
113 list2.set_flex_flow(lv.FLEX_FLOW.COLUMN)
115 btn = list2.add_btn(None, "Top")
119 btn = list2.add_btn(lv.SYMBOL.UP, "Up")
123 btn = list2.add_btn(lv.SYMBOL.LEFT, "Center")
127 btn = list2.add_btn(lv.SYMBOL.DOWN, "Down")
131 btn = list2.add_btn(None, "Bottom")
135 btn = list2.add_btn(lv.SYMBOL.SHUFFLE, "Shuffle")