}
EOLIAN static Eina_Bool
-_efl_ui_calendar_efl_ui_widget_on_focus_update(Eo *obj, Efl_Ui_Calendar_Data *sd)
+_efl_ui_calendar_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Calendar_Data *sd)
{
Eina_Bool int_ret = EINA_FALSE;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
// FIXME : Currently, focused item is same with selected item.
Efl.Canvas.Group.group_calculate;
Efl.Ui.Widget.theme_apply;
Efl.Ui.Widget.on_access_update;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Widget.widget_event;
Efl.Access.Widget.Action.elm_actions { get; }
Efl.Ui.Format.format_cb { set; }
}
EOLIAN static Eina_Bool
-_efl_ui_clock_efl_ui_widget_on_focus_update(Eo *obj, Efl_Ui_Clock_Data *sd)
+_efl_ui_clock_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Clock_Data *sd)
{
Eina_Bool int_ret = EINA_FALSE;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (!efl_ui_focus_object_focus_get(obj))
Efl.Object.constructor;
Efl.Ui.Widget.theme_apply;
Efl.Ui.Widget.on_disabled_update;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Translatable.translation_update;
//TIZEN_ONLY(20170807): Apply UI Mirror for Tizen 4.0 UX
Efl.Ui.Base.mirrored { get; set; }
logical_parent : Efl.Ui.Focus.Object; [[The focus parent.]]
}
}
-
prepare_logical {
[[Tells the object that its children will be queried soon by the given manager.
Deleting manager items in this call will result in undefied behaviour and may cause your system to crash.
]]
}
+ on_focus_update @protected @pure_virtual {
+ [[Virtual function handling focus in/out events on the widget]]
+ return: bool; [[$true if this widget can handle focus, $false otherwise]]
+ }
}
implements {
@empty .focus_geometry;
}
EOLIAN static Eina_Bool
-_efl_ui_image_zoomable_efl_ui_widget_on_focus_update(Eo *obj, Efl_Ui_Image_Zoomable_Data *_pd EINA_UNUSED)
+_efl_ui_image_zoomable_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Image_Zoomable_Data *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
Eina_Bool int_ret = EINA_FALSE;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (efl_ui_focus_object_focus_get(obj))
Efl.Ui.Zoom.zoom_mode { set; get; }
Efl.Canvas.Group.group_member_add;
Efl.Ui.Widget.theme_apply;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Widget.widget_event;
Efl.Ui.Scrollable.Interactive.scroll;
Efl.Access.Widget.Action.elm_actions { get; }
}
EOLIAN static Eina_Bool
-_efl_ui_layout_efl_ui_widget_on_focus_update(Eo *obj, Efl_Ui_Layout_Data *_pd EINA_UNUSED)
+_efl_ui_layout_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Layout_Data *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
efl_access_state_changed_signal_emit(obj, EFL_ACCESS_STATE_FOCUSED, EINA_FALSE);
}
- efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (efl_isa(wd->resize_obj, EFL_CANVAS_LAYOUT_CLASS))
edje_object_message_signal_process(wd->resize_obj);
Efl.Ui.Widget.theme_apply;
Efl.Ui.Widget.on_disabled_update;
Efl.Ui.Widget.widget_sub_object_del;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Container.content_count;
Efl.Container.content_remove;
Efl.Container.content_iterate;
}
EOLIAN static Eina_Bool
-_efl_ui_slider_efl_ui_widget_on_focus_update(Eo *obj, Efl_Ui_Slider_Data *sd EINA_UNUSED)
+_efl_ui_slider_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Slider_Data *sd EINA_UNUSED)
{
Eina_Bool int_ret = EINA_FALSE;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if ((sd->indicator_visible_mode == ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS) && efl_ui_focus_object_focus_get(obj))
_popup_show(obj, NULL, NULL, NULL);
Efl.Canvas.Group.group_calculate;
Efl.Ui.Widget.theme_apply;
Efl.Ui.Widget.on_access_activate;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Widget.widget_event;
//TIZEN_ONLY(20170419): fix slider indicator behavior
Efl.Ui.Widget.on_disabled_update;
}
EOLIAN static Eina_Bool
-_efl_ui_spin_button_efl_ui_widget_on_focus_update(Eo *obj, Efl_Ui_Spin_Button_Data *sd)
+_efl_ui_spin_button_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Spin_Button_Data *sd)
{
Eina_Bool int_ret = EINA_FALSE;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (!efl_ui_focus_object_focus_get(obj))
Efl.Object.constructor;
Efl.Ui.Widget.theme_apply;
Efl.Ui.Widget.widget_event;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Range.range_value { set; }
Efl.Access.name { get; }
Efl.Access.Value.value_and_text { get; set; }
}
EOLIAN static Eina_Bool
-_efl_ui_text_efl_ui_widget_on_focus_update(Eo *obj, Efl_Ui_Text_Data *sd)
+_efl_ui_text_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Text_Data *sd)
{
Evas_Object *top;
Eina_Bool top_is_win = EINA_FALSE;
Efl.Layout.Signal.signal_emit;
Efl.Ui.Widget.on_access_activate;
Efl.Ui.Widget.theme_apply;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Widget.interest_region { get; }
Efl.Ui.Widget.on_disabled_update;
Efl.Ui.Widget.widget_sub_object_del;
sd->top_win_focused = top_win_focused;
if (sd->focused && !sd->top_win_focused)
- efl_ui_widget_on_focus_update(obj);
+ efl_ui_focus_object_on_focus_update(obj);
}
Eina_Bool
}
EOLIAN static Eina_Bool
-_efl_ui_widget_on_focus_update(Eo *obj, Elm_Widget_Smart_Data *sd)
+_efl_ui_widget_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Widget_Smart_Data *sd)
{
Eina_Bool focused;
efl_ui_focus_object_focus_set(efl_super(obj, MY_CLASS), focus);
- efl_ui_widget_on_focus_update(obj);
+ efl_ui_focus_object_on_focus_update(obj);
}
EOLIAN static Efl_Ui_Focus_Manager*
return: Efl.Ui.Theme.Apply; [[Indicates success, and if the current
theme or default theme was used.]]
}
- on_focus_update @protected {
- [[Virtual function handling focus in/out events on the widget]]
- return: bool; [[$true if this widget can handle focus, $false otherwise]]
- }
/* Scroll API. */
@property on_show_region_hook @protected {
//
EOLIAN static Eina_Bool
-_efl_ui_win_efl_ui_widget_on_focus_update(Eo *obj, Efl_Ui_Win_Data *sd)
+_efl_ui_win_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Win_Data *sd)
{
- if (!efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS)))
+ if (!efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS)))
return EINA_TRUE;
if (sd->img_obj)
Efl.Ui.Widget.focus_highlight_style { get; set; }
Efl.Ui.Widget.focus_highlight_enabled { get; set; }
Efl.Ui.Widget.focus_highlight_animate { get; set; }
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Widget.widget_event;
Efl.Ui.Widget.focus_manager_create;
Efl.Access.parent { get; }
#define EFL_ACCESS_TEXT_BETA
#define EFL_ACCESS_VALUE_BETA
#define EFL_ACCESS_WIDGET_ACTION_BETA
+#define EFL_UI_FOCUS_OBJECT_PROTECTED
#endif
}
EOLIAN static Eina_Bool
-_elm_access_efl_ui_widget_on_focus_update(Eo *obj, void *_pd EINA_UNUSED)
+_elm_access_efl_ui_focus_object_on_focus_update(Eo *obj, void *_pd EINA_UNUSED)
{
evas_object_focus_set(obj, efl_ui_focus_object_focus_get(obj));
class.constructor;
Efl.Object.constructor;
Efl.Ui.Widget.on_access_activate;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Access.Widget.Action.elm_actions { get; }
Efl.Access.state_set { get; }
// TIZEN_ONLY(20171114): atspi: expose highlight information on atspi
//
EOLIAN static Eina_Bool
-_elm_calendar_efl_ui_widget_on_focus_update(Eo *obj, Elm_Calendar_Data *sd)
+_elm_calendar_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Calendar_Data *sd)
{
Eina_Bool int_ret = EINA_FALSE;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (efl_ui_focus_object_focus_get(obj))
Efl.Canvas.Group.group_calculate;
Efl.Ui.Widget.theme_apply;
Efl.Ui.Widget.on_access_update;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Widget.widget_event;
//TIZEN_ONLY(20160822): When atspi mode is dynamically switched on/off,
//register/unregister access objects accordingly.
}
EOLIAN static Eina_Bool
-_elm_diskselector_efl_ui_widget_on_focus_update(Eo *obj, Elm_Diskselector_Data *_pd EINA_UNUSED)
+_elm_diskselector_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Diskselector_Data *_pd EINA_UNUSED)
{
Eina_Bool int_ret = EINA_FALSE;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (efl_ui_focus_object_focus_get(obj))
Efl.Canvas.Group.group_member_add;
Efl.Ui.Widget.on_access_update;
Efl.Ui.Widget.theme_apply;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Translatable.translation_update;
Efl.Ui.Widget.widget_sub_object_del;
Efl.Ui.Widget.widget_event;
}
EOLIAN static Eina_Bool
-_elm_entry_efl_ui_widget_on_focus_update(Eo *obj, Elm_Entry_Data *sd)
+_elm_entry_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Entry_Data *sd)
{
_elm_entry_focus_update(obj, sd);
Efl.Layout.Signal.signal_emit;
Efl.Ui.Widget.on_access_activate;
Efl.Ui.Widget.theme_apply;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Widget.interest_region { get; }
Efl.Ui.Widget.on_disabled_update;
Efl.Ui.Widget.widget_sub_object_del;
}
EOLIAN static Eina_Bool
-_elm_genlist_efl_ui_widget_on_focus_update(Eo *obj, Elm_Genlist_Data *sd)
+_elm_genlist_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Genlist_Data *sd)
{
Eina_Bool int_ret = EINA_FALSE;
Elm_Object_Item *eo_it = NULL;
Eina_Bool is_sel = EINA_FALSE;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (efl_ui_focus_object_focus_get(obj) && (sd->items) && (sd->selected) &&
Efl.Ui.Widget.widget_sub_object_del;
Efl.Ui.Widget.on_access_update;
Efl.Ui.Widget.focus_highlight_geometry { get; }
- Efl.Ui.Widget.on_focus_update;
+ //Efl.Ui.Widget.on_focus_update;
//Efl.Ui.Widget.widget_event;
+ Efl.Ui.Focus.Object.on_focus_update;
+ Efl.Ui.Widget.widget_event; // rebase
Efl.Ui.Widget.focused_item { get; }
//TIZEN_ONLY(20160822): When atspi mode is dynamically switched on/off,
//register/unregister access objects accordingly.
};
EOLIAN static Eina_Bool
-_elm_glview_efl_ui_widget_on_focus_update(Eo *obj, Elm_Glview_Data *_pd EINA_UNUSED)
+_elm_glview_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Glview_Data *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
Eina_Bool int_ret = EINA_FALSE;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (efl_ui_focus_object_focus_get(obj))
class.constructor;
Efl.Object.finalize;
Efl.Gfx.size { set; }
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Gfx.View.view_size { get; set; }
}
events {
}
EOLIAN static Eina_Bool
-_elm_list_efl_ui_widget_on_focus_update(Eo *obj, Elm_List_Data *sd)
+_elm_list_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_List_Data *sd)
{
Eina_Bool int_ret = EINA_FALSE;
Elm_Object_Item *eo_it = NULL;
Eina_Bool is_sel = EINA_FALSE;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (elm_object_focus_get(obj) && sd->selected && !sd->last_selected_item)
Efl.Ui.Widget.on_access_update;
Efl.Ui.Widget.focus_highlight_geometry { get; }
Efl.Ui.Widget.on_disabled_update;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Translatable.translation_update;
Efl.Ui.Widget.widget_sub_object_del;
Efl.Ui.Widget.widget_event;
}
EOLIAN static Eina_Bool
-_elm_map_efl_ui_widget_on_focus_update(Eo *obj, Elm_Map_Data *_pd EINA_UNUSED)
+_elm_map_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Map_Data *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
Eina_Bool int_ret = EINA_FALSE;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (efl_ui_focus_object_focus_get(obj))
Efl.Gfx.size { set; }
Efl.Canvas.Group.group_member_add;
Efl.Ui.Widget.theme_apply;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Widget.widget_event;
Efl.Access.Widget.Action.elm_actions { get; }
}
}
EOLIAN static Eina_Bool
-_elm_plug_efl_ui_widget_on_focus_update(Eo *obj, void *sd EINA_UNUSED)
+_elm_plug_efl_ui_focus_object_on_focus_update(Eo *obj, void *sd EINA_UNUSED)
{
Eina_Bool int_ret = EINA_FALSE;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (efl_ui_focus_object_focus_get(obj))
class.constructor;
Efl.Object.constructor;
Efl.Ui.Widget.theme_apply;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
+ //Efl.Ui.Widget.on_focus_update;
//TIZEN_ONLY(20171108): make atspi_proxy work
Efl.Access.children { get; }
//
}
EOLIAN static Eina_Bool
-_elm_spinner_efl_ui_widget_on_focus_update(Eo *obj, Elm_Spinner_Data *sd)
+_elm_spinner_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Spinner_Data *sd)
{
Eina_Bool int_ret = EINA_FALSE;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (!efl_ui_focus_object_focus_get(obj))
Efl.Object.constructor;
Efl.Ui.Widget.theme_apply;
Efl.Ui.Widget.on_access_update;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Widget.widget_event;
/* TIZEN_ONLY(20161111, 20180111)
* (20161111): apply UI Mirroring for Tizen 3.0 UX
}
EOLIAN static Eina_Bool
-_elm_toolbar_efl_ui_widget_on_focus_update(Eo *obj, Elm_Toolbar_Data *sd)
+_elm_toolbar_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Toolbar_Data *sd)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
Eina_Bool int_ret = EINA_FALSE;
Elm_Object_Item *eo_it = NULL;
- int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS));
+ int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
if (!int_ret) return EINA_FALSE;
if (!sd->items) return EINA_FALSE;
Efl.Canvas.Group.group_member_add;
Efl.Ui.Widget.on_access_update;
Efl.Ui.Widget.theme_apply;
- Efl.Ui.Widget.on_focus_update;
+ Efl.Ui.Focus.Object.on_focus_update;
Efl.Ui.Translatable.translation_update;
Efl.Ui.Widget.widget_event;
Efl.Ui.Widget.focus_highlight_geometry { get; }