elm_object_part_text_set(Evas_Object *obj, const char *part, const char *label)
{
EINA_SAFETY_ON_NULL_RETURN(obj);
- elm_widget_text_part_set(obj, part, label);
+ elm_widget_part_text_set(obj, part, label);
}
EAPI const char *
elm_object_part_text_get(const Evas_Object *obj, const char *part)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(obj, NULL);
- return elm_widget_text_part_get(obj, part);
+ return elm_widget_part_text_get(obj, part);
}
EAPI void
}
EAPI void
-elm_widget_text_part_set(Evas_Object *obj,
+elm_widget_part_text_set(Evas_Object *obj,
const char *part,
const char *label)
{
ELM_WIDGET_CHECK(obj);
- eo_do(obj, elm_wdg_text_part_set(part, label));
+ eo_do(obj, elm_wdg_part_text_set(part, label));
}
static void
-_elm_widget_text_part_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
+_elm_widget_part_text_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
{
const char *part = va_arg(*list, const char *);
const char *label = va_arg(*list, const char *);
}
EAPI const char *
-elm_widget_text_part_get(const Evas_Object *obj,
+elm_widget_part_text_get(const Evas_Object *obj,
const char *part)
{
ELM_WIDGET_CHECK(obj) NULL;
const char *ret = NULL;
- eo_do((Eo *) obj, elm_wdg_text_part_get(part, &ret));
+ eo_do((Eo *) obj, elm_wdg_part_text_get(part, &ret));
return ret;
}
static void
-_elm_widget_text_part_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
+_elm_widget_part_text_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
{
const char *part = va_arg(*list, const char *);
const char **ret = va_arg(*list, const char **);
if (label && label[0])
label = dgettext(domain, label);
#endif
- elm_widget_text_part_set(obj, part, label);
+ elm_widget_part_text_set(obj, part, label);
}
EAPI const char *
EINA_LIST_FOREACH(sd->translate_strings, l, ts)
{
const char *s = dgettext(ts->domain, ts->string);
- elm_widget_text_part_set(obj, ts->id, s);
+ elm_widget_part_text_set(obj, ts->id, s);
}
#endif
}
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCALE_SET), _elm_widget_scale_set),
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCALE_GET), _elm_widget_scale_get),
- EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TEXT_PART_SET), _elm_widget_text_part_set),
- EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TEXT_PART_GET), _elm_widget_text_part_get),
+ EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TEXT_PART_SET), _elm_widget_part_text_set),
+ EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TEXT_PART_GET), _elm_widget_part_text_get),
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DOMAIN_TRANSLATABLE_PART_TEXT_SET), _elm_widget_domain_translatable_part_text_set),
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TRANSLATABLE_PART_TEXT_GET), _elm_widget_translatable_part_text_get),
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACCESS_INFO_SET), _elm_widget_access_info_set),
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_activate(Evas_Object *obj, Elm_Activate act);
-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_part_text_set(Evas_Object *obj, const char *part, const char *label);
+EAPI const char *elm_widget_part_text_get(const Evas_Object *obj, const char *part);
EAPI void elm_widget_domain_translatable_part_text_set(Evas_Object *obj, const char *part, const char *domain, const char *text);
EAPI const char *elm_widget_translatable_part_text_get(const Evas_Object *obj, const char *part);
EAPI void elm_widget_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
/**
- * @def elm_wdg_text_part_set
+ * @def elm_wdg_part_text_set
* @since 1.8
*
* No description supplied by the EAPI.
* @param[in] label
*
*/
-#define elm_wdg_text_part_set(part, label) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TEXT_PART_SET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char *, label)
+#define elm_wdg_part_text_set(part, label) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TEXT_PART_SET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char *, label)
/**
- * @def elm_wdg_text_part_get
+ * @def elm_wdg_part_text_get
* @since 1.8
*
* No description supplied by the EAPI.
* @param[out] ret
*
*/
-#define elm_wdg_text_part_get(part, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TEXT_PART_GET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char **, ret)
+#define elm_wdg_part_text_get(part, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TEXT_PART_GET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char **, ret)
/**