elm_widget_focus_tree_unfocusable_handle(obj);
}
+EAPI unsigned int
+elm_widget_focus_order_get(const Evas_Object *obj)
+{
+ API_ENTRY return 0;
+ if (sd->focus_order) return sd->focus_order;
+}
+
/**
* @internal
*
else item->access_info = eina_stringshare_add(txt);
}
-
static void
_smart_add(Evas_Object *obj)
{
EAPI void elm_widget_focus_mouse_up_handle(Evas_Object *obj);
EAPI void elm_widget_focus_tree_unfocusable_handle(Evas_Object *obj);
EAPI void elm_widget_focus_disabled_handle(Evas_Object *obj);
+EAPI unsigned int elm_widget_focus_order_get(const Evas_Object *obj);
EAPI void elm_widget_text_part_set(Evas_Object *obj, const char *part, const char *label);
EAPI const char *elm_widget_text_part_get(const Evas_Object *obj, const char *part);
EAPI void elm_widget_domain_translatable_text_part_set(Evas_Object *obj, const char *part, const char *domain, const char *text);
win = elm_widget_data_get(obj);
if (!win) return;
_elm_widget_top_win_focused_set(win->win_obj, EINA_TRUE);
- if (win->show_count == 1)
+ if (!elm_widget_focus_order_get(obj))
{
elm_widget_focus_steal(win->win_obj);
win->show_count++;