Searched refs:roller1 (Results 1 – 4 of 4) sorted by relevance
/lvgl-3.7.0/examples/widgets/roller/ |
D | lv_example_roller_3.py | 20 roller1 = lv.roller(lv.scr_act()) 21 roller1.add_style(style, 0) 22 roller1.set_style_border_width(0, 0) 23 roller1.set_style_pad_all(0, 0) 24 roller1.set_style_bg_opa(lv.OPA.TRANSP, lv.PART.SELECTED) 30 roller1.set_style_text_font(lv.font_montserrat_22,lv.PART.SELECTED) 36 roller1.set_style_text_font(font_montserrat_22,lv.PART.SELECTED) 38 roller1.set_options("\n".join([ 52 roller1.center() 53 roller1.set_visible_row_count(3) [all …]
|
D | lv_example_roller_1.c | 20 lv_obj_t * roller1 = lv_roller_create(lv_scr_act()); in lv_example_roller_1() local 21 lv_roller_set_options(roller1, in lv_example_roller_1() 36 lv_roller_set_visible_row_count(roller1, 4); in lv_example_roller_1() 37 lv_obj_center(roller1); in lv_example_roller_1() 38 lv_obj_add_event_cb(roller1, event_handler, LV_EVENT_ALL, NULL); in lv_example_roller_1()
|
D | lv_example_roller_1.py | 13 roller1 = lv.roller(lv.scr_act()) variable 14 roller1.set_options("\n".join([ 28 roller1.set_visible_row_count(4) 29 roller1.center() 30 roller1.add_event_cb(event_handler, lv.EVENT.ALL, None)
|
D | lv_example_roller_3.c | 68 lv_obj_t * roller1 = lv_roller_create(lv_scr_act()); in lv_example_roller_3() local 69 lv_obj_add_style(roller1, &style, 0); in lv_example_roller_3() 70 lv_obj_set_style_bg_opa(roller1, LV_OPA_TRANSP, LV_PART_SELECTED); in lv_example_roller_3() 73 lv_obj_set_style_text_font(roller1, &lv_font_montserrat_22, LV_PART_SELECTED); in lv_example_roller_3() 76 lv_roller_set_options(roller1, in lv_example_roller_3() 91 lv_obj_center(roller1); in lv_example_roller_3() 92 lv_roller_set_visible_row_count(roller1, 3); in lv_example_roller_3() 93 lv_obj_add_event_cb(roller1, mask_event_cb, LV_EVENT_ALL, NULL); in lv_example_roller_3()
|