davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=c0e6254c1f93f03d9958a2bf2c5c4c95ff61dc46

commit c0e6254c1f93f03d9958a2bf2c5c4c95ff61dc46
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Sun Apr 19 10:36:43 2015 +0200

    New 1.14 signal: Colorselector changed,user
---
 efl/elementary/colorselector.pyx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

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
 ===============
 
 - ``"changed"`` - When the color value changes on selector
+- ``"changed,user"`` - When the color value changes after a user interaction,
+    not fired when the value is changed by an api call (since 1.14)
 - ``"color,item,selected"`` - When user clicks on color item.
     The event_info parameter of the callback will be the selected
     color item.
@@ -318,6 +320,19 @@ cdef class Colorselector(LayoutClass):
     def callback_changed_del(self, func):
         self._callback_del("changed", func)
 
+    def callback_changed_user_add(self, func, *args, **kwargs):
+        """When the color value is changed by the user
+
+        .. versionadded:: 1.14
+        """
+        self._callback_add("changed,user", func, args, kwargs)
+
+    def callback_changed_user_del(self, func):
+        """
+        .. versionadded:: 1.14
+        """
+        self._callback_del("changed,user", func)
+
     def callback_color_item_selected_add(self, func, *args, **kwargs):
         """When user clicks on color item. The event_info parameter of the
         callback will be the selected color item."""

-- 


Reply via email to