elm_widget: remove focused unfocused events
the ones form efl.ui.focus.object are now taken.
This commit is contained in:
parent
a8fb3f30d9
commit
78664198bd
|
@ -1691,12 +1691,12 @@ _legacy_focused(void *data, const Efl_Event *ev)
|
|||
|
||||
if (meaningful_focus_in && !meaningful_focus_out)
|
||||
{
|
||||
efl_event_callback_legacy_call(data, EFL_UI_WIDGET_EVENT_FOCUSED, NULL);
|
||||
evas_object_smart_callback_call(data, "focused", NULL);
|
||||
}
|
||||
|
||||
if (!meaningful_focus_in && meaningful_focus_out)
|
||||
{
|
||||
efl_event_callback_legacy_call(data, EFL_UI_WIDGET_EVENT_UNFOCUSED, NULL);
|
||||
evas_object_smart_callback_call(data, "unfocused", NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -5034,9 +5034,9 @@ static void
|
|||
_focus_event_changed(void *data EINA_UNUSED, const Efl_Event *event)
|
||||
{
|
||||
if (efl_ui_focus_object_focus_get(event->object))
|
||||
efl_event_callback_legacy_call(event->object, EFL_UI_WIDGET_EVENT_FOCUSED, NULL);
|
||||
evas_object_smart_callback_call(event->object, "focused", NULL);
|
||||
else
|
||||
efl_event_callback_legacy_call(event->object, EFL_UI_WIDGET_EVENT_UNFOCUSED, NULL);
|
||||
evas_object_smart_callback_call(event->object, "unfocused", NULL);
|
||||
}
|
||||
|
||||
EOLIAN static Eo *
|
||||
|
|
|
@ -648,8 +648,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Efl.Access,
|
|||
}
|
||||
events {
|
||||
moved; [[Called when widget moved]]
|
||||
focused; [[Called when widget was focused]]
|
||||
unfocused; [[Called when widget was unfocused]]
|
||||
language,changed; [[Called when widget language changed]]
|
||||
access,changed; [[Called when accessibility changed]]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue