summaryrefslogtreecommitdiff
path: root/efl
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2016-01-10 13:09:19 +0100
committerDave Andreoli <dave@gurumeditation.it>2016-01-10 13:09:19 +0100
commit458121f6be1c6b9b911c8f65fdc728ecc623e71d (patch)
tree5561b7c28ecfa6426aeebf5574605730ff882f8d /efl
parentf3e6315413e84fedc08cee4478c5784cd47cd163 (diff)
Moved (un)focused and language,changed events down to Object.
There is no need to replicate this events in every widget, they belong to Object
Diffstat (limited to 'efl')
-rw-r--r--efl/elementary/bubble.pxi21
-rw-r--r--efl/elementary/button.pxi21
-rw-r--r--efl/elementary/calendar.pxi19
-rw-r--r--efl/elementary/check.pxi19
-rw-r--r--efl/elementary/clock.pxi19
-rw-r--r--efl/elementary/colorselector.pxi19
-rw-r--r--efl/elementary/ctxpopup.pxi26
-rw-r--r--efl/elementary/datetime.pxi31
-rw-r--r--efl/elementary/dayselector.pxi7
-rw-r--r--efl/elementary/diskselector.pxi20
-rw-r--r--efl/elementary/entry.pxi21
-rw-r--r--efl/elementary/fileselector_button.pxi10
-rw-r--r--efl/elementary/fileselector_entry.pxi24
-rw-r--r--efl/elementary/flipselector.pxi19
-rw-r--r--efl/elementary/gengrid_widget.pxi26
-rw-r--r--efl/elementary/genlist_widget.pxi26
-rw-r--r--efl/elementary/glview.pyx27
-rw-r--r--efl/elementary/hover.pxi20
-rw-r--r--efl/elementary/index.pxi26
-rw-r--r--efl/elementary/label.pxi7
-rw-r--r--efl/elementary/layout.pxi6
-rw-r--r--efl/elementary/list.pxi34
-rw-r--r--efl/elementary/map.pxi28
-rw-r--r--efl/elementary/multibuttonentry.pxi12
-rw-r--r--efl/elementary/naviframe.pxi19
-rw-r--r--efl/elementary/object.pxi48
-rw-r--r--efl/elementary/panel.pxi19
-rw-r--r--efl/elementary/photocam.pxi19
-rw-r--r--efl/elementary/popup.pxi30
-rw-r--r--efl/elementary/progressbar.pxi19
-rw-r--r--efl/elementary/radio.pxi19
-rw-r--r--efl/elementary/scroller.pxi21
-rw-r--r--efl/elementary/slider.pxi19
-rw-r--r--efl/elementary/slideshow.pxi19
-rw-r--r--efl/elementary/spinner.pxi26
-rw-r--r--efl/elementary/toolbar.pxi27
-rw-r--r--efl/elementary/video.pxi38
-rw-r--r--efl/elementary/web.pxi21
-rw-r--r--efl/elementary/window.pxi20
39 files changed, 48 insertions, 804 deletions
diff --git a/efl/elementary/bubble.pxi b/efl/elementary/bubble.pxi
index e8662e8..a7cd27d 100644
--- a/efl/elementary/bubble.pxi
+++ b/efl/elementary/bubble.pxi
@@ -65,26 +65,5 @@ cdef class Bubble(LayoutClass):
65 def callback_clicked_del(self, func): 65 def callback_clicked_del(self, func):
66 self._callback_del("clicked", func) 66 self._callback_del("clicked", func)
67 67
68 def callback_focused_add(self, func, *args, **kwargs):
69 """When the bubble has received focus.
70
71 .. versionadded:: 1.8
72
73 """
74 self._callback_add("focused", func, args, kwargs)
75
76 def callback_focused_del(self, func):
77 self._callback_del("focused", func)
78
79 def callback_unfocused_add(self, func, *args, **kwargs):
80 """When the bubble has lost focus.
81
82 .. versionadded:: 1.8
83
84 """
85 self._callback_add("unfocused", func, args, kwargs)
86
87 def callback_unfocused_del(self, func):
88 self._callback_del("unfocused", func)
89 68
90_object_mapping_register("Elm_Bubble", Bubble) 69_object_mapping_register("Elm_Bubble", Bubble)
diff --git a/efl/elementary/button.pxi b/efl/elementary/button.pxi
index 67955cc..9abb7c9 100644
--- a/efl/elementary/button.pxi
+++ b/efl/elementary/button.pxi
@@ -134,26 +134,5 @@ cdef class Button(LayoutClass):
134 def callback_unpressed_del(self, func): 134 def callback_unpressed_del(self, func):
135 self._callback_del("unpressed", func) 135 self._callback_del("unpressed", func)
136 136
137 def callback_focused_add(self, func, *args, **kwargs):
138 """When the button has received focus.
139
140 .. versionadded:: 1.8
141
142 """
143 self._callback_add("focused", func, args, kwargs)
144
145 def callback_focused_del(self, func):
146 self._callback_del("focused", func)
147
148 def callback_unfocused_add(self, func, *args, **kwargs):
149 """When the button has lost focus.
150
151 .. versionadded:: 1.8
152
153 """
154 self._callback_add("unfocused", func, args, kwargs)
155
156 def callback_unfocused_del(self, func):
157 self._callback_del("unfocused", func)
158 137
159_object_mapping_register("Elm_Button", Button) 138_object_mapping_register("Elm_Button", Button)
diff --git a/efl/elementary/calendar.pxi b/efl/elementary/calendar.pxi
index 6df7765..a26bfd1 100644
--- a/efl/elementary/calendar.pxi
+++ b/efl/elementary/calendar.pxi
@@ -390,24 +390,5 @@ cdef class Calendar(LayoutClass):
390 def callback_changed_del(self, func): 390 def callback_changed_del(self, func):
391 self._callback_del("display,changed", func) 391 self._callback_del("display,changed", func)
392 392
393 def callback_focused_add(self, func, *args, **kwargs):
394 """When the calendar has received focus.
395
396 .. versionadded:: 1.8
397 """
398 self._callback_add("focused", func, args, kwargs)
399
400 def callback_focused_del(self, func):
401 self._callback_del("focused", func)
402
403 def callback_unfocused_add(self, func, *args, **kwargs):
404 """When the calendar has lost focus.
405
406 .. versionadded:: 1.8
407 """
408 self._callback_add("unfocused", func, args, kwargs)
409
410 def callback_unfocused_del(self, func):
411 self._callback_del("unfocused", func)
412 393
413_object_mapping_register("Elm_Calendar", Calendar) 394_object_mapping_register("Elm_Calendar", Calendar)
diff --git a/efl/elementary/check.pxi b/efl/elementary/check.pxi
index 3a77f2f..353b2f3 100644
--- a/efl/elementary/check.pxi
+++ b/efl/elementary/check.pxi
@@ -64,24 +64,5 @@ cdef class Check(LayoutClass):
64 def callback_changed_del(self, func): 64 def callback_changed_del(self, func):
65 self._callback_del("changed", func) 65 self._callback_del("changed", func)
66 66
67 def callback_focused_add(self, func, *args, **kwargs):
68 """When the check has received focus.
69
70 .. versionadded:: 1.8
71 """
72 self._callback_add("focused", func, args, kwargs)
73
74 def callback_focused_del(self, func):
75 self._callback_del("focused", func)
76
77 def callback_unfocused_add(self, func, *args, **kwargs):
78 """When the check has lost focus.
79
80 .. versionadded:: 1.8
81 """
82 self._callback_add("unfocused", func, args, kwargs)
83
84 def callback_unfocused_del(self, func):
85 self._callback_del("unfocused", func)
86 67
87_object_mapping_register("Elm_Check", Check) 68_object_mapping_register("Elm_Check", Check)
diff --git a/efl/elementary/clock.pxi b/efl/elementary/clock.pxi
index 6fa5ca8..d624e68 100644
--- a/efl/elementary/clock.pxi
+++ b/efl/elementary/clock.pxi
@@ -220,24 +220,5 @@ cdef class Clock(LayoutClass):
220 def callback_changed_del(self, func): 220 def callback_changed_del(self, func):
221 self._callback_del("changed", func) 221 self._callback_del("changed", func)
222 222
223 def callback_focused_add(self, func, *args, **kwargs):
224 """When the clock has received focus.
225
226 .. versionadded:: 1.8
227 """
228 self._callback_add("focused", func, args, kwargs)
229
230 def callback_focused_del(self, func):
231 self._callback_del("focused", func)
232
233 def callback_unfocused_add(self, func, *args, **kwargs):
234 """When the clock has lost focus.
235
236 .. versionadded:: 1.8
237 """
238 self._callback_add("unfocused", func, args, kwargs)
239
240 def callback_unfocused_del(self, func):
241 self._callback_del("unfocused", func)
242 223
243_object_mapping_register("Elm_Clock", Clock) 224_object_mapping_register("Elm_Clock", Clock)
diff --git a/efl/elementary/colorselector.pxi b/efl/elementary/colorselector.pxi
index ecbc2cc..e9c8f83 100644
--- a/efl/elementary/colorselector.pxi
+++ b/efl/elementary/colorselector.pxi
@@ -279,24 +279,5 @@ cdef class Colorselector(LayoutClass):
279 self._callback_del_full("color,item,longpressed", 279 self._callback_del_full("color,item,longpressed",
280 _cb_object_item_conv, func) 280 _cb_object_item_conv, func)
281 281
282 def callback_focused_add(self, func, *args, **kwargs):
283 """When the check has received focus.
284
285 .. versionadded:: 1.8
286 """
287 self._callback_add("focused", func, args, kwargs)
288
289 def callback_focused_del(self, func):
290 self._callback_del("focused", func)
291
292 def callback_unfocused_add(self, func, *args, **kwargs):
293 """When the check has lost focus.
294
295 .. versionadded:: 1.8
296 """
297 self._callback_add("unfocused", func, args, kwargs)
298
299 def callback_unfocused_del(self, func):
300 self._callback_del("unfocused", func)
301 282
302_object_mapping_register("Elm_Colorselector", Colorselector) 283_object_mapping_register("Elm_Colorselector", Colorselector)
diff --git a/efl/elementary/ctxpopup.pxi b/efl/elementary/ctxpopup.pxi
index 51d5768..857fa97 100644
--- a/efl/elementary/ctxpopup.pxi
+++ b/efl/elementary/ctxpopup.pxi
@@ -395,31 +395,5 @@ cdef class Ctxpopup(LayoutClass):
395 def callback_dismissed_del(self, func): 395 def callback_dismissed_del(self, func):
396 self._callback_del("dismissed", func) 396 self._callback_del("dismissed", func)
397 397
398 def callback_language_changed_add(self, func, *args, **kwargs):
399 """This is called when the program's language is changed."""
400 self._callback_add("language,changed", func, args, kwargs)
401
402 def callback_language_changed_del(self, func):
403 self._callback_del("language,changed", func)
404
405 def callback_focused_add(self, func, *args, **kwargs):
406 """When the ctxpopup has received focus.
407
408 .. versionadded:: 1.8
409 """
410 self._callback_add("focused", func, args, kwargs)
411
412 def callback_focused_del(self, func):
413 self._callback_del("focused", func)
414
415 def callback_unfocused_add(self, func, *args, **kwargs):
416 """When the ctxpopup has lost focus.
417
418 .. versionadded:: 1.8
419 """
420 self._callback_add("unfocused", func, args, kwargs)
421
422 def callback_unfocused_del(self, func):
423 self._callback_del("unfocused", func)
424 398
425_object_mapping_register("Elm_Ctxpopup", Ctxpopup) 399_object_mapping_register("Elm_Ctxpopup", Ctxpopup)
diff --git a/efl/elementary/datetime.pxi b/efl/elementary/datetime.pxi
index 0fab64b..768c3de 100644
--- a/efl/elementary/datetime.pxi
+++ b/efl/elementary/datetime.pxi
@@ -346,36 +346,5 @@ cdef class Datetime(Object):
346 def callback_changed_del(self, func): 346 def callback_changed_del(self, func):
347 self._callback_del("changed", func) 347 self._callback_del("changed", func)
348 348
349 @DEPRECATED("1.10", "Use callback_language_changed_add instead.")
350 def callback_languge_changed_add(self, func, *args, **kwargs):
351 """Whenever system locale changes, this signal is sent."""
352 self._callback_add("language,changed", func, args, kwargs)
353
354 def callback_language_changed_add(self, func, *args, **kwargs):
355 """Whenever system locale changes, this signal is sent."""
356 self._callback_add("language,changed", func, args, kwargs)
357
358 def callback_language_changed_del(self, func):
359 self._callback_del("language,changed", func)
360
361 def callback_focused_add(self, func, *args, **kwargs):
362 """When the datetime has received focus.
363
364 .. versionadded:: 1.8
365 """
366 self._callback_add("focused", func, args, kwargs)
367
368 def callback_focused_del(self, func):
369 self._callback_del("focused", func)
370
371 def callback_unfocused_add(self, func, *args, **kwargs):
372 """When the datetime has lost focus.
373
374 .. versionadded:: 1.8
375 """
376 self._callback_add("unfocused", func, args, kwargs)
377
378 def callback_unfocused_del(self, func):
379 self._callback_del("unfocused", func)
380 349
381_object_mapping_register("Elm_Datetime", Datetime) 350_object_mapping_register("Elm_Datetime", Datetime)
diff --git a/efl/elementary/dayselector.pxi b/efl/elementary/dayselector.pxi
index 420025c..4821283 100644
--- a/efl/elementary/dayselector.pxi
+++ b/efl/elementary/dayselector.pxi
@@ -133,12 +133,5 @@ cdef class Dayselector(LayoutClass):
133 def callback_dayselector_changed_del(self, func): 133 def callback_dayselector_changed_del(self, func):
134 self._callback_del("dayselector,changed", func) 134 self._callback_del("dayselector,changed", func)
135 135
136 def callback_language_changed_add(self, func, *args, **kwargs):
137 """the program's language changed"""
138 self._callback_add("language,changed", func, args, kwargs)
139
140 def callback_language_changed_del(self, func):
141 self._callback_del("language,changed", func)
142
143 136
144_object_mapping_register("Elm_Dayselector", Dayselector) 137_object_mapping_register("Elm_Dayselector", Dayselector)
diff --git a/efl/elementary/diskselector.pxi b/efl/elementary/diskselector.pxi
index e6f1fb3..9b118e5 100644
--- a/efl/elementary/diskselector.pxi
+++ b/efl/elementary/diskselector.pxi
@@ -406,26 +406,6 @@ cdef class Diskselector(Object):
406 def callback_scroll_drag_stop_del(self, func): 406 def callback_scroll_drag_stop_del(self, func):
407 self._callback_del("scroll,drag,stop", func) 407 self._callback_del("scroll,drag,stop", func)
408 408
409 def callback_focused_add(self, func, *args, **kwargs):
410 """When the diskselector has received focus.
411
412 .. versionadded:: 1.8
413 """
414 self._callback_add("focused", func, args, kwargs)
415
416 def callback_focused_del(self, func):
417 self._callback_del("focused", func)
418
419 def callback_unfocused_add(self, func, *args, **kwargs):
420 """When the diskselector has lost focus.
421
422 .. versionadded:: 1.8
423 """
424 self._callback_add("unfocused", func, args, kwargs)
425
426 def callback_unfocused_del(self, func):
427 self._callback_del("unfocused", func)
428
429 409
430 property scroller_policy: 410 property scroller_policy:
431 """ 411 """
diff --git a/efl/elementary/entry.pxi b/efl/elementary/entry.pxi
index 25bd031..8e82210 100644
--- a/efl/elementary/entry.pxi
+++ b/efl/elementary/entry.pxi
@@ -1640,20 +1640,6 @@ cdef class Entry(LayoutClass):
1640 def callback_triple_clicked_del(self, func): 1640 def callback_triple_clicked_del(self, func):
1641 self._callback_del("clicked,triple", func) 1641 self._callback_del("clicked,triple", func)
1642 1642
1643 def callback_focused_add(self, func, *args, **kwargs):
1644 """The entry has received focus."""
1645 self._callback_add("focused", func, args, kwargs)
1646
1647 def callback_focused_del(self, func):
1648 self._callback_del("focused", func)
1649
1650 def callback_unfocused_add(self, func, *args, **kwargs):
1651 """The entry has lost focus."""
1652 self._callback_add("unfocused", func, args, kwargs)
1653
1654 def callback_unfocused_del(self, func):
1655 self._callback_del("unfocused", func)
1656
1657 def callback_selection_paste_add(self, func, *args, **kwargs): 1643 def callback_selection_paste_add(self, func, *args, **kwargs):
1658 """A paste of the clipboard contents was requested.""" 1644 """A paste of the clipboard contents was requested."""
1659 self._callback_add("selection,paste", func, args, kwargs) 1645 self._callback_add("selection,paste", func, args, kwargs)
@@ -1778,13 +1764,6 @@ cdef class Entry(LayoutClass):
1778 def callback_preedit_changed_del(self, func): 1764 def callback_preedit_changed_del(self, func):
1779 self._callback_del("preedit,changed", func) 1765 self._callback_del("preedit,changed", func)
1780 1766
1781 def callback_language_changed_add(self, func, *args, **kwargs):
1782 """Program language changed."""
1783 self._callback_add("language,changed", func, args, kwargs)
1784
1785 def callback_language_changed_del(self, func):
1786 self._callback_del("language,changed", func)
1787
1788 def callback_text_set_done_add(self, func, *args, **kwargs): 1767 def callback_text_set_done_add(self, func, *args, **kwargs):
1789 """Whole text has been set to the entry.""" 1768 """Whole text has been set to the entry."""
1790 self._callback_add("text,set,done", func, args, kwargs) 1769 self._callback_add("text,set,done", func, args, kwargs)
diff --git a/efl/elementary/fileselector_button.pxi b/efl/elementary/fileselector_button.pxi
index 4cf9f9e..5bb0ec0 100644
--- a/efl/elementary/fileselector_button.pxi
+++ b/efl/elementary/fileselector_button.pxi
@@ -217,15 +217,5 @@ cdef class FileselectorButton(Button):
217 def callback_file_chosen_del(self, func): 217 def callback_file_chosen_del(self, func):
218 self._callback_del_full("file,chosen", _cb_string_conv, func) 218 self._callback_del_full("file,chosen", _cb_string_conv, func)
219 219
220 def callback_language_changed_add(self, func, *args, **kwargs):
221 """The program's language changed.
222
223 .. versionadded:: 1.8.1
224
225 """
226 self._callback_add("language,changed", func, args, kwargs)
227
228 def callback_language_changed_del(self, func):
229 self._callback_del("language,changed", func)
230 220
231_object_mapping_register("Elm_Fileselector_Button", FileselectorButton) 221_object_mapping_register("Elm_Fileselector_Button", FileselectorButton)
diff --git a/efl/elementary/fileselector_entry.pxi b/efl/elementary/fileselector_entry.pxi
index d258897..002dd1b 100644
--- a/efl/elementary/fileselector_entry.pxi
+++ b/efl/elementary/fileselector_entry.pxi
@@ -282,20 +282,6 @@ cdef class FileselectorEntry(LayoutClass):
282 def callback_clicked_double_del(self, func): 282 def callback_clicked_double_del(self, func):
283 self._callback_del("clicked,double", func) 283 self._callback_del("clicked,double", func)
284 284
285 def callback_focused_add(self, func, *args, **kwargs):
286 """The entry has received focus."""
287 self._callback_add("focused", func, args, kwargs)
288
289 def callback_focused_del(self, func):
290 self._callback_del("focused", func)
291
292 def callback_unfocused_add(self, func, *args, **kwargs):
293 """The entry has lost focus."""
294 self._callback_add("unfocused", func, args, kwargs)
295
296 def callback_unfocused_del(self, func):
297 self._callback_del("unfocused", func)
298
299 def callback_selection_paste_add(self, func, *args, **kwargs): 285 def callback_selection_paste_add(self, func, *args, **kwargs):
300 """A paste action has occurred on the entry.""" 286 """A paste action has occurred on the entry."""
301 self._callback_add("selection,paste", func, args, kwargs) 287 self._callback_add("selection,paste", func, args, kwargs)
@@ -335,15 +321,5 @@ cdef class FileselectorEntry(LayoutClass):
335 def callback_file_chosen_del(self, func): 321 def callback_file_chosen_del(self, func):
336 self._callback_del_full("file,chosen", _cb_string_conv, func) 322 self._callback_del_full("file,chosen", _cb_string_conv, func)
337 323
338 def callback_language_changed_add(self, func, *args, **kwargs):
339 """The program's language changed.
340
341 .. versionadded:: 1.8.1
342
343 """
344 self._callback_add("language,changed", func, args, kwargs)
345
346 def callback_language_changed_del(self, func):
347 self._callback_del("language,changed", func)
348 324
349_object_mapping_register("Elm_Fileselector_Entry", FileselectorEntry) 325_object_mapping_register("Elm_Fileselector_Entry", FileselectorEntry)
diff --git a/efl/elementary/flipselector.pxi b/efl/elementary/flipselector.pxi
index 77980e5..1756b1f 100644
--- a/efl/elementary/flipselector.pxi
+++ b/efl/elementary/flipselector.pxi
@@ -382,24 +382,5 @@ cdef class FlipSelector(Object):
382 def callback_underflowed_del(self, func): 382 def callback_underflowed_del(self, func):
383 self._callback_del("underflowed", func) 383 self._callback_del("underflowed", func)
384 384
385 def callback_focused_add(self, func, *args, **kwargs):
386 """When the flipselector has received focus.
387
388 .. versionadded:: 1.8
389 """
390 self._callback_add("focused", func, args, kwargs)
391
392 def callback_focused_del(self, func):
393 self._callback_del("focused", func)
394
395 def callback_unfocused_add(self, func, *args, **kwargs):
396 """When the flipselector has lost focus.
397
398 .. versionadded:: 1.8
399 """
400 self._callback_add("unfocused", func, args, kwargs)
401
402 def callback_unfocused_del(self, func):
403 self._callback_del("unfocused", func)
404 385
405_object_mapping_register("Elm_Flipselector", FlipSelector) 386_object_mapping_register("Elm_Flipselector", FlipSelector)
diff --git a/efl/elementary/gengrid_widget.pxi b/efl/elementary/gengrid_widget.pxi
index e27c737..a96c35d 100644
--- a/efl/elementary/gengrid_widget.pxi
+++ b/efl/elementary/gengrid_widget.pxi
@@ -975,32 +975,6 @@ cdef class Gengrid(Object):
975 def callback_unhighlighted_del(self, func): 975 def callback_unhighlighted_del(self, func):
976 self._callback_del_full("unhighlighted", _cb_object_item_conv, func) 976 self._callback_del_full("unhighlighted", _cb_object_item_conv, func)
977 977
978 def callback_language_changed_add(self, func, *args, **kwargs):
979 """This is called when the program's language is
980 changed. Call :meth:`Gengrid.realized_items_update` if items text
981 should be translated."""
982 self.callback_add("language,changed", func, args, kwargs)
983
984 def callback_focused_add(self, func, *args, **kwargs):
985 """When the gengrid has received focus.
986
987 .. versionadded:: 1.8
988 """
989 self._callback_add("focused", func, args, kwargs)
990
991 def callback_focused_del(self, func):
992 self._callback_del("focused", func)
993
994 def callback_unfocused_add(self, func, *args, **kwargs):
995 """When the gengrid has lost focus.
996
997 .. versionadded:: 1.8
998 """
999 self._callback_add("unfocused", func, args, kwargs)
1000
1001 def callback_unfocused_del(self, func):
1002 self._callback_del("unfocused", func)
1003
1004 def callback_item_focused_add(self, func, *args, **kwargs): 978 def callback_item_focused_add(self, func, *args, **kwargs):
1005 """When the gengrid item has received focus. 979 """When the gengrid item has received focus.
1006 980
diff --git a/efl/elementary/genlist_widget.pxi b/efl/elementary/genlist_widget.pxi
index 9c86788..6961255 100644
--- a/efl/elementary/genlist_widget.pxi
+++ b/efl/elementary/genlist_widget.pxi
@@ -1009,12 +1009,6 @@ cdef class Genlist(Object):
1009 def callback_moved_before_del(self, func): 1009 def callback_moved_before_del(self, func):
1010 self._callback_del_full("moved,before", _cb_object_item_conv, func) 1010 self._callback_del_full("moved,before", _cb_object_item_conv, func)
1011 1011
1012 def callback_language_changed_add(self, func, *args, **kwargs):
1013 self._callback_add("language,changed", func, args, kwargs)
1014
1015 def callback_language_changed_del(self, func):
1016 self._callback_del("language,changed", func)
1017
1018 def callback_tree_effect_finished_add(self, func, *args, **kwargs): 1012 def callback_tree_effect_finished_add(self, func, *args, **kwargs):
1019 self._callback_add("tree,effect,finished", func, args, kwargs) 1013 self._callback_add("tree,effect,finished", func, args, kwargs)
1020 1014
@@ -1043,26 +1037,6 @@ cdef class Genlist(Object):
1043 def callback_unhighlighted_del(self, func): 1037 def callback_unhighlighted_del(self, func):
1044 self._callback_del_full("unhighlighted", _cb_object_item_conv, func) 1038 self._callback_del_full("unhighlighted", _cb_object_item_conv, func)
1045 1039
1046 def callback_focused_add(self, func, *args, **kwargs):
1047 """When the genlist has received focus.
1048
1049 .. versionadded:: 1.8
1050 """
1051 self._callback_add("focused", func, args, kwargs)
1052
1053 def callback_focused_del(self, func):
1054 self._callback_del("focused", func)
1055
1056 def callback_unfocused_add(self, func, *args, **kwargs):
1057 """When the genlist has lost focus.
1058
1059 .. versionadded:: 1.8
1060 """
1061 self._callback_add("unfocused", func, args, kwargs)
1062
1063 def callback_unfocused_del(self, func):
1064 self._callback_del("unfocused", func)
1065
1066 def callback_item_focused_add(self, func, *args, **kwargs): 1040 def callback_item_focused_add(self, func, *args, **kwargs):
1067 """When the genlist item has received focus. 1041 """When the genlist item has received focus.
1068 1042
diff --git a/efl/elementary/glview.pyx b/efl/elementary/glview.pyx
index 13668d7..c2799d3 100644
--- a/efl/elementary/glview.pyx
+++ b/efl/elementary/glview.pyx
@@ -23,13 +23,6 @@ GLView hides all the complicated evas_gl details so that the user only
23has to deal with registering a few callback functions for rendering 23has to deal with registering a few callback functions for rendering
24to a surface using OpenGL APIs. 24to a surface using OpenGL APIs.
25 25
26This widget emits the following signals, besides the ones sent from
27:py:class:`LayoutClass<efl.elementary.layout_class.LayoutClass>`:
28
29- ``focused`` - when glview has received focus.
30- ``unfocused`` - when glview has lost focus.
31- ``language,changed`` - the program's language changed
32
33 26
34Enumerations 27Enumerations
35============ 28============
@@ -346,25 +339,5 @@ cdef class GLView(LayoutClass):
346 """ 339 """
347 elm_glview_changed_set(self.obj) 340 elm_glview_changed_set(self.obj)
348 341
349 def callback_focused_add(self, func, *args, **kwargs):
350 """when glview has received focus."""
351 self._callback_add("focused", func, args, kwargs)
352
353 def callback_focused_del(self, func):
354 self._callback_del("focused", func)
355
356 def callback_unfocused_add(self, func, *args, **kwargs):
357 """when glview has lost focus."""
358 self._callback_add("unfocused", func, args, kwargs)
359
360 def callback_unfocused_del(self, func):
361 self._callback_del("unfocused", func)
362
363 def callback_language_changed_add(self, func, *args, **kwargs):
364 """the program's language changed"""
365 self._callback_add("language,changed", func, args, kwargs)
366
367 def callback_language_changed_del(self, func):
368 self._callback_del("language,changed", func)
369 342
370_object_mapping_register("Elm_Glview", GLView) 343_object_mapping_register("Elm_Glview", GLView)
diff --git a/efl/elementary/hover.pxi b/efl/elementary/hover.pxi
index 17e63fd..a390ee6 100644
--- a/efl/elementary/hover.pxi
+++ b/efl/elementary/hover.pxi
@@ -139,25 +139,5 @@ cdef class Hover(LayoutClass):
139 def callback_smart_changed_del(self, func): 139 def callback_smart_changed_del(self, func):
140 self._callback_del("smart,changed", func) 140 self._callback_del("smart,changed", func)
141 141
142 def callback_focused_add(self, func, *args, **kwargs):
143 """When the hover has received focus.
144
145 .. versionadded:: 1.8
146 """
147 self._callback_add("focused", func, args, kwargs)
148
149 def callback_focused_del(self, func):
150 self._callback_del("focused", func)
151
152 def callback_unfocused_add(self, func, *args, **kwargs):
153 """When the hover has lost focus.
154
155 .. versionadded:: 1.8
156 """
157 self._callback_add("unfocused", func, args, kwargs)
158
159 def callback_unfocused_del(self, func):
160 self._callback_del("unfocused", func)
161
162 142
163_object_mapping_register("Elm_Hover", Hover) 143_object_mapping_register("Elm_Hover", Hover)
diff --git a/efl/elementary/index.pxi b/efl/elementary/index.pxi
index d9aebd7..4828d5d 100644
--- a/efl/elementary/index.pxi
+++ b/efl/elementary/index.pxi
@@ -589,31 +589,5 @@ cdef class Index(LayoutClass):
589 def callback_level_down_del(self, func): 589 def callback_level_down_del(self, func):
590 self._callback_del("level,down", func) 590 self._callback_del("level,down", func)
591 591
592 def callback_language_changed_add(self, func, *args, **kwargs):
593 """the program's language changed"""
594 self._callback_add("language,changed", func, args, kwargs)
595
596 def callback_language_changed_del(self, func):
597 self._callback_del("language,changed", func)
598
599 def callback_focused_add(self, func, *args, **kwargs):
600 """When the index has received focus.
601
602 .. versionadded:: 1.8
603 """
604 self._callback_add("focused", func, args, kwargs)
605
606 def callback_focused_del(self, func):
607 self._callback_del("focused", func)
608
609 def callback_unfocused_add(self, func, *args, **kwargs):
610 """When the index has lost focus.
611
612 .. versionadded:: 1.8
613 """
614 self._callback_add("unfocused", func, args, kwargs)
615
616 def callback_unfocused_del(self, func):
617 self._callback_del("unfocused", func)
618 592
619_object_mapping_register("Elm_Index", Index) 593_object_mapping_register("Elm_Index", Index)
diff --git a/efl/elementary/label.pxi b/efl/elementary/label.pxi
index 668632e..34cf742 100644
--- a/efl/elementary/label.pxi
+++ b/efl/elementary/label.pxi
@@ -195,13 +195,6 @@ cdef class Label(LayoutClass):
195 """ 195 """
196 elm_label_slide_go(self.obj) 196 elm_label_slide_go(self.obj)
197 197
198 def callback_language_changed_add(self, func, *args, **kwargs):
199 """The program's language changed."""
200 self._callback_add("language,changed", func, args, kwargs)
201
202 def callback_language_changed_del(self, func):
203 self._callback_del("language,changed", func)
204
205 def callback_slide_end_add(self, func, *args, **kwargs): 198 def callback_slide_end_add(self, func, *args, **kwargs):
206 """A slide effect has ended.""" 199 """A slide effect has ended."""
207 self._callback_add("slide,end", func, args, kwargs) 200 self._callback_add("slide,end", func, args, kwargs)
diff --git a/efl/elementary/layout.pxi b/efl/elementary/layout.pxi
index efb97ab..7e88f6c 100644
--- a/efl/elementary/layout.pxi
+++ b/efl/elementary/layout.pxi
@@ -927,12 +927,6 @@ cdef class LayoutClass(Object):
927 def callback_theme_changed_del(self, func): 927 def callback_theme_changed_del(self, func):
928 self._callback_del("theme,changed", func) 928 self._callback_del("theme,changed", func)
929 929
930 def callback_language_changed_add(self,func,*args, **kwargs):
931 """the program's language changed"""
932 self._callback_add("language,changed", func, args, kwargs)
933
934 def callback_language_changed_del(self, func):
935 self._callback_del("language,changed", func)
936 930
937 931
938cdef class Layout(LayoutClass): 932cdef class Layout(LayoutClass):
diff --git a/efl/elementary/list.pxi b/efl/elementary/list.pxi
index 6735dd8..a76abcb 100644
--- a/efl/elementary/list.pxi
+++ b/efl/elementary/list.pxi
@@ -882,13 +882,6 @@ cdef class List(Object):
882 def callback_edge_right_del(self, func): 882 def callback_edge_right_del(self, func):
883 self._callback_del("edge,right", func) 883 self._callback_del("edge,right", func)
884 884
885 def callback_language_changed_add(self, func, *args, **kwargs):
886 """The program's language changed."""
887 self._callback_add("language,changed", func, args, kwargs)
888
889 def callback_language_changed_del(self, func):
890 self._callback_del("language,changed", func)
891
892 def callback_highlighted_add(self, func, *args, **kwargs): 885 def callback_highlighted_add(self, func, *args, **kwargs):
893 """an item in the list is highlighted. This is called when 886 """an item in the list is highlighted. This is called when
894 the user presses an item or keyboard selection is done so the item is 887 the user presses an item or keyboard selection is done so the item is
@@ -921,33 +914,6 @@ cdef class List(Object):
921 def callback_unhighlighted_del(self, func): 914 def callback_unhighlighted_del(self, func):
922 self._callback_del_full("unhighlighted", _cb_object_item_conv, func) 915 self._callback_del_full("unhighlighted", _cb_object_item_conv, func)
923 916
924 def callback_language_changed_add(self, func, *args, **kwargs):
925 """the program's language changed"""
926 self._callback_add("language,changed", func, args, kwargs)
927
928 def callback_language_changed_del(self, func):
929 self._callback_del("language,changed", func)
930
931 def callback_focused_add(self, func, *args, **kwargs):
932 """When the list has received focus.
933
934 .. versionadded:: 1.8
935 """
936 self._callback_add("focused", func, args, kwargs)
937
938 def callback_focused_del(self, func):
939 self._callback_del("focused", func)
940
941 def callback_unfocused_add(self, func, *args, **kwargs):
942 """When the list has lost focus.
943
944 .. versionadded:: 1.8
945 """
946 self._callback_add("unfocused", func, args, kwargs)
947
948 def callback_unfocused_del(self, func):
949 self._callback_del("unfocused", func)
950
951 def callback_item_focused_add(self, func, *args, **kwargs): 917 def callback_item_focused_add(self, func, *args, **kwargs):
952 """When the list item has received focus. 918 """When the list item has received focus.
953 919
diff --git a/efl/elementary/map.pxi b/efl/elementary/map.pxi
index e02e5e0..26dadd3 100644
--- a/efl/elementary/map.pxi
+++ b/efl/elementary/map.pxi
@@ -1618,34 +1618,6 @@ cdef class Map(Object):
1618 """ Delete a previously attached callback """ 1618 """ Delete a previously attached callback """
1619 self._callback_del("loaded", func) 1619 self._callback_del("loaded", func)
1620 1620
1621 def callback_language_changed_add(self, func, *args, **kwargs):
1622 """ Add a callback to be called on the "language,changed" signal. """
1623 self._callback_add("language,changed", func, args, kwargs)
1624
1625 def callback_language_changed_del(self, func):
1626 """ Delete a previously attached callback """
1627 self._callback_del("language,changed", func)
1628
1629 def callback_focused_add(self, func, *args, **kwargs):
1630 """When the map has received focus.
1631
1632 .. versionadded:: 1.8
1633 """
1634 self._callback_add("focused", func, args, kwargs)
1635
1636 def callback_focused_del(self, func):
1637 self._callback_del("focused", func)
1638
1639 def callback_unfocused_add(self, func, *args, **kwargs):
1640 """When the map has lost focus.
1641
1642 .. versionadded:: 1.8
1643 """
1644 self._callback_add("unfocused", func, args, kwargs)
1645
1646 def callback_unfocused_del(self, func):
1647 self._callback_del("unfocused", func)
1648
1649 property scroller_policy: 1621 property scroller_policy:
1650 """ 1622 """
1651 1623
diff --git a/efl/elementary/multibuttonentry.pxi b/efl/elementary/multibuttonentry.pxi
index 27da297..e1bfbf3 100644
--- a/efl/elementary/multibuttonentry.pxi
+++ b/efl/elementary/multibuttonentry.pxi
@@ -478,18 +478,6 @@ cdef class MultiButtonEntry(Object):
478 def callback_clicked_del(self, func): 478 def callback_clicked_del(self, func):
479 self._callback_del("clicked", func) 479 self._callback_del("clicked", func)
480 480
481 def callback_focused_add(self, func, *args, **kwargs):
482 self._callback_add("focused", func, args, kwargs)
483
484 def callback_focused_del(self, func):
485 self._callback_del("focused", func)
486
487 def callback_unfocused_add(self, func, *args, **kwargs):
488 self._callback_add("unfocused", func, args, kwargs)
489
490 def callback_unfocused_del(self, func):
491 self._callback_del("unfocused", func)
492
493 def callback_expanded_add(self, func, *args, **kwargs): 481 def callback_expanded_add(self, func, *args, **kwargs):
494 self._callback_add("expanded", func, args, kwargs) 482 self._callback_add("expanded", func, args, kwargs)
495 483
diff --git a/efl/elementary/naviframe.pxi b/efl/elementary/naviframe.pxi
index 16bf1ce..bee57e4 100644
--- a/efl/elementary/naviframe.pxi
+++ b/efl/elementary/naviframe.pxi
@@ -502,24 +502,5 @@ cdef class Naviframe(LayoutClass):
502 def callback_title_clicked_del(self, func): 502 def callback_title_clicked_del(self, func):
503 self._callback_del_full("title,clicked", _cb_object_item_conv, func) 503 self._callback_del_full("title,clicked", _cb_object_item_conv, func)
504 504
505 def callback_focused_add(self, func, *args, **kwargs):
506 """When the naviframe has received focus.
507
508 .. versionadded:: 1.8
509 """
510 self._callback_add("focused", func, args, kwargs)
511
512 def callback_focused_del(self, func):
513 self._callback_del("focused", func)
514
515 def callback_unfocused_add(self, func, *args, **kwargs):
516 """When the naviframe has lost focus.
517
518 .. versionadded:: 1.8
519 """
520 self._callback_add("unfocused", func, args, kwargs)
521
522 def callback_unfocused_del(self, func):
523 self._callback_del("unfocused", func)
524 505
525_object_mapping_register("Elm_Naviframe", Naviframe) 506_object_mapping_register("Elm_Naviframe", Naviframe)
diff --git a/efl/elementary/object.pxi b/efl/elementary/object.pxi
index 5c5ddad..fd8cb36 100644
--- a/efl/elementary/object.pxi
+++ b/efl/elementary/object.pxi
@@ -595,6 +595,54 @@ cdef class Object(SmartObject):
595 return bool(elm_object_orientation_mode_disabled_get(self.obj)) 595 return bool(elm_object_orientation_mode_disabled_get(self.obj))
596 596
597 # 597 #
598 # Smart event callbacks
599 # =====================
600
601 def callback_moved_add(self, func, *args, **kwargs):
602 """ The Object change position.
603
604 .. versionadded:: 1.17
605 """
606 self._callback_add("moved", func, args, kwargs)
607
608 def callback_moved_del(self, func):
609 """ Delete a previously attached callback """
610 self._callback_del("moved", func)
611
612 def callback_focused_add(self, func, *args, **kwargs):
613 """ The Object has received focus.
614
615 .. versionadded:: 1.8
616 """
617 self._callback_add("focused", func, args, kwargs)
618
619 def callback_focused_del(self, func):
620 """ Delete a previously attached callback """
621 self._callback_del("focused", func)
622
623 def callback_unfocused_add(self, func, *args, **kwargs):
624 """ The Object has lost focus.
625
626 .. versionadded:: 1.8
627 """
628 self._callback_add("unfocused", func, args, kwargs)
629
630 def callback_unfocused_del(self, func):
631 """ Delete a previously attached callback """
632 self._callback_del("unfocused", func)
633
634 def callback_language_changed_add(self, func, *args, **kwargs):
635 """ The program's language changed
636
637 .. versionadded:: 1.8.1
638 """
639 self._callback_add("language,changed", func, args, kwargs)
640
641 def callback_language_changed_del(self, func):
642 """ Delete a previously attached callback """
643 self._callback_del("language,changed", func)
644
645 #
598 # Cursors 646 # Cursors
599 # ======= 647 # =======
600 648
diff --git a/efl/elementary/panel.pxi b/efl/elementary/panel.pxi
index c3351ef..1cf63d0 100644
--- a/efl/elementary/panel.pxi
+++ b/efl/elementary/panel.pxi
@@ -112,24 +112,5 @@ cdef class Panel(LayoutClass):
112 """Toggle the hidden state of the panel from code.""" 112 """Toggle the hidden state of the panel from code."""
113 elm_panel_toggle(self.obj) 113 elm_panel_toggle(self.obj)
114 114
115 def callback_focused_add(self, func, *args, **kwargs):
116 """When the panel has received focus.
117
118 .. versionadded:: 1.8
119 """
120 self._callback_add("focused", func, args, kwargs)
121
122 def callback_focused_del(self, func):
123 self._callback_del("focused", func)
124
125 def callback_unfocused_add(self, func, *args, **kwargs):
126 """When the panel has lost focus.
127
128 .. versionadded:: 1.8
129 """
130 self._callback_add("unfocused", func, args, kwargs)
131
132 def callback_unfocused_del(self, func):
133 self._callback_del("unfocused", func)
134 115
135_object_mapping_register("Elm_Panel", Panel) 116_object_mapping_register("Elm_Panel", Panel)
diff --git a/efl/elementary/photocam.pxi b/efl/elementary/photocam.pxi
index c6dd88b..e6f7f7d 100644
--- a/efl/elementary/photocam.pxi
+++ b/efl/elementary/photocam.pxi
@@ -482,25 +482,6 @@ cdef class Photocam(Object):
482 def callback_download_error_del(self, func): 482 def callback_download_error_del(self, func):
483 self._callback_del_full("download,error", _photocam_download_error_conv, func) 483 self._callback_del_full("download,error", _photocam_download_error_conv, func)
484 484
485 def callback_focused_add(self, func, *args, **kwargs):
486 """When the photocam has received focus.
487
488 .. versionadded:: 1.8
489 """
490 self._callback_add("focused", func, args, kwargs)
491
492 def callback_focused_del(self, func):
493 self._callback_del("focused", func)
494
495 def callback_unfocused_add(self, func, *args, **kwargs):
496 """When the photocam has lost focus.
497
498 .. versionadded:: 1.8
499 """
500 self._callback_add("unfocused", func, args, kwargs)
501
502 def callback_unfocused_del(self, func):
503 self._callback_del("unfocused", func)
504 485
505 property scroller_policy: 486 property scroller_policy:
506 """ 487 """
diff --git a/efl/elementary/popup.pxi b/efl/elementary/popup.pxi
index a65688e..e14676a 100644
--- a/efl/elementary/popup.pxi
+++ b/efl/elementary/popup.pxi
@@ -225,36 +225,6 @@ cdef class Popup(LayoutClass):
225 def callback_block_clicked_del(self, func): 225 def callback_block_clicked_del(self, func):
226 self._callback_del("block,clicked", func) 226 self._callback_del("block,clicked", func)
227 227
228 def callback_focused_add(self, func, *args, **kwargs):
229 """When the popup has received focus.
230
231 .. versionadded:: 1.8
232 """
233 self._callback_add("focused", func, args, kwargs)
234
235 def callback_focused_del(self, func):
236 self._callback_del("focused", func)
237
238 def callback_unfocused_add(self, func, *args, **kwargs):
239 """When the popup has lost focus.
240
241 .. versionadded:: 1.8
242 """
243 self._callback_add("unfocused", func, args, kwargs)
244
245 def callback_unfocused_del(self, func):
246 self._callback_del("unfocused", func)
247
248 def callback_language_changed_add(self, func, *args, **kwargs):
249 """the program's language changed
250
251 .. versionadded:: 1.8
252 """
253 self._callback_add("language,changed", func, args, kwargs)
254
255 def callback_language_changed_del(self, func):
256 self._callback_del("language,changed", func)
257
258 def callback_item_focused_add(self, func, *args, **kwargs): 228 def callback_item_focused_add(self, func, *args, **kwargs):
259 """When the popup item has received focus. 229 """When the popup item has received focus.
260 230
diff --git a/efl/elementary/progressbar.pxi b/efl/elementary/progressbar.pxi
index 11519bb..b48a16f 100644
--- a/efl/elementary/progressbar.pxi
+++ b/efl/elementary/progressbar.pxi
@@ -248,24 +248,5 @@ cdef class Progressbar(LayoutClass):
248 def callback_changed_del(self, func): 248 def callback_changed_del(self, func):
249 self._callback_del("changed", func) 249 self._callback_del("changed", func)
250 250
251 def callback_focused_add(self, func, *args, **kwargs):
252 """When the progressbar has received focus.
253
254 .. versionadded:: 1.8
255 """
256 self._callback_add("focused", func, args, kwargs)
257
258 def callback_focused_del(self, func):
259 self._callback_del("focused", func)
260
261 def callback_unfocused_add(self, func, *args, **kwargs):
262 """When the progressbar has lost focus.
263
264 .. versionadded:: 1.8
265 """
266 self._callback_add("unfocused", func, args, kwargs)
267
268 def callback_unfocused_del(self, func):
269 self._callback_del("unfocused", func)
270 251
271_object_mapping_register("Elm_Progressbar", Progressbar) 252_object_mapping_register("Elm_Progressbar", Progressbar)
diff --git a/efl/elementary/radio.pxi b/efl/elementary/radio.pxi
index 70f82bb..9778a5c 100644
--- a/efl/elementary/radio.pxi
+++ b/efl/elementary/radio.pxi
@@ -128,24 +128,5 @@ cdef class Radio(LayoutClass):
128 def callback_changed_del(self, func): 128 def callback_changed_del(self, func):
129 self._callback_del("changed", func) 129 self._callback_del("changed", func)
130 130
131 def callback_focused_add(self, func, *args, **kwargs):
132 """When the radio has received focus.
133
134 .. versionadded:: 1.8
135 """
136 self._callback_add("focused", func, args, kwargs)
137
138 def callback_focused_del(self, func):
139 self._callback_del("focused", func)
140
141 def callback_unfocused_add(self, func, *args, **kwargs):
142 """When the radio has lost focus.
143
144 .. versionadded:: 1.8
145 """
146 self._callback_add("unfocused", func, args, kwargs)
147
148 def callback_unfocused_del(self, func):
149 self._callback_del("unfocused", func)
150 131
151_object_mapping_register("Elm_Radio", Radio) 132_object_mapping_register("Elm_Radio", Radio)
diff --git a/efl/elementary/scroller.pxi b/efl/elementary/scroller.pxi
index deff9d7..215db4b 100644
--- a/efl/elementary/scroller.pxi
+++ b/efl/elementary/scroller.pxi
@@ -669,7 +669,6 @@ cdef class Scrollable(Object):
669 def callback_scroll_down_del(self, func): 669 def callback_scroll_down_del(self, func):
670 self._callback_del("scroll,down", func) 670 self._callback_del("scroll,down", func)
671 671
672
673 def callback_scroll_anim_start_add(self, func, *args, **kwargs): 672 def callback_scroll_anim_start_add(self, func, *args, **kwargs):
674 """Scrolling animation has started.""" 673 """Scrolling animation has started."""
675 self._callback_add("scroll,anim,start", func, args, kwargs) 674 self._callback_add("scroll,anim,start", func, args, kwargs)
@@ -747,26 +746,6 @@ cdef class Scrollable(Object):
747 def callback_scroll_page_changed_del(self, func): 746 def callback_scroll_page_changed_del(self, func):
748 self._callback_del("scroll,page,changed", func) 747 self._callback_del("scroll,page,changed", func)
749 748
750 def callback_focused_add(self, func, *args, **kwargs):
751 """When the scroller has received focus.
752
753 .. versionadded:: 1.8
754 """
755 self._callback_add("focused", func, args, kwargs)
756
757 def callback_focused_del(self, func):
758 self._callback_del("focused", func)
759
760 def callback_unfocused_add(self, func, *args, **kwargs):
761 """When the scroller has lost focus.
762
763 .. versionadded:: 1.8
764 """
765 self._callback_add("unfocused", func, args, kwargs)
766
767 def callback_unfocused_del(self, func):
768 self._callback_del("unfocused", func)
769
770 749
771cdef class _ScrollerWidget(LayoutClass): 750cdef class _ScrollerWidget(LayoutClass):
772 def __init__(self, evasObject parent, *args, **kwargs): 751 def __init__(self, evasObject parent, *args, **kwargs):
diff --git a/efl/elementary/slider.pxi b/efl/elementary/slider.pxi
index d9c409e..82d124c 100644
--- a/efl/elementary/slider.pxi
+++ b/efl/elementary/slider.pxi
@@ -377,24 +377,5 @@ cdef class Slider(LayoutClass):
377 def callback_delay_changed_del(self, func): 377 def callback_delay_changed_del(self, func):
378 self._callback_del("delay,changed", func) 378 self._callback_del("delay,changed", func)
379 379
380 def callback_focused_add(self, func, *args, **kwargs):
381 """When the slider has received focus.
382
383 .. versionadded:: 1.8
384 """
385 self._callback_add("focused", func, args, kwargs)
386
387 def callback_focused_del(self, func):
388 self._callback_del("focused", func)
389
390 def callback_unfocused_add(self, func, *args, **kwargs):
391 """When the slider has lost focus.
392
393 .. versionadded:: 1.8
394 """
395 self._callback_add("unfocused", func, args, kwargs)
396
397 def callback_unfocused_del(self, func):
398 self._callback_del("unfocused", func)
399 380
400_object_mapping_register("Elm_Slider", Slider) 381_object_mapping_register("Elm_Slider", Slider)
diff --git a/efl/elementary/slideshow.pxi b/efl/elementary/slideshow.pxi
index 65a7892..ac177c7 100644
--- a/efl/elementary/slideshow.pxi
+++ b/efl/elementary/slideshow.pxi
@@ -673,24 +673,5 @@ cdef class Slideshow(LayoutClass):
673 def callback_transition_end_del(self, func): 673 def callback_transition_end_del(self, func):
674 self._callback_del_full("transition,end", _cb_object_item_conv, func) 674 self._callback_del_full("transition,end", _cb_object_item_conv, func)
675 675
676 def callback_focused_add(self, func, *args, **kwargs):
677 """When the slideshow has received focus.
678
679 .. versionadded:: 1.8
680 """
681 self._callback_add("focused", func, args, kwargs)
682
683 def callback_focused_del(self, func):
684 self._callback_del("focused", func)
685
686 def callback_unfocused_add(self, func, *args, **kwargs):
687 """When the slideshow has lost focus.
688
689 .. versionadded:: 1.8
690 """
691 self._callback_add("unfocused", func, args, kwargs)
692
693 def callback_unfocused_del(self, func):
694 self._callback_del("unfocused", func)
695 676
696_object_mapping_register("Elm_Slideshow", Slideshow) 677_object_mapping_register("Elm_Slideshow", Slideshow)
diff --git a/efl/elementary/spinner.pxi b/efl/elementary/spinner.pxi
index bfeaf6a..1baa094 100644
--- a/efl/elementary/spinner.pxi
+++ b/efl/elementary/spinner.pxi
@@ -367,31 +367,5 @@ cdef class Spinner(LayoutClass):
367 def callback_delay_changed_del(self, func): 367 def callback_delay_changed_del(self, func):
368 self._callback_del("delay,changed", func) 368 self._callback_del("delay,changed", func)
369 369
370 def callback_language_changed_add(self, func, *args, **kwargs):
371 """the program's language changed"""
372 self._callback_add("language,changed", func, args, kwargs)
373
374 def callback_language_changed_del(self, func):
375 self._callback_del("language,changed", func)
376
377 def callback_focused_add(self, func, *args, **kwargs):
378 """When the spinner has received focus.
379
380 .. versionadded:: 1.8
381 """
382 self._callback_add("focused", func, args, kwargs)
383
384 def callback_focused_del(self, func):
385 self._callback_del("focused", func)
386
387 def callback_unfocused_add(self, func, *args, **kwargs):
388 """When the spinner has lost focus.
389
390 .. versionadded:: 1.8
391 """
392 self._callback_add("unfocused", func, args, kwargs)
393
394 def callback_unfocused_del(self, func):
395 self._callback_del("unfocused", func)
396 370
397_object_mapping_register("Elm_Spinner", Spinner) 371_object_mapping_register("Elm_Spinner", Spinner)
diff --git a/efl/elementary/toolbar.pxi b/efl/elementary/toolbar.pxi
index 3f2e24f..e9aee57 100644
--- a/efl/elementary/toolbar.pxi
+++ b/efl/elementary/toolbar.pxi
@@ -952,33 +952,6 @@ cdef class Toolbar(LayoutClass):
952 def callback_longpressed_del(self, func): 952 def callback_longpressed_del(self, func):
953 self._callback_del_full("longpressed", _cb_object_item_conv, func) 953 self._callback_del_full("longpressed", _cb_object_item_conv, func)
954 954
955 def callback_language_changed_add(self, func, *args, **kwargs):
956 """When the program language changes."""
957 self._callback_add("language,changed", func, args, kwargs)
958
959 def callback_language_changed_del(self, func):
960 self._callback_del("language,changed", func)
961
962 def callback_focused_add(self, func, *args, **kwargs):
963 """When the toolbar has received focus.
964
965 .. versionadded:: 1.8
966 """
967 self._callback_add("focused", func, args, kwargs)
968
969 def callback_focused_del(self, func):
970 self._callback_del("focused", func)
971
972 def callback_unfocused_add(self, func, *args, **kwargs):
973 """When the toolbar has lost focus.
974
975 .. versionadded:: 1.8
976 """
977 self._callback_add("unfocused", func, args, kwargs)
978
979 def callback_unfocused_del(self, func):
980 self._callback_del("unfocused", func)
981
982 def callback_item_focused_add(self, func, *args, **kwargs): 955 def callback_item_focused_add(self, func, *args, **kwargs):
983 """When the toolbar item has received focus. 956 """When the toolbar item has received focus.
984 957
diff --git a/efl/elementary/video.pxi b/efl/elementary/video.pxi
index 5330ba7..aa7c8dc 100644
--- a/efl/elementary/video.pxi
+++ b/efl/elementary/video.pxi
@@ -228,25 +228,6 @@ cdef class Video(LayoutClass):
228 def title_get(self): 228 def title_get(self):
229 return _ctouni(elm_video_title_get(self.obj)) 229 return _ctouni(elm_video_title_get(self.obj))
230 230
231 def callback_focused_add(self, func, *args, **kwargs):
232 """When the video has received focus.
233
234 .. versionadded:: 1.8
235 """
236 self._callback_add("focused", func, args, kwargs)
237
238 def callback_focused_del(self, func):
239 self._callback_del("focused", func)
240
241 def callback_unfocused_add(self, func, *args, **kwargs):
242 """When the video has lost focus.
243
244 .. versionadded:: 1.8
245 """
246 self._callback_add("unfocused", func, args, kwargs)
247
248 def callback_unfocused_del(self, func):
249 self._callback_del("unfocused", func)
250 231
251_object_mapping_register("Elm_Video", Video) 232_object_mapping_register("Elm_Video", Video)
252 233
@@ -347,24 +328,5 @@ cdef class Player(LayoutClass):
347 def callback_stop_clicked_del(self, func): 328 def callback_stop_clicked_del(self, func):
348 self._callback_del("stop,clicked", func) 329 self._callback_del("stop,clicked", func)
349 330
350 def callback_focused_add(self, func, *args, **kwargs):
351 """When the player has received focus.
352
353 .. versionadded:: 1.8
354 """
355 self._callback_add("focused", func, args, kwargs)
356
357 def callback_focused_del(self, func):
358 self._callback_del("focused", func)
359
360 def callback_unfocused_add(self, func, *args, **kwargs):
361 """When the player has lost focus.
362
363 .. versionadded:: 1.8
364 """
365 self._callback_add("unfocused", func, args, kwargs)
366
367 def callback_unfocused_del(self, func):
368 self._callback_del("unfocused", func)
369 331
370_object_mapping_register("Elm_Player", Player) 332_object_mapping_register("Elm_Player", Player)
diff --git a/efl/elementary/web.pxi b/efl/elementary/web.pxi
index 19c2c19..b9ee90d 100644
--- a/efl/elementary/web.pxi
+++ b/efl/elementary/web.pxi
@@ -1089,27 +1089,6 @@ cdef class Web(Object):
1089 def callback_zoom_animated_end_del(self, func): 1089 def callback_zoom_animated_end_del(self, func):
1090 self._callback_del("zoom,animated,end", func) 1090 self._callback_del("zoom,animated,end", func)
1091 1091
1092 def callback_focused_add(self, func, *args, **kwargs):
1093 """When the web has received focus.
1094
1095 .. versionadded:: 1.8
1096
1097 """
1098 self._callback_add("focused", func, args, kwargs)
1099
1100 def callback_focused_del(self, func):
1101 self._callback_del("focused", func)
1102
1103 def callback_unfocused_add(self, func, *args, **kwargs):
1104 """When the web has lost focus.
1105
1106 .. versionadded:: 1.8
1107
1108 """
1109 self._callback_add("unfocused", func, args, kwargs)
1110
1111 def callback_unfocused_del(self, func):
1112 self._callback_del("unfocused", func)
1113 1092
1114 1093
1115_object_mapping_register("Elm_Web", Web) 1094_object_mapping_register("Elm_Web", Web)
diff --git a/efl/elementary/window.pxi b/efl/elementary/window.pxi
index ae0665f..bbf9346 100644
--- a/efl/elementary/window.pxi
+++ b/efl/elementary/window.pxi
@@ -1454,26 +1454,6 @@ cdef class Window(Object):
1454 def callback_profile_changed_del(self, func): 1454 def callback_profile_changed_del(self, func):
1455 self._callback_del("profile,changed", func) 1455 self._callback_del("profile,changed", func)
1456 1456
1457 def callback_focused_add(self, func, *args, **kwargs):
1458 """When the window has received focus.
1459
1460 .. versionadded:: 1.8
1461 """
1462 self._callback_add("focused", func, args, kwargs)
1463
1464 def callback_focused_del(self, func):
1465 self._callback_del("focused", func)
1466
1467 def callback_unfocused_add(self, func, *args, **kwargs):
1468 """When the window has lost focus.
1469
1470 .. versionadded:: 1.8
1471 """
1472 self._callback_add("unfocused", func, args, kwargs)
1473
1474 def callback_unfocused_del(self, func):
1475 self._callback_del("unfocused", func)
1476
1477 def callback_theme_changed_add(self, func, *args, **kwargs): 1457 def callback_theme_changed_add(self, func, *args, **kwargs):
1478 """When the theme was changed. 1458 """When the theme was changed.
1479 1459