summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget.h
diff options
context:
space:
mode:
authorSungtaek Hong <sth253.hong@samsung.com>2017-06-29 19:32:19 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-06-30 14:37:54 +0900
commit82a955be902ba4afd4cb0f0fbbaf46c1f2208155 (patch)
tree6101d7ae18573512343841f6375052c0b50f069d /src/lib/elementary/elm_widget.h
parent9452a4ac497100ecc71eca5f4a37cfc655b45a53 (diff)
elm_entry: use layout text/content aliases when text_set/get content_set/get/unset
Summary: - elm_entry has elm.guide text part and it can be set by "guide". - However when using text_aliases_get, this cannot be found. - Add elm_obj_elm_layout_part_aliasing_eval() internal APIs to make entry use proper aliases. Test Plan: 1. Run elementary test 2. Observe search entry has guide text with "guide" part. 3. Run Entry 8. 4. Observe "elm.guide" part also works. 5. Observe "icon" and "end" part works. Reviewers: id213sin, herdsman, jpeg Reviewed By: jpeg Subscribers: conr2d, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4962
Diffstat (limited to 'src/lib/elementary/elm_widget.h')
-rw-r--r--src/lib/elementary/elm_widget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h
index 7f9fd11f72..2d7f49b132 100644
--- a/src/lib/elementary/elm_widget.h
+++ b/src/lib/elementary/elm_widget.h
@@ -862,6 +862,11 @@ _elm_widget_sub_object_redirect_to_top(Evas_Object *obj, Evas_Object *sobj)
862 862
863EAPI Eina_Bool elm_selection_selection_has_owner(Evas_Object *obj); 863EAPI Eina_Bool elm_selection_selection_has_owner(Evas_Object *obj);
864 864
865EAPI Eina_Bool _elm_layout_part_aliasing_eval(const Evas_Object *obj,
866 const char **part,
867 Eina_Bool is_text);
868
869
865#define ELM_WIDGET_ITEM_PROTECTED 870#define ELM_WIDGET_ITEM_PROTECTED
866#include "elm_widget_item.eo.h" 871#include "elm_widget_item.eo.h"
867 872