summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2015-07-06 09:21:40 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2015-07-06 14:47:31 +0300
commit3fa516e020eccb8795e064e4edc80ec8eb6da098 (patch)
tree7bc50bff28b1428a792d0f38079a1e068c372c82
parent40a27407e7ebaa4f3fcf5748342c32c81f8f8a3c (diff)
downloadelementary-3fa516e020eccb8795e064e4edc80ec8eb6da098.tar.gz
Focus: concentrate focused events in widget
The focused/unfocused events should be only defined in a common widget, which is Elm.Widget.
-rw-r--r--src/lib/elc_fileselector.c4
-rw-r--r--src/lib/elc_fileselector_entry.c8
-rw-r--r--src/lib/elc_hoversel.c4
-rw-r--r--src/lib/elc_multibuttonentry.c8
-rw-r--r--src/lib/elc_popup.c4
-rw-r--r--src/lib/elm_bubble.eo5
-rw-r--r--src/lib/elm_calendar.eo2
-rw-r--r--src/lib/elm_check.eo2
-rw-r--r--src/lib/elm_clock.eo2
-rw-r--r--src/lib/elm_colorselector.eo2
-rw-r--r--src/lib/elm_datetime.eo2
-rw-r--r--src/lib/elm_diskselector.eo2
-rw-r--r--src/lib/elm_entry.c4
-rw-r--r--src/lib/elm_flipselector.eo2
-rw-r--r--src/lib/elm_gengrid.eo2
-rw-r--r--src/lib/elm_gengrid_pan.eo2
-rw-r--r--src/lib/elm_genlist.eo2
-rw-r--r--src/lib/elm_genlist_pan.eo2
-rw-r--r--src/lib/elm_glview.eo2
-rw-r--r--src/lib/elm_hover.eo2
-rw-r--r--src/lib/elm_index.eo2
-rw-r--r--src/lib/elm_layout.c4
-rw-r--r--src/lib/elm_layout.eo2
-rw-r--r--src/lib/elm_map.eo2
-rw-r--r--src/lib/elm_map_pan.eo2
-rw-r--r--src/lib/elm_multibuttonentry.eo2
-rw-r--r--src/lib/elm_naviframe.eo2
-rw-r--r--src/lib/elm_panel.eo5
-rw-r--r--src/lib/elm_photocam.eo2
-rw-r--r--src/lib/elm_photocam_pan.eo2
-rw-r--r--src/lib/elm_player.eo2
-rw-r--r--src/lib/elm_popup.eo2
-rw-r--r--src/lib/elm_progressbar.eo2
-rw-r--r--src/lib/elm_radio.eo2
-rw-r--r--src/lib/elm_scroller.eo2
-rw-r--r--src/lib/elm_slider.eo2
-rw-r--r--src/lib/elm_slideshow.eo2
-rw-r--r--src/lib/elm_spinner.eo2
-rw-r--r--src/lib/elm_toolbar.eo2
-rw-r--r--src/lib/elm_video.eo5
-rw-r--r--src/lib/elm_web.eo2
-rw-r--r--src/lib/elm_win.c4
-rw-r--r--src/lib/elm_win.eo2
43 files changed, 20 insertions, 99 deletions
diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c
index 7c5fb7e26..eb6636881 100644
--- a/src/lib/elc_fileselector.c
+++ b/src/lib/elc_fileselector.c
@@ -1564,9 +1564,9 @@ _elm_fileselector_evas_object_smart_add(Eo *obj, Elm_Fileselector_Data *priv)
eo_do(en, eo_event_callback_add
(ELM_ENTRY_EVENT_ANCHOR_CLICKED, _anchor_clicked, obj));
eo_do(en, eo_event_callback_add
- (ELM_LAYOUT_EVENT_FOCUSED, _on_text_focused, obj));
+ (ELM_WIDGET_EVENT_FOCUSED, _on_text_focused, obj));
eo_do(en, eo_event_callback_add
- (ELM_LAYOUT_EVENT_UNFOCUSED, _on_text_unfocused, obj));
+ (ELM_WIDGET_EVENT_UNFOCUSED, _on_text_unfocused, obj));
eo_do(en, eo_event_callback_add
(ELM_ENTRY_EVENT_ACTIVATED, _on_text_activated, obj));
diff --git a/src/lib/elc_fileselector_entry.c b/src/lib/elc_fileselector_entry.c
index 45170c494..a94b44e1b 100644
--- a/src/lib/elc_fileselector_entry.c
+++ b/src/lib/elc_fileselector_entry.c
@@ -57,8 +57,8 @@ SIG_FWD(PRESS, ELM_FILESELECTOR_ENTRY_EVENT_PRESS)
SIG_FWD(LONGPRESSED, EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED)
SIG_FWD(CLICKED, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED)
SIG_FWD(CLICKED_DOUBLE, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE)
-SIG_FWD(FOCUSED, ELM_LAYOUT_EVENT_FOCUSED)
-SIG_FWD(UNFOCUSED, ELM_LAYOUT_EVENT_UNFOCUSED)
+SIG_FWD(FOCUSED, ELM_WIDGET_EVENT_FOCUSED)
+SIG_FWD(UNFOCUSED, ELM_WIDGET_EVENT_UNFOCUSED)
SIG_FWD(SELECTION_PASTE, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_PASTE)
SIG_FWD(SELECTION_COPY, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_COPY)
SIG_FWD(SELECTION_CUT, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_CUT)
@@ -315,8 +315,8 @@ _elm_fileselector_entry_evas_object_smart_add(Eo *obj, Elm_Fileselector_Entry_Da
SIG_FWD(LONGPRESSED, EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED);
SIG_FWD(CLICKED, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED);
SIG_FWD(CLICKED_DOUBLE, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE);
- SIG_FWD(FOCUSED, ELM_LAYOUT_EVENT_FOCUSED);
- SIG_FWD(UNFOCUSED, ELM_LAYOUT_EVENT_UNFOCUSED);
+ SIG_FWD(FOCUSED, ELM_WIDGET_EVENT_FOCUSED);
+ SIG_FWD(UNFOCUSED, ELM_WIDGET_EVENT_UNFOCUSED);
SIG_FWD(SELECTION_PASTE, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_PASTE);
SIG_FWD(SELECTION_COPY, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_COPY);
SIG_FWD(SELECTION_CUT, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_CUT);
diff --git a/src/lib/elc_hoversel.c b/src/lib/elc_hoversel.c
index a357b61bf..393be0559 100644
--- a/src/lib/elc_hoversel.c
+++ b/src/lib/elc_hoversel.c
@@ -212,8 +212,8 @@ _activate(Evas_Object *obj)
(EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _on_item_clicked, item));
evas_object_show(bt);
eo_do(bt,
- eo_event_callback_add(ELM_LAYOUT_EVENT_FOCUSED, _item_focused_cb, item),
- eo_event_callback_add(ELM_LAYOUT_EVENT_UNFOCUSED, _item_unfocused_cb, item));
+ eo_event_callback_add(ELM_WIDGET_EVENT_FOCUSED, _item_focused_cb, item),
+ eo_event_callback_add(ELM_WIDGET_EVENT_UNFOCUSED, _item_unfocused_cb, item));
}
if (sd->horizontal)
diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c
index d379c7bbe..0592eb55e 100644
--- a/src/lib/elc_multibuttonentry.c
+++ b/src/lib/elc_multibuttonentry.c
@@ -331,7 +331,7 @@ _elm_multibuttonentry_elm_widget_on_focus(Eo *obj, Elm_Multibuttonentry_Data *sd
}
}
eo_do(obj, eo_event_callback_call
- (ELM_MULTIBUTTONENTRY_EVENT_FOCUSED, NULL));
+ (ELM_WIDGET_EVENT_FOCUSED, NULL));
}
else
{
@@ -339,7 +339,7 @@ _elm_multibuttonentry_elm_widget_on_focus(Eo *obj, Elm_Multibuttonentry_Data *sd
elm_entry_input_panel_hide(sd->entry);
eo_do(obj, eo_event_callback_call
- (ELM_MULTIBUTTONENTRY_EVENT_UNFOCUSED, NULL));
+ (ELM_WIDGET_EVENT_UNFOCUSED, NULL));
}
end:
@@ -1136,9 +1136,9 @@ _callbacks_register(Evas_Object *obj)
eo_do(sd->entry, eo_event_callback_add
(ELM_MULTIBUTTONENTRY_EVENT_CHANGED, _entry_changed_cb, obj));
eo_do(sd->entry, eo_event_callback_add
- (ELM_MULTIBUTTONENTRY_EVENT_FOCUSED, _entry_focus_in_cb, obj));
+ (ELM_WIDGET_EVENT_FOCUSED, _entry_focus_in_cb, obj));
eo_do(sd->entry, eo_event_callback_add
- (ELM_MULTIBUTTONENTRY_EVENT_UNFOCUSED, _entry_focus_out_cb, obj));
+ (ELM_WIDGET_EVENT_UNFOCUSED, _entry_focus_out_cb, obj));
eo_do(sd->entry, eo_event_callback_add
(EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _entry_clicked_cb, obj));
}
diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index 7cbcaa20f..2f88c43f5 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -816,9 +816,9 @@ _item_new(Elm_Popup_Item_Data *it)
_item_select_cb, it);
evas_object_size_hint_align_set(VIEW(it), EVAS_HINT_FILL, EVAS_HINT_FILL);
eo_do(VIEW(it), eo_event_callback_add
- (ELM_LAYOUT_EVENT_FOCUSED, _item_focused_cb, it));
+ (ELM_WIDGET_EVENT_FOCUSED, _item_focused_cb, it));
eo_do(VIEW(it), eo_event_callback_add
- (ELM_LAYOUT_EVENT_UNFOCUSED, _item_unfocused_cb, it));
+ (ELM_WIDGET_EVENT_UNFOCUSED, _item_unfocused_cb, it));
evas_object_show(VIEW(it));
}
}
diff --git a/src/lib/elm_bubble.eo b/src/lib/elm_bubble.eo
index d4f9b9a82..cf2c24fd0 100644
--- a/src/lib/elm_bubble.eo
+++ b/src/lib/elm_bubble.eo
@@ -43,9 +43,4 @@ class Elm.Bubble (Elm.Layout, Evas.Clickable_Interface)
Elm.Layout.content_aliases.get;
Elm.Layout.sizing_eval;
}
- events {
- focused;
- unfocused;
- }
-
}
diff --git a/src/lib/elm_calendar.eo b/src/lib/elm_calendar.eo
index b35868da0..01e2fe2b7 100644
--- a/src/lib/elm_calendar.eo
+++ b/src/lib/elm_calendar.eo
@@ -407,8 +407,6 @@ class Elm.Calendar (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
display,changed;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_check.eo b/src/lib/elm_check.eo
index b9dedd6ff..a543f3f16 100644
--- a/src/lib/elm_check.eo
+++ b/src/lib/elm_check.eo
@@ -57,8 +57,6 @@ class Elm.Check (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
changed;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_clock.eo b/src/lib/elm_clock.eo
index 19f1a3094..4cb9e1556 100644
--- a/src/lib/elm_clock.eo
+++ b/src/lib/elm_clock.eo
@@ -255,8 +255,6 @@ class Elm.Clock (Elm.Layout)
changed;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_colorselector.eo b/src/lib/elm_colorselector.eo
index c5f824a83..331d83668 100644
--- a/src/lib/elm_colorselector.eo
+++ b/src/lib/elm_colorselector.eo
@@ -143,8 +143,6 @@ class Elm.Colorselector (Elm.Layout, Elm_Interface_Atspi_Widget_Action,
changed,user;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_datetime.eo b/src/lib/elm_datetime.eo
index 918903269..d6bd832b9 100644
--- a/src/lib/elm_datetime.eo
+++ b/src/lib/elm_datetime.eo
@@ -322,8 +322,6 @@ class Elm.Datetime (Elm.Layout)
changed;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_diskselector.eo b/src/lib/elm_diskselector.eo
index 9c8ff8613..9c1a55fbf 100644
--- a/src/lib/elm_diskselector.eo
+++ b/src/lib/elm_diskselector.eo
@@ -255,8 +255,6 @@ class Elm.Diskselector (Elm.Widget, Elm_Interface_Scrollable,
events {
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 0755404ec..5e2cad352 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -1151,7 +1151,7 @@ _elm_entry_elm_widget_on_focus(Eo *obj, Elm_Entry_Data *sd)
if (top && top_is_win && sd->input_panel_enable && !sd->input_panel_show_on_demand &&
!edje_object_part_text_imf_context_get(sd->entry_edje, "elm.text"))
elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON);
- eo_do(obj, eo_event_callback_call(ELM_LAYOUT_EVENT_FOCUSED, NULL));
+ eo_do(obj, eo_event_callback_call(ELM_WIDGET_EVENT_FOCUSED, NULL));
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_FOCUSED, EINA_TRUE);
_return_key_enabled_check(obj);
@@ -1164,7 +1164,7 @@ _elm_entry_elm_widget_on_focus(Eo *obj, Elm_Entry_Data *sd)
if (top && top_is_win && sd->input_panel_enable &&
!edje_object_part_text_imf_context_get(sd->entry_edje, "elm.text"))
elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_OFF);
- eo_do(obj, eo_event_callback_call(ELM_LAYOUT_EVENT_UNFOCUSED, NULL));
+ eo_do(obj, eo_event_callback_call(ELM_WIDGET_EVENT_UNFOCUSED, NULL));
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_FOCUSED, EINA_FALSE);
diff --git a/src/lib/elm_flipselector.eo b/src/lib/elm_flipselector.eo
index dd3e98ec8..00598ed06 100644
--- a/src/lib/elm_flipselector.eo
+++ b/src/lib/elm_flipselector.eo
@@ -208,8 +208,6 @@ class Elm.Flipselector (Elm.Layout, Elm_Interface_Atspi_Widget_Action,
overflowed;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_gengrid.eo b/src/lib/elm_gengrid.eo
index e62eee98e..1642210da 100644
--- a/src/lib/elm_gengrid.eo
+++ b/src/lib/elm_gengrid.eo
@@ -720,8 +720,6 @@ class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
events {
language,changed;
access,changed;
- focused;
- unfocused;
realized;
unrealized;
index,update;
diff --git a/src/lib/elm_gengrid_pan.eo b/src/lib/elm_gengrid_pan.eo
index 6d40ee9c6..a7128f33b 100644
--- a/src/lib/elm_gengrid_pan.eo
+++ b/src/lib/elm_gengrid_pan.eo
@@ -15,8 +15,6 @@ class Elm.Gengrid_Pan (Elm_Pan)
events {
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_genlist.eo b/src/lib/elm_genlist.eo
index 5e3ff2e67..e00fe0291 100644
--- a/src/lib/elm_genlist.eo
+++ b/src/lib/elm_genlist.eo
@@ -744,8 +744,6 @@ class Elm.Genlist (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interfac
events {
language,changed;
access,changed;
- focused;
- unfocused;
item,focused;
item,unfocused;
vbar,drag;
diff --git a/src/lib/elm_genlist_pan.eo b/src/lib/elm_genlist_pan.eo
index 9f63db9ca..9b7313296 100644
--- a/src/lib/elm_genlist_pan.eo
+++ b/src/lib/elm_genlist_pan.eo
@@ -16,8 +16,6 @@ class Elm.Genlist_Pan (Elm_Pan)
events {
language,changed;
access,changed;
- focused;
- unfocused;
item,focused;
item,unfocused;
}
diff --git a/src/lib/elm_glview.eo b/src/lib/elm_glview.eo
index 866e82d6f..3c9d02ed4 100644
--- a/src/lib/elm_glview.eo
+++ b/src/lib/elm_glview.eo
@@ -216,8 +216,6 @@ class Elm.Glview (Elm.Widget)
Elm.Widget.on_focus;
}
events {
- focused;
- unfocused;
language,changed;
access,changed;
}
diff --git a/src/lib/elm_hover.eo b/src/lib/elm_hover.eo
index 3e2d0403b..4a99401ee 100644
--- a/src/lib/elm_hover.eo
+++ b/src/lib/elm_hover.eo
@@ -86,8 +86,6 @@ class Elm.Hover (Elm.Layout, Evas.Clickable_Interface)
Elm.Layout.content_aliases.get;
}
events {
- focused;
- unfocused;
smart,changed;
dismissed;
}
diff --git a/src/lib/elm_index.eo b/src/lib/elm_index.eo
index 3aeddd120..8da401c90 100644
--- a/src/lib/elm_index.eo
+++ b/src/lib/elm_index.eo
@@ -361,8 +361,6 @@ class Elm.Index (Elm.Layout, Evas.Clickable_Interface, Evas.Selectable_Interface
level,down;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c
index 7f8ea1a63..250ef4ec3 100644
--- a/src/lib/elm_layout.c
+++ b/src/lib/elm_layout.c
@@ -409,7 +409,7 @@ _elm_layout_elm_widget_on_focus(Eo *obj, Elm_Layout_Smart_Data *_pd EINA_UNUSED)
{
elm_layout_signal_emit(obj, "elm,action,focus", "elm");
evas_object_focus_set(wd->resize_obj, EINA_TRUE);
- eo_do(obj, eo_event_callback_call(ELM_LAYOUT_EVENT_FOCUSED, NULL));
+ eo_do(obj, eo_event_callback_call(ELM_WIDGET_EVENT_FOCUSED, NULL));
if (_elm_config->atspi_mode && !elm_widget_child_can_focus_get(obj))
elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_FOCUSED, EINA_TRUE);
}
@@ -417,7 +417,7 @@ _elm_layout_elm_widget_on_focus(Eo *obj, Elm_Layout_Smart_Data *_pd EINA_UNUSED)
{
elm_layout_signal_emit(obj, "elm,action,unfocus", "elm");
evas_object_focus_set(wd->resize_obj, EINA_FALSE);
- eo_do(obj, eo_event_callback_call(ELM_LAYOUT_EVENT_UNFOCUSED, NULL));
+ eo_do(obj, eo_event_callback_call(ELM_WIDGET_EVENT_UNFOCUSED, NULL));
if (_elm_config->atspi_mode && !elm_widget_child_can_focus_get(obj))
elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_FOCUSED, EINA_FALSE);
}
diff --git a/src/lib/elm_layout.eo b/src/lib/elm_layout.eo
index 1073b0154..8ffb6b277 100644
--- a/src/lib/elm_layout.eo
+++ b/src/lib/elm_layout.eo
@@ -646,8 +646,6 @@ class Elm.Layout (Elm.Container, Efl.File)
}
events {
theme,changed;
- focused;
- unfocused;
language,changed;
access,changed;
}
diff --git a/src/lib/elm_map.eo b/src/lib/elm_map.eo
index ad34c4391..08825e3ae 100644
--- a/src/lib/elm_map.eo
+++ b/src/lib/elm_map.eo
@@ -803,8 +803,6 @@ class Elm.Map (Elm.Widget, Elm_Interface_Scrollable,
overlay,del;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_map_pan.eo b/src/lib/elm_map_pan.eo
index cd61d25af..68b74ceb2 100644
--- a/src/lib/elm_map_pan.eo
+++ b/src/lib/elm_map_pan.eo
@@ -27,8 +27,6 @@ class Elm.Map_Pan (Elm_Pan)
overlay,del;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_multibuttonentry.eo b/src/lib/elm_multibuttonentry.eo
index e1ea0d439..f10b9b0c0 100644
--- a/src/lib/elm_multibuttonentry.eo
+++ b/src/lib/elm_multibuttonentry.eo
@@ -273,8 +273,6 @@ class Elm.Multibuttonentry (Elm.Layout)
item,deleted;
item,clicked;
item,longpressed;
- focused;
- unfocused;
expanded;
contracted;
expand,state,changed;
diff --git a/src/lib/elm_naviframe.eo b/src/lib/elm_naviframe.eo
index 59af326ef..aa7ab0708 100644
--- a/src/lib/elm_naviframe.eo
+++ b/src/lib/elm_naviframe.eo
@@ -280,8 +280,6 @@ class Elm.Naviframe (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
title,clicked;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_panel.eo b/src/lib/elm_panel.eo
index c4970e2ef..4d5d8076d 100644
--- a/src/lib/elm_panel.eo
+++ b/src/lib/elm_panel.eo
@@ -116,9 +116,4 @@ class Elm.Panel (Elm.Layout, Elm_Interface_Scrollable,
Elm.Layout.sizing_eval;
Elm_Interface_Atspi_Widget_Action.elm_actions.get;
}
- events {
- focused;
- unfocused;
- }
-
}
diff --git a/src/lib/elm_photocam.eo b/src/lib/elm_photocam.eo
index 6866d9e1d..8cf5e0299 100644
--- a/src/lib/elm_photocam.eo
+++ b/src/lib/elm_photocam.eo
@@ -248,8 +248,6 @@ class Elm.Photocam (Elm.Widget, Elm_Interface_Scrollable,
download,progress;
download,done;
download,error;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_photocam_pan.eo b/src/lib/elm_photocam_pan.eo
index 53dc0815d..5b56f2193 100644
--- a/src/lib/elm_photocam_pan.eo
+++ b/src/lib/elm_photocam_pan.eo
@@ -21,8 +21,6 @@ class Elm.Photocam_Pan (Elm_Pan)
download,progress;
download,done;
download,error;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_player.eo b/src/lib/elm_player.eo
index 5a687a6a1..3f7b2000a 100644
--- a/src/lib/elm_player.eo
+++ b/src/lib/elm_player.eo
@@ -25,8 +25,6 @@ class Elm.Player (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
volume,clicked;
mute,clicked;
language,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_popup.eo b/src/lib/elm_popup.eo
index 341537ce6..3d6b64f84 100644
--- a/src/lib/elm_popup.eo
+++ b/src/lib/elm_popup.eo
@@ -184,8 +184,6 @@ class Elm.Popup (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
item,unfocused;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_progressbar.eo b/src/lib/elm_progressbar.eo
index 1364f5691..cfc826c12 100644
--- a/src/lib/elm_progressbar.eo
+++ b/src/lib/elm_progressbar.eo
@@ -289,8 +289,6 @@ class Elm.Progressbar (Elm.Layout)
changed;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_radio.eo b/src/lib/elm_radio.eo
index 686072b13..caed8f0fe 100644
--- a/src/lib/elm_radio.eo
+++ b/src/lib/elm_radio.eo
@@ -96,8 +96,6 @@ class Elm.Radio (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
changed;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_scroller.eo b/src/lib/elm_scroller.eo
index e9b36e744..36b615117 100644
--- a/src/lib/elm_scroller.eo
+++ b/src/lib/elm_scroller.eo
@@ -117,8 +117,6 @@ class Elm.Scroller (Elm.Layout, Elm_Interface_Scrollable,
Elm_Interface_Atspi_Widget_Action.elm_actions.get;
}
events {
- focused;
- unfocused;
scroll,page,changed;
hbar,unpress;
hbar,press;
diff --git a/src/lib/elm_slider.eo b/src/lib/elm_slider.eo
index 18d55f3fa..0371794ad 100644
--- a/src/lib/elm_slider.eo
+++ b/src/lib/elm_slider.eo
@@ -416,8 +416,6 @@ class Elm.Slider (Elm.Layout, Elm_Interface_Atspi_Value,
slider,drag,stop;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_slideshow.eo b/src/lib/elm_slideshow.eo
index 47f4cbfe7..bfedc946a 100644
--- a/src/lib/elm_slideshow.eo
+++ b/src/lib/elm_slideshow.eo
@@ -429,8 +429,6 @@ class Elm.Slideshow (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
transition,end;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_spinner.eo b/src/lib/elm_spinner.eo
index 3ba4c7ac1..4d99c9ce3 100644
--- a/src/lib/elm_spinner.eo
+++ b/src/lib/elm_spinner.eo
@@ -387,7 +387,5 @@ class Elm.Spinner (Elm.Layout, Elm_Interface_Atspi_Value, Elm_Interface_Atspi_Wi
spinner,drag,stop;
language,changed;
access,changed;
- focused;
- unfocused;
}
}
diff --git a/src/lib/elm_toolbar.eo b/src/lib/elm_toolbar.eo
index 78b423b4b..0727ce128 100644
--- a/src/lib/elm_toolbar.eo
+++ b/src/lib/elm_toolbar.eo
@@ -552,8 +552,6 @@ class Elm.Toolbar (Elm.Widget, Elm_Interface_Scrollable,
events {
language,changed;
access,changed;
- focused;
- unfocused;
item,focused;
item,unfocused;
}
diff --git a/src/lib/elm_video.eo b/src/lib/elm_video.eo
index c38997cfc..6198161ae 100644
--- a/src/lib/elm_video.eo
+++ b/src/lib/elm_video.eo
@@ -119,9 +119,4 @@ class Elm.Video (Elm.Layout, Efl.File, Elm_Interface_Atspi_Widget_Action)
Elm.Layout.sizing_eval;
Elm_Interface_Atspi_Widget_Action.elm_actions.get;
}
- events {
- focused;
- unfocused;
- }
-
}
diff --git a/src/lib/elm_web.eo b/src/lib/elm_web.eo
index a9ff918a0..5fe9b32ca 100644
--- a/src/lib/elm_web.eo
+++ b/src/lib/elm_web.eo
@@ -673,8 +673,6 @@ class Elm.Web (Elm.Widget)
events {
uri,changed; [[s]]
url,changed; [[s]]
- focused;
- unfocused;
windows,close,request;
}
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 1d1a6145d..b3b15362a 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1080,7 +1080,7 @@ _elm_win_focus_in(Ecore_Evas *ee)
else
elm_widget_focus_restore(obj);
}
- eo_do(obj, eo_event_callback_call(ELM_WIN_EVENT_FOCUSED, NULL));
+ eo_do(obj, eo_event_callback_call(ELM_WIDGET_EVENT_FOCUSED, NULL));
sd->focus_highlight.cur.visible = EINA_TRUE;
_elm_win_focus_highlight_reconfigure_job_start(sd);
if (sd->frame_obj)
@@ -1112,7 +1112,7 @@ _elm_win_focus_out(Ecore_Evas *ee)
elm_object_focus_set(obj, EINA_FALSE);
_elm_widget_top_win_focused_set(obj, EINA_FALSE);
- eo_do(obj, eo_event_callback_call(ELM_WIN_EVENT_UNFOCUSED, NULL));
+ eo_do(obj, eo_event_callback_call(ELM_WIDGET_EVENT_UNFOCUSED, NULL));
sd->focus_highlight.cur.visible = EINA_FALSE;
_elm_win_focus_highlight_reconfigure_job_start(sd);
if (sd->frame_obj)
diff --git a/src/lib/elm_win.eo b/src/lib/elm_win.eo
index faec4c9a1..e67b52c62 100644
--- a/src/lib/elm_win.eo
+++ b/src/lib/elm_win.eo
@@ -1663,8 +1663,6 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
indicator,prop,changed;
rotation,changed;
profile,changed;
- focused;
- unfocused;
wm,rotation,changed;
animator,tick;
theme,changed;