eina_list_free(can_focus_list);
return EINA_TRUE;
}
+ else if (!r)
+ {
+ if (!strcmp(dir, "left"))
+ new_focus = elm_object_focus_next_object_get(current_focus, ELM_FOCUS_LEFT);
+ else if (!strcmp(dir, "right"))
+ new_focus = elm_object_focus_next_object_get(current_focus, ELM_FOCUS_RIGHT);
+ else if (!strcmp(dir, "up"))
+ new_focus = elm_object_focus_next_object_get(current_focus, ELM_FOCUS_UP);
+ else if (!strcmp(dir, "down"))
+ new_focus = elm_object_focus_next_object_get(current_focus, ELM_FOCUS_DOWN);
+
+ if (new_focus)
+ {
+ elm_widget_focus_steal(new_focus, NULL);
+ eina_list_free(can_focus_list);
+ return EINA_TRUE;
+ }
+ }
}
eina_list_free(can_focus_list);