Searched refs:float_btn (Results 1 – 5 of 5) sorted by relevance
/lvgl-3.7.0/examples/scroll/ |
D | lv_example_scroll_3.c | 9 lv_obj_t * float_btn = lv_event_get_target(e); in float_btn_event_cb() local 18 lv_obj_move_foreground(float_btn); in float_btn_event_cb() 39 lv_obj_t * float_btn = lv_btn_create(list); in lv_example_scroll_3() local 40 lv_obj_set_size(float_btn, 50, 50); in lv_example_scroll_3() 41 lv_obj_add_flag(float_btn, LV_OBJ_FLAG_FLOATING); in lv_example_scroll_3() 42 …lv_obj_align(float_btn, LV_ALIGN_BOTTOM_RIGHT, 0, -lv_obj_get_style_pad_right(list, LV_PART_MAIN)); in lv_example_scroll_3() 43 lv_obj_add_event_cb(float_btn, float_btn_event_cb, LV_EVENT_ALL, list); in lv_example_scroll_3() 44 lv_obj_set_style_radius(float_btn, LV_RADIUS_CIRCLE, 0); in lv_example_scroll_3() 45 lv_obj_set_style_bg_img_src(float_btn, LV_SYMBOL_PLUS, 0); in lv_example_scroll_3() 46 lv_obj_set_style_text_font(float_btn, lv_theme_get_font_large(float_btn), 0); in lv_example_scroll_3()
|
D | lv_example_scroll_3.py | 15 float_btn = lv.btn(list) 16 float_btn.set_size(50, 50) 17 float_btn.add_flag(lv.obj.FLAG.FLOATING) 18 float_btn.align(lv.ALIGN.BOTTOM_RIGHT, 0, -list.get_style_pad_right(lv.PART.MAIN)) 19 float_btn.add_event_cb(lambda evt: self.float_btn_event_cb(evt,list), lv.EVENT.ALL, None) 20 float_btn.set_style_radius(lv.RADIUS.CIRCLE, 0) 21 float_btn.set_style_bg_img_src(lv.SYMBOL.PLUS, 0) 22 float_btn.set_style_text_font(lv.theme_get_font_large(float_btn), 0) 26 float_btn = e.get_target() 32 float_btn.move_foreground()
|
/lvgl-3.7.0/examples/widgets/menu/ |
D | lv_example_menu_4.c | 59 lv_obj_t * float_btn = lv_btn_create(lv_scr_act()); in lv_example_menu_4() local 60 lv_obj_set_size(float_btn, 50, 50); in lv_example_menu_4() 61 lv_obj_add_flag(float_btn, LV_OBJ_FLAG_FLOATING); in lv_example_menu_4() 62 lv_obj_align(float_btn, LV_ALIGN_BOTTOM_RIGHT, -10, -10); in lv_example_menu_4() 63 lv_obj_add_event_cb(float_btn, float_btn_event_cb, LV_EVENT_CLICKED, menu); in lv_example_menu_4() 64 lv_obj_set_style_radius(float_btn, LV_RADIUS_CIRCLE, 0); in lv_example_menu_4() 65 lv_obj_set_style_bg_img_src(float_btn, LV_SYMBOL_PLUS, 0); in lv_example_menu_4() 66 lv_obj_set_style_text_font(float_btn, lv_theme_get_font_large(float_btn), 0); in lv_example_menu_4()
|
D | lv_example_menu_4.py | 40 float_btn = lv.btn(lv.scr_act()) variable 41 float_btn.set_size(50, 50) 42 float_btn.add_flag(lv.obj.FLAG.FLOATING) 43 float_btn.align(lv.ALIGN.BOTTOM_RIGHT, -10, -10) 44 float_btn.add_event_cb(float_btn_event_cb, lv.EVENT.CLICKED, None) 45 float_btn.set_style_radius(lv.RADIUS.CIRCLE, 0) 46 float_btn.set_style_bg_img_src(lv.SYMBOL.PLUS, 0) 47 float_btn.set_style_text_font(lv.theme_get_font_large(float_btn), 0)
|
/lvgl-3.7.0/docs/ |
D | CHANGELOG.md | 1058 - fix( example) in lv_example_scroll_3.py float_btn should only be created once [`2602`](https://gi…
|