static void _e_wid_focus_hook(Evas_Object *obj) { E_Widget_Data *wd; if (!(obj) || (!(wd = e_widget_data_get(obj)))) return; if (e_widget_focus_get(obj)) e_entry_focus(wd->o_entry); else e_entry_unfocus(wd->o_entry); }
static void _e_wid_focus_hook(Evas_Object *obj) { E_Widget_Data *wd; wd = e_widget_data_get(obj); if (e_widget_focus_get(obj)) { edje_object_signal_emit(wd->o_check, "e,state,focused", "e"); evas_object_focus_set(wd->o_check, 1); } else { edje_object_signal_emit(wd->o_check, "e,state,unfocused", "e"); evas_object_focus_set(wd->o_check, 0); } }
static void _e_wid_focus_hook(Evas_Object *obj) { E_Widget_Data *wd = NULL; wd = e_widget_data_get(obj); if (e_widget_focus_get(obj)) { edje_object_signal_emit(e_scrollframe_edje_object_get(wd->o_scroll), "e,state,focused", "e"); evas_object_focus_set(wd->o_fm, 1); } else { edje_object_signal_emit(e_scrollframe_edje_object_get(wd->o_scroll), "e,state,unfocused", "e"); evas_object_focus_set(wd->o_fm, 0); } }