EAPI void elm_label_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
EAPI void elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis);
EAPI void elm_label_wrap_mode_set(Evas_Object *obj, Eina_Bool wrapmode);
+ EAPI void elm_label_slide_set(Evas_Object *obj, Eina_Bool slide);
/* available styles:
* default
* marker
wd->changed = 1;
_sizing_eval(obj);
}
+
+/**
+ * Set the text slide of the label
+ *
+ * @param obj The label object
+ * @param slide To start slide or stop
+ * @ingroup Label
+ */
+EAPI void
+elm_label_slide_set(Evas_Object *obj, Eina_Bool slide)
+{
+ ELM_CHECK_WIDTYPE(obj, widtype);
+ Widget_Data *wd = elm_widget_data_get(obj);
+ if (!wd) return;
+
+ if (slide)
+ edje_object_signal_emit(wd->lbl, "elm,state,slide,start", "elm");
+ else
+ edje_object_signal_emit(wd->lbl, "elm,state,slide,stop", "elm");
+}