summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-23 19:39:19 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-23 20:53:20 +0900
commit1d62f9dc7c67b9cc9fb6ce128576b87f6e81d9d4 (patch)
tree0a6618e20bda9eae4267edfdeec8229316e38946
parent8a20251795317a948f5e72d8fcd996b1e5983984 (diff)
widget: Remove some more functions from EO
Internals... Ref T5363
-rw-r--r--src/lib/elementary/elm_widget.c15
-rw-r--r--src/lib/elementary/elm_widget.eo14
2 files changed, 11 insertions, 18 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 26b676f708..962bff97be 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -1732,9 +1732,12 @@ _elm_widget_focus_allow_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
1732 return sd->can_focus; 1732 return sd->can_focus;
1733} 1733}
1734 1734
1735EOLIAN static Eina_Bool 1735EAPI Eina_Bool
1736_elm_widget_child_can_focus_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) 1736elm_widget_child_can_focus_get(const Eo *obj)
1737{ 1737{
1738 Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
1739 if (!sd) return EINA_FALSE;
1740
1738 return sd->child_can_focus; 1741 return sd->child_can_focus;
1739} 1742}
1740 1743
@@ -3128,9 +3131,13 @@ _elm_widget_focus_next_item_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd,
3128 sd->item_focus_left = next_item; 3131 sd->item_focus_left = next_item;
3129} 3132}
3130 3133
3131EOLIAN static void 3134/** @internal */
3132_elm_widget_parent_highlight_set(Eo *obj, Elm_Widget_Smart_Data *sd, Eina_Bool highlighted) 3135EAPI void
3136elm_widget_parent_highlight_set(Eo *obj, Eina_Bool highlighted)
3133{ 3137{
3138 Elm_Widget_Smart_Data *sd =efl_data_scope_safe_get(obj, MY_CLASS);
3139 if (!sd) return;
3140
3134 highlighted = !!highlighted; 3141 highlighted = !!highlighted;
3135 3142
3136 Evas_Object *o = elm_widget_parent_get(obj); 3143 Evas_Object *o = elm_widget_parent_get(obj);
diff --git a/src/lib/elementary/elm_widget.eo b/src/lib/elementary/elm_widget.eo
index ed2b337445..5154ec44f8 100644
--- a/src/lib/elementary/elm_widget.eo
+++ b/src/lib/elementary/elm_widget.eo
@@ -291,14 +291,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
291 mode: Elm.Focus.Region.Show_Mode; [[Focus region show mode]] 291 mode: Elm.Focus.Region.Show_Mode; [[Focus region show mode]]
292 } 292 }
293 } 293 }
294 @property parent_highlight {
295 [[Parent highlight property]]
296 set {
297 }
298 values {
299 highlighted: bool; [[$true if highlighted, $false otherwise]]
300 }
301 }
302 @property theme_object { 294 @property theme_object {
303 [[Theme object property]] 295 [[Theme object property]]
304 set { 296 set {
@@ -358,12 +350,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
358 enable: bool; [[$true if item loop is enabled, $false otherwise]] 350 enable: bool; [[$true if item loop is enabled, $false otherwise]]
359 } 351 }
360 } 352 }
361 @property child_can_focus {
362 [[Child can focus property]]
363 get {
364 return: bool; [[$true if child can focus, $false otherwise]]
365 }
366 }
367 @property scroll_freeze { 353 @property scroll_freeze {
368 [[Scroll freeze property]] 354 [[Scroll freeze property]]
369 get { 355 get {