diff options
author | Jee-Yong Um <jc9.um@samsung.com> | 2016-08-11 14:38:33 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-08-16 15:38:42 +0900 |
commit | 14ff664b76b30dcfef082f3c055b4965dd78ea1b (patch) | |
tree | 3018158dbb27791bb19573d7027d2920f2c8d2b2 /src/lib/edje/Edje_Legacy.h | |
parent | 1df890d51a867d19e0eba840d5e9da511a5012f0 (diff) | |
download | efl-14ff664b76b30dcfef082f3c055b4965dd78ea1b.tar.gz |
edje: clean up APIs
- convert methods to property setter/getter
- remove "values" block when getter returns read_only value
- fit the type of params of eo funcs to those of legacy APIs
Diffstat (limited to 'src/lib/edje/Edje_Legacy.h')
-rw-r--r-- | src/lib/edje/Edje_Legacy.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/edje/Edje_Legacy.h b/src/lib/edje/Edje_Legacy.h index 58fd4f2c0a..f7e234b949 100644 --- a/src/lib/edje/Edje_Legacy.h +++ b/src/lib/edje/Edje_Legacy.h @@ -579,5 +579,19 @@ EAPI Eina_Bool edje_object_color_class_set(Evas_Object *obj, const char * color_ */ EAPI Eina_Bool edje_object_color_class_get(const Evas_Object *obj, const char * color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3); +/** + * @brief Enables selection if the entry is an EXPLICIT selection mode type. + * + * The default is to not allow selection. This function only affects user + * selection, functions such as edje_object_part_text_select_all() and + * edje_object_part_text_select_none() are not affected. + * + * @param[in] part The part name + * @param[in] allow true to enable, false otherwise + * + * @ingroup Edje_Object + */ +EAPI void edje_object_part_text_select_allow_set(const Edje_Object *obj, const char *part, Eina_Bool allow); + #include "edje_object.eo.legacy.h" #include "edje_edit.eo.legacy.h" |