Searched refs:mbox (Results 1 – 7 of 7) sorted by relevance
/lvgl-3.7.0/src/extra/widgets/msgbox/ |
D | lv_msgbox.c | 79 lv_msgbox_t * mbox = (lv_msgbox_t *)obj; in lv_msgbox_create() local 89 mbox->title = lv_label_create(obj); in lv_msgbox_create() 90 lv_label_set_text(mbox->title, has_title ? title : ""); in lv_msgbox_create() 91 lv_label_set_long_mode(mbox->title, LV_LABEL_LONG_SCROLL_CIRCULAR); in lv_msgbox_create() 92 if(add_close_btn) lv_obj_set_flex_grow(mbox->title, 1); in lv_msgbox_create() 93 else lv_obj_set_width(mbox->title, LV_PCT(100)); in lv_msgbox_create() 97 mbox->close_btn = lv_btn_create(obj); in lv_msgbox_create() 98 lv_obj_set_ext_click_area(mbox->close_btn, LV_DPX(10)); in lv_msgbox_create() 99 lv_obj_add_event_cb(mbox->close_btn, msgbox_close_click_event_cb, LV_EVENT_CLICKED, NULL); in lv_msgbox_create() 100 lv_obj_t * label = lv_label_create(mbox->close_btn); in lv_msgbox_create() [all …]
|
D | lv_msgbox.h | 81 uint16_t lv_msgbox_get_active_btn(lv_obj_t * mbox); 83 const char * lv_msgbox_get_active_btn_text(lv_obj_t * mbox); 85 void lv_msgbox_close(lv_obj_t * mbox); 87 void lv_msgbox_close_async(lv_obj_t * mbox);
|
/lvgl-3.7.0/examples/widgets/msgbox/ |
D | lv_example_msgbox_1.py | 2 mbox = e.get_current_target() 3 print("Button %s clicked" % mbox.get_active_btn_text())
|
/lvgl-3.7.0/demos/keypad_encoder/ |
D | lv_demo_keypad_encoder.c | 174 …lv_obj_t * mbox = lv_msgbox_create(NULL, "Hi", "Welcome to the keyboard and encoder demo", btns, f… in msgbox_create() local 175 lv_obj_add_event_cb(mbox, msgbox_event_cb, LV_EVENT_ALL, NULL); in msgbox_create() 176 lv_group_focus_obj(lv_msgbox_get_btns(mbox)); in msgbox_create() 177 lv_obj_add_state(lv_msgbox_get_btns(mbox), LV_STATE_FOCUS_KEY); in msgbox_create() 180 lv_obj_align(mbox, LV_ALIGN_CENTER, 0, 0); in msgbox_create() 182 lv_obj_t * bg = lv_obj_get_parent(mbox); in msgbox_create()
|
/lvgl-3.7.0/docs/widgets/extra/ |
D | msgbox.md | 31 lv_obj_t * lv_msgbox_get_title(lv_obj_t * mbox); 32 lv_obj_t * lv_msgbox_get_close_btn(lv_obj_t * mbox); 33 lv_obj_t * lv_msgbox_get_text(lv_obj_t * mbox); 34 lv_obj_t * lv_msgbox_get_btns(lv_obj_t * mbox);
|
/lvgl-3.7.0/docs/overview/ |
D | event.md | 138 lv_event_send(mbox, LV_EVENT_VALUE_CHANGED, &btn_id);
|
/lvgl-3.7.0/docs/ |
D | CHANGELOG.md | 2061 - mbox -> msgbox
|