if (!ELM_WIDGET_CLASS(_elm_multibuttonentry_parent_sc)->on_focus(obj))
return EINA_FALSE;
+ Eina_List *l;
+ Elm_Multibuttonentry_Item *it;
+
if (elm_object_focus_get(obj))
{
// ACCESS
elm_object_focus_set(sd->entry, EINA_TRUE);
}
+ EINA_LIST_FOREACH(sd->items, l, it)
+ {
+ elm_layout_signal_emit(VIEW(it), "default", "");
+ edje_object_message_signal_process(elm_layout_edje_get(VIEW(it)));
+ }
+
evas_object_smart_callback_call(obj, SIG_FOCUSED, NULL);
}
else
evas_object_focus_set
(elm_layout_edje_get(VIEW(sd->selected_item)), EINA_FALSE);
+ EINA_LIST_FOREACH(sd->items, l, it)
+ {
+ elm_layout_signal_emit(VIEW(it), "lose_focus", "");
+ edje_object_message_signal_process(elm_layout_edje_get(VIEW(it)));
+ }
+
evas_object_smart_callback_call(obj, SIG_UNFOCUSED, NULL);
}
const void *data)
{
Elm_Multibuttonentry_Item *it;
+ Eina_List *l;
ELM_MULTIBUTTONENTRY_CHECK(obj) NULL;
ELM_MULTIBUTTONENTRY_DATA_GET(obj, sd);
#endif
}
+ if (!elm_object_focus_get(obj))
+ {
+ EINA_LIST_FOREACH(sd->items, l, it)
+ {
+ elm_layout_signal_emit(VIEW(it), "lose_focus", "");
+ edje_object_message_signal_process(elm_layout_edje_get(VIEW(it)));
+ }
+ }
+
#ifdef _VI_EFFECT
if (!sd->boxh || !sd->boxw)
evas_object_smart_callback_call(obj, SIG_ITEM_ADDED, it);
const void *data)
{
Elm_Multibuttonentry_Item *it;
+ Eina_List *l;
ELM_MULTIBUTTONENTRY_CHECK(obj) NULL;
ELM_MULTIBUTTONENTRY_DATA_GET(obj, sd);
#endif
}
+ if (!elm_object_focus_get(obj))
+ {
+ EINA_LIST_FOREACH(sd->items, l, it)
+ {
+ elm_layout_signal_emit(VIEW(it), "lose_focus", "");
+ edje_object_message_signal_process(elm_layout_edje_get(VIEW(it)));
+ }
+ }
+
#ifdef _VI_EFFECT
if (!sd->boxh || !sd->boxw)
evas_object_smart_callback_call(obj, SIG_ITEM_ADDED, it);
const void *data)
{
Elm_Multibuttonentry_Item *it;
+ Eina_List *l;
ELM_MULTIBUTTONENTRY_CHECK(obj) NULL;
ELM_MULTIBUTTONENTRY_DATA_GET(obj, sd);
#endif
}
+ if (!elm_object_focus_get(obj))
+ {
+ EINA_LIST_FOREACH(sd->items, l, it)
+ {
+ elm_layout_signal_emit(VIEW(it), "lose_focus", "");
+ edje_object_message_signal_process(elm_layout_edje_get(VIEW(it)));
+ }
+ }
+
#ifdef _VI_EFFECT
if (!sd->boxh || !sd->boxw)
evas_object_smart_callback_call(obj, SIG_ITEM_ADDED, it);
const void *data)
{
Elm_Multibuttonentry_Item *it;
+ Eina_List *l;
ELM_MULTIBUTTONENTRY_CHECK(obj) NULL;
ELM_MULTIBUTTONENTRY_DATA_GET(obj, sd);
#endif
}
+ if (!elm_object_focus_get(obj))
+ {
+ EINA_LIST_FOREACH(sd->items, l, it)
+ {
+ elm_layout_signal_emit(VIEW(it), "lose_focus", "");
+ edje_object_message_signal_process(elm_layout_edje_get(VIEW(it)));
+ }
+ }
+
#ifdef _VI_EFFECT
if (!sd->boxh || !sd->boxw)
evas_object_smart_callback_call(obj, SIG_ITEM_ADDED, it);