widget: Remove some more functions from EO

Internals...

Ref T5363
This commit is contained in:
Jean-Philippe Andre 2017-08-23 19:39:19 +09:00
parent 8a20251795
commit 1d62f9dc7c
2 changed files with 11 additions and 18 deletions

View File

@ -1732,9 +1732,12 @@ _elm_widget_focus_allow_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
return sd->can_focus;
}
EOLIAN static Eina_Bool
_elm_widget_child_can_focus_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
EAPI Eina_Bool
elm_widget_child_can_focus_get(const Eo *obj)
{
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
if (!sd) return EINA_FALSE;
return sd->child_can_focus;
}
@ -3128,9 +3131,13 @@ _elm_widget_focus_next_item_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd,
sd->item_focus_left = next_item;
}
EOLIAN static void
_elm_widget_parent_highlight_set(Eo *obj, Elm_Widget_Smart_Data *sd, Eina_Bool highlighted)
/** @internal */
EAPI void
elm_widget_parent_highlight_set(Eo *obj, Eina_Bool highlighted)
{
Elm_Widget_Smart_Data *sd =efl_data_scope_safe_get(obj, MY_CLASS);
if (!sd) return;
highlighted = !!highlighted;
Evas_Object *o = elm_widget_parent_get(obj);

View File

@ -291,14 +291,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
mode: Elm.Focus.Region.Show_Mode; [[Focus region show mode]]
}
}
@property parent_highlight {
[[Parent highlight property]]
set {
}
values {
highlighted: bool; [[$true if highlighted, $false otherwise]]
}
}
@property theme_object {
[[Theme object property]]
set {
@ -358,12 +350,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
enable: bool; [[$true if item loop is enabled, $false otherwise]]
}
}
@property child_can_focus {
[[Child can focus property]]
get {
return: bool; [[$true if child can focus, $false otherwise]]
}
}
@property scroll_freeze {
[[Scroll freeze property]]
get {