summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-04-19 10:36:43 +0200
committerDave Andreoli <dave@gurumeditation.it>2015-04-19 10:36:43 +0200
commitc0e6254c1f93f03d9958a2bf2c5c4c95ff61dc46 (patch)
treee25aaa7f64c457396e12a8f20b7c1c00002b349d
parentf6326d582bb9a80bdcc7324373322006f3c4b96e (diff)
New 1.14 signal: Colorselector changed,user
-rw-r--r--efl/elementary/colorselector.pyx15
1 files changed, 15 insertions, 0 deletions
diff --git a/efl/elementary/colorselector.pyx b/efl/elementary/colorselector.pyx
index 2fc507e..f0b6c83 100644
--- a/efl/elementary/colorselector.pyx
+++ b/efl/elementary/colorselector.pyx
@@ -40,6 +40,8 @@ Emitted signals
40=============== 40===============
41 41
42- ``"changed"`` - When the color value changes on selector 42- ``"changed"`` - When the color value changes on selector
43- ``"changed,user"`` - When the color value changes after a user interaction,
44 not fired when the value is changed by an api call (since 1.14)
43- ``"color,item,selected"`` - When user clicks on color item. 45- ``"color,item,selected"`` - When user clicks on color item.
44 The event_info parameter of the callback will be the selected 46 The event_info parameter of the callback will be the selected
45 color item. 47 color item.
@@ -318,6 +320,19 @@ cdef class Colorselector(LayoutClass):
318 def callback_changed_del(self, func): 320 def callback_changed_del(self, func):
319 self._callback_del("changed", func) 321 self._callback_del("changed", func)
320 322
323 def callback_changed_user_add(self, func, *args, **kwargs):
324 """When the color value is changed by the user
325
326 .. versionadded:: 1.14
327 """
328 self._callback_add("changed,user", func, args, kwargs)
329
330 def callback_changed_user_del(self, func):
331 """
332 .. versionadded:: 1.14
333 """
334 self._callback_del("changed,user", func)
335
321 def callback_color_item_selected_add(self, func, *args, **kwargs): 336 def callback_color_item_selected_add(self, func, *args, **kwargs):
322 """When user clicks on color item. The event_info parameter of the 337 """When user clicks on color item. The event_info parameter of the
323 callback will be the selected color item.""" 338 callback will be the selected color item."""