Eina_List *elist;
Elm_Ctxpopup_Item *item;
int idx = 0;
- Evas_Object *ao;
ELM_CTXPOPUP_DATA_GET(obj, sd);
ELM_WIDGET_DATA_GET(obj, wsd);
elm_layout_sizing_eval(obj);
elm_object_focus_set(obj, EINA_TRUE);
-
- if (_elm_config->access_mode)
- {
- ao = _access_object_get(obj, ACCESS_OUTLINE_PART);
- _elm_access_highlight_set(ao);
- }
}
static void
newest = elm_widget_newest_focus_order_get(VIEW(it), &order, EINA_TRUE);
if (newest)
- {
elm_object_focus_set(newest, EINA_TRUE);
- _elm_access_highlight_set(newest);
- }
else
{
if (_elm_config->access_mode)
return ao;
}
-static void
-_access_highlight_set(const Evas_Object *obj)
-{
- Evas_Object *ao;
-
- ao = _access_object_get(obj, ACCESS_BASE_PART);
- if (!ao) ao = _access_object_get(obj, ACCESS_TITLE_PART);
- if (!ao) ao = _access_object_get(obj, ACCESS_BODY_PART);
- if (!ao) ao = elm_widget_focused_object_get(obj);
- if (ao) _elm_access_highlight_set(ao);
-}
static void
_on_show(void *data __UNUSED__,
elm_object_content_set(sd->notify, obj);
elm_object_focus_set(obj, EINA_TRUE);
- if (_elm_config->access_mode) _access_highlight_set(obj);
}
static void
ao = _access_object_get(obj, ACCESS_BASE_PART);
if (ao && sd->button_count)
- {
- _elm_access_edje_object_part_object_unregister
- (obj, ELM_WIDGET_DATA(sd)->resize_obj, ACCESS_BASE_PART);
-
- /* there is a case to set button, after evas_object_show(popup); */
- if (evas_object_visible_get(obj)) _access_highlight_set(obj);
- }
+ _elm_access_edje_object_part_object_unregister
+ (obj, ELM_WIDGET_DATA(sd)->resize_obj, ACCESS_BASE_PART);
}
snprintf(buf, sizeof(buf), "buttons%u", sd->button_count);