}
EOLIAN const char *
-_efl_access_name_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd)
+_efl_access_i18n_name_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd)
{
//TIZEN_ONLY(20190922): add name callback, description callback.
char *ret = NULL;
}
EOLIAN static void
-_efl_access_name_set(Eo *obj EINA_UNUSED, Efl_Access_Data *pd, const char *val)
+_efl_access_i18n_name_set(Eo *obj EINA_UNUSED, Efl_Access_Data *pd, const char *val)
{
eina_stringshare_replace(&pd->name, val);
}
EAPI void elm_atspi_accessible_name_set(Elm_Interface_Atspi_Accessible *obj, const char *name)
{
- efl_access_name_set(obj, name);
+ efl_access_i18n_name_set(obj, name);
}
EAPI const char *
elm_atspi_accessible_name_get(const Elm_Interface_Atspi_Accessible *obj)
{
- return efl_access_name_get(obj);
+ return efl_access_i18n_name_get(obj);
}
EAPI void
localized_name: string; [[Localized accessible object role name]]
}
}
- @property name @beta {
+ @property i18n_name @beta {
[[Accessible name of the object.]]
get {
}
set {
}
values {
- name: string; [[Accessible name]]
+ i18n_name: string; [[Accessible name]]
}
}
//TIZEN_ONLY(20190922): add name callback, description callback.
/**
* Emits Accessible 'PropertyChanged' signal for 'Name' property.
*/
-#define efl_access_name_changed_signal_emit(obj) \
- efl_access_event_emit(EFL_ACCESS_MIXIN, obj, EFL_ACCESS_EVENT_PROPERTY_CHANGED, "name");
+#define efl_access_i18n_name_changed_signal_emit(obj) \
+ efl_access_event_emit(EFL_ACCESS_MIXIN, obj, EFL_ACCESS_EVENT_PROPERTY_CHANGED, "i18n_name");
/**
* Emits Accessible 'PropertyChanged' signal for 'Description' property.
}
EOLIAN static const char*
-_elm_multibuttonentry_item_efl_access_name_get(Eo *eo_it, Elm_Multibuttonentry_Item_Data *item)
+_elm_multibuttonentry_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Multibuttonentry_Item_Data *item)
{
const char *ret;
- ret = efl_access_name_get(efl_super(eo_it, ELM_MULTIBUTTONENTRY_ITEM_CLASS));
+ ret = efl_access_i18n_name_get(efl_super(eo_it, ELM_MULTIBUTTONENTRY_ITEM_CLASS));
if (ret) return ret;
ret = elm_object_part_text_get(VIEW(item), "elm.btn.text");
}
EOLIAN static const char*
-_efl_ui_spin_button_efl_access_name_get(Eo *obj, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED)
+_efl_ui_spin_button_efl_access_i18n_name_get(Eo *obj, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED)
{
const char *name;
- name = efl_access_name_get(efl_super(obj, EFL_UI_SPIN_BUTTON_CLASS));
+ name = efl_access_i18n_name_get(efl_super(obj, EFL_UI_SPIN_BUTTON_CLASS));
if (name) return name;
const char *ret = elm_layout_text_get(obj, "elm.text");
return ret;
Efl.Ui.Widget.widget_event;
Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Range.range_value { set; }
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.Value.value_and_text { get; set; }
Efl.Access.Value.range { get; }
Efl.Access.Value.increment { get; }
}
EOLIAN static const char*
-_efl_ui_text_efl_access_name_get(Eo *obj, Efl_Ui_Text_Data *pd)
+_efl_ui_text_efl_access_i18n_name_get(Eo *obj, Efl_Ui_Text_Data *pd)
{
const char *name;
- name = efl_access_name_get(efl_super(obj, EFL_UI_TEXT_CLASS));
+ name = efl_access_i18n_name_get(efl_super(obj, EFL_UI_TEXT_CLASS));
if (name && strncmp("", name, 1)) return name;
const char *ret = edje_object_part_text_get(pd->entry_edje, "elm.guide");
return ret;
Elm.Interface_Scrollable.policy { set; }
Elm.Interface_Scrollable.bounce_allow { set; }
Efl.Access.state_set { get; }
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.Text.text { get; }
Efl.Access.Text.string { get; }
Efl.Access.Text.attribute { get; }
eina_hash_free(item->labels);
efl_access_description_set(eo_item, NULL);
- efl_access_name_set(eo_item, NULL);
+ efl_access_i18n_name_set(eo_item, NULL);
efl_access_description_cb_set(eo_item, NULL, NULL);
efl_access_name_cb_set(eo_item, NULL, NULL);
}
efl_access_description_set(obj, NULL);
- efl_access_name_set(obj, NULL);
+ efl_access_i18n_name_set(obj, NULL);
efl_access_description_cb_set(obj, NULL, NULL);
efl_access_name_cb_set(obj, NULL, NULL);
//TIZEN_ONLY(20150717) add widget name setter
EOLIAN void
-_efl_ui_widget_efl_access_name_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data* _pd EINA_UNUSED, const char *name)
+_efl_ui_widget_efl_access_i18n_name_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data* _pd EINA_UNUSED, const char *name)
{
if (_pd->name)
eina_stringshare_del(_pd->name);
//
EOLIAN static const char*
-_efl_ui_widget_efl_access_name_get(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
+_efl_ui_widget_efl_access_i18n_name_get(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
{
const char *ret, *name;
- name = efl_access_name_get(efl_super(obj, EFL_UI_WIDGET_CLASS));
+ name = efl_access_i18n_name_get(efl_super(obj, EFL_UI_WIDGET_CLASS));
+
if (name) return name;
//TIZEN_ONLY(20150717) add widget name setter
//TIZEN_ONLY(20150713) : add atspi name setter to widget_item
EOLIAN void
-_elm_widget_item_efl_access_name_set(Eo *obj EINA_UNUSED, Elm_Widget_Item_Data* _pd EINA_UNUSED, const char *name)
+_elm_widget_item_efl_access_i18n_name_set(Eo *obj EINA_UNUSED, Elm_Widget_Item_Data* _pd EINA_UNUSED, const char *name)
{
if (_pd->name)
eina_stringshare_del(_pd->name);
}
EOLIAN const char*
-_elm_widget_item_efl_access_name_get(Eo *obj EINA_UNUSED, Elm_Widget_Item_Data *_pd EINA_UNUSED)
+_elm_widget_item_efl_access_i18n_name_get(Eo *obj EINA_UNUSED, Elm_Widget_Item_Data *_pd EINA_UNUSED)
{
//TIZEN_ONLY(20190922): add name callback, description callback.
const char *ret = NULL;
- ret = efl_access_name_get(efl_super(obj, ELM_WIDGET_ITEM_CLASS));
+ ret = efl_access_i18n_name_get(efl_super(obj, ELM_WIDGET_ITEM_CLASS));
if (ret) return ret;
//
Efl.Canvas.Group.group_calculate;
Efl.Canvas.Group.group_member_del;
Efl.Canvas.Group.group_member_add;
- Efl.Access.name { set; get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.state_set { get; }
Efl.Access.children { get; }
Efl.Access.parent { get; }
}
EOLIAN static const char*
-_efl_ui_win_efl_access_name_get(Eo *obj, Efl_Ui_Win_Data *sd EINA_UNUSED)
+_efl_ui_win_efl_access_i18n_name_get(Eo *obj, Efl_Ui_Win_Data *sd EINA_UNUSED)
{
const char *ret;
- ret = efl_access_name_get(efl_super(obj, EFL_UI_WIN_CLASS));
+ ret = efl_access_i18n_name_get(efl_super(obj, EFL_UI_WIN_CLASS));
if (ret) return ret;
const char *name = elm_win_title_get(obj);
return _elm_widget_accessible_plain_name_get(obj, name);
Efl.Ui.Widget.focus_manager_create;
Efl.Access.parent { get; }
Efl.Access.state_set { get; }
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.Component.extents { get; }
Efl.Access.Widget.Action.elm_actions { get; }
Efl.Input.State.modifier_enabled { get; }
//TIZEN ONLY(20160918): name interface added
EOLIAN static const char*
-_elm_ctxpopup_efl_access_name_get(Eo *obj, Elm_Ctxpopup_Data *sd EINA_UNUSED)
+_elm_ctxpopup_efl_access_i18n_name_get(Eo *obj, Elm_Ctxpopup_Data *sd EINA_UNUSED)
{
Eina_Strbuf *buf;
const char *accessible_name = NULL;
const char *style = elm_widget_style_get(obj);
- accessible_name = efl_access_name_get(efl_super(obj, ELM_CTXPOPUP_CLASS));
+ accessible_name = efl_access_i18n_name_get(efl_super(obj, ELM_CTXPOPUP_CLASS));
if (accessible_name) return accessible_name;
buf = eina_strbuf_new();
}
EOLIAN static const char*
-_elm_ctxpopup_item_efl_access_name_get(Eo *eo_it EINA_UNUSED, Elm_Ctxpopup_Item_Data *item)
+_elm_ctxpopup_item_efl_access_i18n_name_get(Eo *eo_it EINA_UNUSED, Elm_Ctxpopup_Item_Data *item)
{
const char *ret;
- ret = efl_access_name_get(efl_super(eo_it, ELM_CTXPOPUP_ITEM_CLASS));
+ ret = efl_access_i18n_name_get(efl_super(eo_it, ELM_CTXPOPUP_ITEM_CLASS));
if (ret) return ret;
return _elm_widget_item_accessible_plain_name_get(eo_it, elm_object_item_text_get(item->list_item));
}
if (nit->title_label) strncat(buf, " ", 1);
strncat(buf, nit->subtitle_label, sizeof(buf) - strlen(buf) - 2);
}
- efl_access_name_set(eo_it, buf);
+ efl_access_i18n_name_set(eo_it, buf);
elm_layout_sizing_eval(WIDGET(nit));
}
if (!elm_layout_text_get(btn, NULL))
{
if(_elm_config->atspi_mode)
- efl_access_name_set(btn, N_("Navigate back"));
+ efl_access_i18n_name_set(btn, N_("Navigate back"));
}
//
eo_item = efl_add(ELM_NAVIFRAME_ITEM_CLASS, obj);
efl_access_role_set(eo_item, EFL_ACCESS_ROLE_PAGE_TAB);
- efl_access_name_set(eo_item, (char*)title_label);
+ efl_access_i18n_name_set(eo_item, (char*)title_label);
if (!eo_item)
{
}
//TIZEN ONLY(20161207): add reading text of back button
if(_elm_config->atspi_mode)
- efl_access_name_set(prev_btn, N_("Navigate back"));
+ efl_access_i18n_name_set(prev_btn, N_("Navigate back"));
//
}
//TIZEN_ONLY(20161213) Using VIEW(item) for naviframe, naviframe item accessible information
EOLIAN const char*
-_elm_naviframe_efl_access_name_get(Eo *eo, Elm_Naviframe_Data *pd EINA_UNUSED)
+_elm_naviframe_efl_access_i18n_name_get(Eo *eo, Elm_Naviframe_Data *pd EINA_UNUSED)
{
const char *ret = NULL;
Elm_Object_Item *eo_top_it = NULL;
eo_top_it = elm_naviframe_top_item_get(eo);
if (eo_top_it)
{
- ret = efl_access_name_get(eo_top_it);
+ ret = efl_access_i18n_name_get(eo_top_it);
}
return ret;
}
EOLIAN void
-_elm_naviframe_item_efl_access_name_set(Eo *eo_item EINA_UNUSED, Elm_Naviframe_Item_Data* nit, const char *name)
+_elm_naviframe_item_efl_access_i18n_name_set(Eo *eo_item EINA_UNUSED, Elm_Naviframe_Item_Data* nit, const char *name)
{
- efl_access_name_set(VIEW(nit), name);
+ efl_access_i18n_name_set(VIEW(nit), name);
}
EOLIAN const char*
-_elm_naviframe_item_efl_access_name_get(Eo *eo_item, Elm_Naviframe_Item_Data *nit)
+_elm_naviframe_item_efl_access_i18n_name_get(Eo *eo_item, Elm_Naviframe_Item_Data *nit)
{
const char *ret = NULL;
- ret = efl_access_name_get(efl_super(eo_item, ELM_NAVIFRAME_ITEM_CLASS));
+ ret = efl_access_i18n_name_get(efl_super(eo_item, ELM_NAVIFRAME_ITEM_CLASS));
if (ret) return ret;
- ret = efl_access_name_get(VIEW(nit));
+ ret = efl_access_i18n_name_get(VIEW(nit));
return ret;
}
}
EOLIAN static const char*
-_elm_popup_efl_access_name_get(Eo *obj, Elm_Popup_Data *sd)
+_elm_popup_efl_access_i18n_name_get(Eo *obj, Elm_Popup_Data *sd)
{
const char *name = NULL;
Eina_Strbuf *buf;
- name = efl_access_name_get(efl_super(obj, ELM_POPUP_CLASS));
+ name = efl_access_i18n_name_get(efl_super(obj, ELM_POPUP_CLASS));
if (name) return name;
buf = eina_strbuf_new();
//TIZEN_ONLY(20171122) elm: add name and description to elm_access
EOLIAN static const char*
-_elm_access_efl_access_name_get(Eo *obj, void *pd EINA_UNUSED)
+_elm_access_efl_access_i18n_name_get(Eo *obj, void *pd EINA_UNUSED)
{
char *accessible_name;
- const char *ret = efl_access_name_get(efl_super(obj, MY_CLASS));
+ const char *ret = efl_access_i18n_name_get(efl_super(obj, MY_CLASS));
if (ret) return ret;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL);
Efl.Access.Component.highlight_clear;
//
//TIZEN_ONLY(20171122) elm: add name and description to elm_access
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.description { get; }
//
}
}
EOLIAN static const char*
-_elm_atspi_app_object_efl_access_name_get(Eo *obj EINA_UNUSED, Elm_Atspi_App_Object_Data *_pd EINA_UNUSED)
+_elm_atspi_app_object_efl_access_i18n_name_get(Eo *obj EINA_UNUSED, Elm_Atspi_App_Object_Data *_pd EINA_UNUSED)
{
const char *ret;
ret = elm_app_name_get();
data: Elm_Atspi_App_Object_Data;
implements {
Efl.Object.destructor;
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.description { get; set; }
Efl.Access.role { get; }
Efl.Access.children { get; }
efl_access_attributes_list_free(attrs);
/* name */
- name = efl_access_name_get(obj);
+ name = efl_access_i18n_name_get(obj);
if (!name)
name = "";
eldbus_message_iter_basic_append(iter, 's', name);
break;
}
}
- name = efl_access_name_get(relation_obj);
+ name = efl_access_i18n_name_get(relation_obj);
if (!name)
name = "";
eldbus_message_iter_basic_append(iter, 's', name);
if (!strcmp(property, "Name"))
{
- ret = efl_access_name_get(obj);
+ ret = efl_access_i18n_name_get(obj);
if (!ret)
ret = "";
eldbus_message_iter_basic_append(iter, 's', ret);
/* Marshall name */
const char *name = NULL;
- name = efl_access_name_get(data);
+ name = efl_access_i18n_name_get(data);
if (!name)
name = "";
prop = ATSPI_OBJECT_PROPERTY_PARENT;
atspi_desc = "accessible-parent";
}
- else if (!strcmp(property, "name"))
+ else if (!strcmp(property, "i18n_name"))
{
prop = ATSPI_OBJECT_PROPERTY_NAME;
atspi_desc = "accessible-name";
Efl.Ui.Focus.Object.focus { set; }
Efl.Ui.Focus.Object.focus_geometry { get; }
Efl.Access.state_set { get; }
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.Widget.Action.elm_actions { get; }
// TIZEN_ONLY(20171114): atspi: expose highlight information on atspi
Efl.Access.Component.highlight_grab;
}
EOLIAN static const char*
-_elm_color_item_efl_access_name_get(Eo *eo_it, Elm_Color_Item_Data *it)
+_elm_color_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Color_Item_Data *it)
{
Eina_Strbuf *buf;
const char *color_name = NULL;
const char *name;
char *accessible_name;
- name = efl_access_name_get(efl_super(eo_it, ELM_COLOR_ITEM_CLASS));
+ name = efl_access_i18n_name_get(efl_super(eo_it, ELM_COLOR_ITEM_CLASS));
if (name) return name;
buf = eina_strbuf_new();
Efl.Access.children { get; }
//
//TIZEN ONLY(20160918): name interface added\
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
//
Efl.Part.part;
//TIZEN ONLY(20150708): popup and ctxpopup accessibility highlight impementation
Efl.Ui.Item.prev { get; }
Efl.Ui.Item.next { get; }
Efl.Access.Widget.Action.elm_actions { get; }
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
// TIZEN_ONLY(20170116): merge eo & header files for different profiles
// TIZEN ONLY(20161014) : Accessibility: scroll the content when highlight frame goes out of view port
Efl.Access.Component.highlight_grab;
}
EOLIAN static const char*
-_elm_entry_efl_access_name_get(Eo *obj, Elm_Entry_Data *sd)
+_elm_entry_efl_access_i18n_name_get(Eo *obj, Elm_Entry_Data *sd)
{
const char *name;
- name = efl_access_name_get(efl_super(obj, ELM_ENTRY_CLASS));
+ name = efl_access_i18n_name_get(efl_super(obj, ELM_ENTRY_CLASS));
if (name && strncmp("", name, 1)) return name;
if (sd->password) return NULL;
eina_list_append(sd->anchor_atspi_rects, rect);
ao = elm_access_object_register(rect, obj);
- efl_access_name_set(ao, text);
+ efl_access_i18n_name_set(ao, text);
efl_access_reading_info_type_set(ao,
EFL_ACCESS_READING_INFO_TYPE_NAME);
evas_object_smart_callback_add(ao, "atspi,highlighted",
Efl.Access.Component.accessible_at_point_get;
//
Efl.Access.state_set { get; }
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.Text.text { get; }
Efl.Access.Text.string { get; }
Efl.Access.Text.attribute { get; }
if (sd->access_top_button)
{
elm_access_info_set(sd->access_top_button, ELM_ACCESS_INFO, (char *)item->label);
- efl_access_name_changed_signal_emit(sd->access_top_button);
+ efl_access_i18n_name_changed_signal_emit(sd->access_top_button);
}
if (sd->access_bottom_button)
{
elm_access_info_set(sd->access_bottom_button, ELM_ACCESS_INFO, (char *)item->label);
- efl_access_name_changed_signal_emit(sd->access_bottom_button);
+ efl_access_i18n_name_changed_signal_emit(sd->access_bottom_button);
}
}
//
edje_object_signal_emit(target, buf, "elm");
}
if (_elm_atspi_enabled())
- efl_access_name_changed_signal_emit(EO_OBJ(it));
+ efl_access_i18n_name_changed_signal_emit(EO_OBJ(it));
}
}
{
efl_access_added(EO_OBJ(it));
efl_access_children_changed_added_signal_emit(sd->obj, EO_OBJ(it));
- efl_access_name_changed_signal_emit(EO_OBJ(it));
+ efl_access_i18n_name_changed_signal_emit(EO_OBJ(it));
EINA_LIST_FOREACH(it->contents, l, content)
{
if (efl_isa(content, EFL_ACCESS_MIXIN))
}
EOLIAN const char*
-_elm_gengrid_item_efl_access_name_get(Eo *eo_it, Elm_Gen_Item *it)
+_elm_gengrid_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Gen_Item *it)
{
const char *ret;
Eina_Strbuf *buf;
char *accessible_name;
- ret = efl_access_name_get(efl_super(eo_it, ELM_GENGRID_ITEM_CLASS));
+ ret = efl_access_i18n_name_get(efl_super(eo_it, ELM_GENGRID_ITEM_CLASS));
if (ret) return ret;
buf = eina_strbuf_new();
Elm.Widget.Item.tooltip_unset;
Elm.Widget.Item.cursor { set; }
Elm.Widget.Item.cursor_unset;
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.state_set { get; }
Efl.Ui.Focus.Object.prepare_logical;
//TIZEN_ONLY(20171114): Region show on item elements fixed
edje_object_signal_emit(target, buf, "elm");
}
if (_elm_atspi_enabled())
- efl_access_name_changed_signal_emit(EO_OBJ(it));
+ efl_access_i18n_name_changed_signal_emit(EO_OBJ(it));
}
}
efl_access_children_changed_added_signal_emit(EO_OBJ(it), content);
}
}
- efl_access_name_changed_signal_emit(EO_OBJ(it));
+ efl_access_i18n_name_changed_signal_emit(EO_OBJ(it));
}
else
{
}
EOLIAN const char*
-_elm_genlist_item_efl_access_name_get(Eo *eo_it, Elm_Gen_Item *it)
+_elm_genlist_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Gen_Item *it)
{
const char *ret;
Eina_Strbuf *buf;
char *accessible_name;
- ret = efl_access_name_get(efl_super(eo_it, ELM_GENLIST_ITEM_CLASS));
+
+ ret = efl_access_i18n_name_get(efl_super(eo_it, ELM_GENLIST_ITEM_CLASS));
if (ret) return ret;
buf = eina_strbuf_new();
Elm.Widget.Item.tooltip_unset;
Elm.Widget.Item.cursor { set; }
Elm.Widget.Item.cursor_unset;
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.state_set { get; }
Efl.Ui.Focus.Object.prepare_logical;
Efl.Access.children { get; }
evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks);
efl_access_role_set(obj, EFL_ACCESS_ROLE_SCROLL_BAR);
//TIZEN_ONLY(20171114) [Index] Made UX changes for atspi as per v0.2
- efl_access_name_set(obj, N_("Index"));
+ efl_access_i18n_name_set(obj, N_("Index"));
//
return obj;
}
EOLIAN static const char*
-_elm_index_item_efl_access_name_get(Eo *eo_it, Elm_Index_Item_Data *data)
+_elm_index_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Index_Item_Data *data)
{
const char *name;
- name = efl_access_name_get(efl_super(eo_it, ELM_INDEX_ITEM_CLASS));
+ name = efl_access_i18n_name_get(efl_super(eo_it, ELM_INDEX_ITEM_CLASS));
if (name) return name;
return _elm_widget_item_accessible_plain_name_get(eo_it, data->letter);
Efl.Object.constructor;
Efl.Object.destructor;
Elm.Widget.Item.access_register;
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.Widget.Action.elm_actions { get; }
//TIZEN_ONLY(20161021) : atspi:Do not give highlightable state if index style is pagecontrol
Efl.Access.state_set { get; }
}
EOLIAN static const char*
-_elm_list_item_efl_access_name_get(Eo *eo_it, Elm_List_Item_Data *data)
+_elm_list_item_efl_access_i18n_name_get(Eo *eo_it, Elm_List_Item_Data *data)
{
const char *ret;
- ret = efl_access_name_get(efl_super(eo_it, ELM_LIST_ITEM_CLASS));
+ ret = efl_access_i18n_name_get(efl_super(eo_it, ELM_LIST_ITEM_CLASS));
if (ret) return ret;
return _elm_widget_item_accessible_plain_name_get(eo_it, data->label);
}
Elm.Widget.Item.part_text { get; set; }
Elm.Widget.Item.part_content { get; set; }
Elm.Widget.Item.part_content_unset;
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.state_set { get; }
//TIZEN_ONLY(20171114): list: enhance accessibility scroll and highlight
Efl.Access.Component.highlight_grab;
}
EOLIAN static const char*
-_elm_menu_item_efl_access_name_get(Eo *obj, Elm_Menu_Item_Data *sd)
+_elm_menu_item_efl_access_i18n_name_get(Eo *obj, Elm_Menu_Item_Data *sd)
{
const char *ret;
- ret = efl_access_name_get(efl_super(obj, ELM_MENU_ITEM_CLASS));
+ ret = efl_access_i18n_name_get(efl_super(obj, ELM_MENU_ITEM_CLASS));
if (ret) return ret;
return sd->label;
}
Efl.Access.children { get; }
Efl.Access.parent { get; }
Efl.Access.role { get; }
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.state_set { get; }
Efl.Access.Selection.selected_children_count { get; }
Efl.Access.Selection.selected_child { get; }
Elm.Widget.Item.signal_emit;
Elm.Widget.Item.part_text { get; set; }
Elm.Widget.Item.disable;
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.state_set { get; }
Efl.Access.Widget.Action.elm_actions { get; }
}
Efl.Ui.Widget.part_access_object_get;
//
//TIZEN_ONLY(20161213) Using VIEW(item) for naviframe, naviframe item accessible information
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.description { get; }
//
Efl.Part.part;
Elm.Widget.Item.part_content_unset;
Efl.Access.children { get; }
//TIZEN_ONLY(20161213) Using VIEW(item) for naviframe, naviframe item accessible information
- Efl.Access.name { get; set; }
+ Efl.Access.i18n_name { get; set; }
Efl.Access.description { get; set; }
//
}
Efl.Layout.Signal.signal_emit;
Efl.Access.Widget.Action.elm_actions { get; }
Efl.Access.state_set { get; }
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Part.part;
//TIZEN ONLY(20150708): popup and ctxpopup accessibility highlight impementation
Efl.Access.Component.highlight_grab;
else
elm_layout_text_set(obj, "elm.text", buf);
- efl_access_name_changed_signal_emit(obj);
+ efl_access_i18n_name_changed_signal_emit(obj);
if (sd->entry_visible) _entry_show(sd);
}
}
EOLIAN static const char*
-_elm_spinner_efl_access_name_get(Eo *obj, Elm_Spinner_Data *sd)
+_elm_spinner_efl_access_i18n_name_get(Eo *obj, Elm_Spinner_Data *sd)
{
const char *name, *ret;
- name = efl_access_name_get(efl_super(obj, ELM_SPINNER_CLASS));
+ name = efl_access_i18n_name_get(efl_super(obj, ELM_SPINNER_CLASS));
if (name) return name;
if (sd->button_layout)
{
Efl.Ui.Range.range_min_max { get; set; }
Efl.Ui.Range.range_step { get; set; }
Efl.Ui.Range.range_value { get; set; }
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.Value.value_and_text { get; set; }
Efl.Access.Value.range { get; }
Efl.Access.Value.increment { get; }
}
EOLIAN static const char*
-_elm_toolbar_item_efl_access_name_get(Eo *eo_item, Elm_Toolbar_Item_Data *item)
+_elm_toolbar_item_efl_access_i18n_name_get(Eo *eo_item, Elm_Toolbar_Item_Data *item)
{
const char *ret;
- ret = efl_access_name_get(efl_super(eo_item, ELM_TOOLBAR_ITEM_CLASS));
+ ret = efl_access_i18n_name_get(efl_super(eo_item, ELM_TOOLBAR_ITEM_CLASS));
if (ret) return ret;
return _elm_widget_item_accessible_plain_name_get(eo_item, item->label);
}
Elm.Widget.Item.part_content_unset;
Efl.Ui.Focus.Object.focus_geometry { get; }
Efl.Ui.Focus.Object.focus { set; }
- Efl.Access.name { get; }
+ Efl.Access.i18n_name { get; }
Efl.Access.state_set { get; }
Efl.Ui.Item.selected { get; set; }
Efl.Ui.Item.prev { get; }
Efl.Object.constructor;
Efl.Object.destructor;
//TIZEN_ONLY(20150713) : add widget_item name setter
- Efl.Access.name { set; get;}
+ Efl.Access.i18n_name { set; get;}
///
Efl.Access.state_set { get; }
//TIZEN ONLY(20160918): name interface added
EOLIAN static const char*
-_elm_ctxpopup_efl_access_name_get(Eo *obj, Elm_Ctxpopup_Data *sd EINA_UNUSED)
+_elm_ctxpopup_efl_access_i18n_name_get(Eo *obj, Elm_Ctxpopup_Data *sd EINA_UNUSED)
{
Eina_Strbuf *buf;
const char *accessible_name = NULL;
const char *style = elm_widget_style_get(obj);
- accessible_name = efl_access_name_get(efl_super(obj, MY_CLASS));
+ accessible_name = efl_access_i18n_name_get(efl_super(obj, MY_CLASS));
if (accessible_name) return accessible_name;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL);
//TIZEN ONLY(20150710)ctxpopup: Accessible methods for children_get, extents_get and item name_get
EOLIAN const char *
-_elm_ctxpopup_item_efl_access_name_get(Eo *eo_it, Elm_Ctxpopup_Item_Data *item)
+_elm_ctxpopup_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Ctxpopup_Item_Data *item)
{
const char *accessible_name = NULL;
- accessible_name = efl_access_name_get(efl_super(eo_it, ELM_CTXPOPUP_ITEM_CLASS));
+ accessible_name = efl_access_i18n_name_get(efl_super(eo_it, ELM_CTXPOPUP_ITEM_CLASS));
if (accessible_name) return accessible_name;
if(item->icon && !item->label)
{
const char *icon_name = NULL;
- icon_name = efl_access_name_get(item->icon);
+ icon_name = efl_access_i18n_name_get(item->icon);
return icon_name;
}
else
}
edje_object_message_signal_process(target);
if (_elm_atspi_enabled())
- efl_access_name_changed_signal_emit(EO_OBJ(it));
+ efl_access_i18n_name_changed_signal_emit(EO_OBJ(it));
}
}
efl_access_children_changed_added_signal_emit(EO_OBJ(it), content);
}
}
- efl_access_name_changed_signal_emit(EO_OBJ(it));
+ efl_access_i18n_name_changed_signal_emit(EO_OBJ(it));
}
else
{
}
EOLIAN const char*
-_elm_genlist_item_efl_access_name_get(Eo *eo_it, Elm_Gen_Item *it)
+_elm_genlist_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Gen_Item *it)
{
const char *ret;
Eina_Strbuf *buf;
char *accessible_name;
- ret = efl_access_name_get(efl_super(eo_it, ELM_GENLIST_ITEM_CLASS));
+ ret = efl_access_i18n_name_get(efl_super(eo_it, ELM_GENLIST_ITEM_CLASS));
if (ret) return ret;
buf = eina_strbuf_new();
elm_app_name_set("Test name");
- ret = efl_access_name_get(root);
+ ret = efl_access_i18n_name_get(root);
ck_assert_str_eq(ret, "Test name");
}
END_TEST
-START_TEST (test_efl_access_name_get)
+START_TEST (test_efl_access_i18n_name_get)
{
elm_init(0, NULL);
generate_app();
const char *name;
- name = efl_access_name_get(g_btn);
+ name = efl_access_i18n_name_get(g_btn);
if (name && name[0]) {
ck_assert(0);
// Set name with additional text tags
elm_object_text_set(g_btn, "Some<br>text");
- name = efl_access_name_get(g_btn);
+ name = efl_access_i18n_name_get(g_btn);
// Accessible name should have cleared tags
ck_assert(name != NULL);
}
END_TEST
-START_TEST (test_efl_access_name_set)
+START_TEST (test_efl_access_i18n_name_set)
{
elm_init(0, NULL);
generate_app();
const char *name;
elm_object_text_set(g_btn, "Other text");
- efl_access_name_set(g_btn, "Test name");
+ efl_access_i18n_name_set(g_btn, "Test name");
- name = efl_access_name_get(g_btn);
+ name = efl_access_i18n_name_get(g_btn);
ck_assert(name != NULL);
ck_assert_str_eq(name, "Test name");
- efl_access_name_set(g_btn, NULL);
- name = efl_access_name_get(g_btn);
+ efl_access_i18n_name_set(g_btn, NULL);
+ name = efl_access_i18n_name_get(g_btn);
ck_assert(name != NULL);
ck_assert_str_eq(name, "Other text");
void elm_test_atspi(TCase *tc)
{
tcase_add_test(tc, test_efl_access_app_obj_name_get);
- tcase_add_test(tc, test_efl_access_name_get);
- tcase_add_test(tc, test_efl_access_name_set);
+ tcase_add_test(tc, test_efl_access_i18n_name_get);
+ tcase_add_test(tc, test_efl_access_i18n_name_set);
tcase_add_test(tc, test_efl_access_role_get);
tcase_add_test(tc, test_efl_access_role_set);
tcase_add_test(tc, test_efl_access_role_name_get);