Home
last modified time | relevance | path

Searched refs:main_page (Results 1 – 11 of 11) sorted by relevance

/lvgl-3.7.0/demos/stress/
Dlv_demo_stress.c33 static lv_obj_t * main_page; variable
97 main_page = lv_obj_create(lv_scr_act()); in obj_test_timer_cb()
98 lv_obj_set_size(main_page, LV_HOR_RES / 2, LV_VER_RES); in obj_test_timer_cb()
99 lv_obj_set_flex_flow(main_page, LV_FLEX_FLOW_COLUMN); in obj_test_timer_cb()
101 obj = lv_btn_create(main_page); in obj_test_timer_cb()
127 obj = lv_btn_create(main_page); in obj_test_timer_cb()
152 lv_obj_align_to(ta, main_page, LV_ALIGN_OUT_RIGHT_TOP, 10, 10); in obj_test_timer_cb()
158 obj = lv_btn_create(main_page); in obj_test_timer_cb()
175 lv_obj_set_flex_flow(main_page, LV_FLEX_FLOW_COLUMN_WRAP); in obj_test_timer_cb()
179 obj = lv_bar_create(main_page); in obj_test_timer_cb()
[all …]
/lvgl-3.7.0/examples/widgets/menu/
Dlv_example_menu_1.py13 main_page = lv.menu_page(menu, None) variable
15 cont = lv.menu_cont(main_page)
19 cont = lv.menu_cont(main_page)
23 cont = lv.menu_cont(main_page)
28 menu.set_page(main_page)
Dlv_example_menu_1.c22 lv_obj_t * main_page = lv_menu_page_create(menu, NULL); in lv_example_menu_1() local
24 cont = lv_menu_cont_create(main_page); in lv_example_menu_1()
28 cont = lv_menu_cont_create(main_page); in lv_example_menu_1()
32 cont = lv_menu_cont_create(main_page); in lv_example_menu_1()
37 lv_menu_set_page(menu, main_page); in lv_example_menu_1()
Dlv_example_menu_2.py21 main_page = lv.menu_page(menu, None) variable
23 cont = lv.menu_cont(main_page)
27 cont = lv.menu_cont(main_page)
31 cont = lv.menu_cont(main_page)
36 menu.set_page(main_page)
Dlv_example_menu_2.c34 lv_obj_t * main_page = lv_menu_page_create(menu, NULL); in lv_example_menu_2() local
36 cont = lv_menu_cont_create(main_page); in lv_example_menu_2()
40 cont = lv_menu_cont_create(main_page); in lv_example_menu_2()
44 cont = lv_menu_cont_create(main_page); in lv_example_menu_2()
49 lv_menu_set_page(menu, main_page); in lv_example_menu_2()
Dlv_example_menu_3.py26 main_page = lv.menu_page(menu, None) variable
28 cont = lv.menu_cont(main_page)
33 cont = lv.menu_cont(main_page)
38 cont = lv.menu_cont(main_page)
43 menu.set_page(main_page)
Dlv_example_menu_3.c39 lv_obj_t * main_page = lv_menu_page_create(menu, NULL); in lv_example_menu_3() local
41 cont = lv_menu_cont_create(main_page); in lv_example_menu_3()
46 cont = lv_menu_cont_create(main_page); in lv_example_menu_3()
51 cont = lv_menu_cont_create(main_page); in lv_example_menu_3()
56 lv_menu_set_page(menu, main_page); in lv_example_menu_3()
Dlv_example_menu_4.c5 static lv_obj_t * main_page; variable
23 cont = lv_menu_cont_create(main_page); in float_btn_event_cb()
49 main_page = lv_menu_page_create(menu, NULL); in lv_example_menu_4()
51 cont = lv_menu_cont_create(main_page); in lv_example_menu_4()
56 lv_menu_set_page(menu, main_page); in lv_example_menu_4()
Dlv_example_menu_4.py13 cont = lv.menu_cont(main_page)
31 main_page = lv.menu_page(menu, None) variable
33 cont = lv.menu_cont(main_page)
38 menu.set_page(main_page)
/lvgl-3.7.0/src/extra/widgets/menu/
Dlv_menu.c199 if(menu->main_page == page) { in lv_menu_set_page()
204 if(menu->main_page != NULL) { in lv_menu_set_page()
205 lv_obj_set_parent(menu->main_page, menu->storage); in lv_menu_set_page()
224 menu->main_page = page; in lv_menu_set_page()
395 return menu->main_page; in lv_menu_get_cur_main_page()
528 menu->main_page = NULL; in lv_menu_constructor()
629 if(menu->main_header == NULL || menu->main_page == NULL) return; in lv_menu_refr_main_header_mode()
635 lv_obj_set_flex_grow(menu->main_page, 1); in lv_menu_refr_main_header_mode()
639 lv_obj_set_flex_grow(menu->main_page, 0); in lv_menu_refr_main_header_mode()
643 lv_obj_set_flex_grow(menu->main_page, 1); in lv_menu_refr_main_header_mode()
[all …]
Dlv_menu.h54 lv_obj_t * main_page; member