Lines Matching refs:ta
6 lv_obj_t * ta = lv_event_get_target(e); in textarea_event_handler() local
7 LV_LOG_USER("Enter was pressed. The current text is: %s", lv_textarea_get_text(ta)); in textarea_event_handler()
13 lv_obj_t * ta = lv_event_get_user_data(e); in btnm_event_handler() local
16 if(strcmp(txt, LV_SYMBOL_BACKSPACE) == 0) lv_textarea_del_char(ta); in btnm_event_handler()
17 else if(strcmp(txt, LV_SYMBOL_NEW_LINE) == 0) lv_event_send(ta, LV_EVENT_READY, NULL); in btnm_event_handler()
18 else lv_textarea_add_text(ta, txt); in btnm_event_handler()
24 lv_obj_t * ta = lv_textarea_create(lv_scr_act()); in lv_example_textarea_1() local
25 lv_textarea_set_one_line(ta, true); in lv_example_textarea_1()
26 lv_obj_align(ta, LV_ALIGN_TOP_MID, 0, 10); in lv_example_textarea_1()
27 lv_obj_add_event_cb(ta, textarea_event_handler, LV_EVENT_READY, ta); in lv_example_textarea_1()
28 lv_obj_add_state(ta, LV_STATE_FOCUSED); /*To be sure the cursor is visible*/ in lv_example_textarea_1()
39 lv_obj_add_event_cb(btnm, btnm_event_handler, LV_EVENT_VALUE_CHANGED, ta); in lv_example_textarea_1()