davemds pushed a commit to branch master.

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

commit 40ac305d0dd586d29230cc71aedf501fbfb0d376
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Sat Aug 15 13:36:00 2015 +0200

    GenlistItem.data is now also writable
---
 efl/elementary/genlist_item.pxi | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/efl/elementary/genlist_item.pxi b/efl/elementary/genlist_item.pxi
index d74dbb0..c5eb23f 100644
--- a/efl/elementary/genlist_item.pxi
+++ b/efl/elementary/genlist_item.pxi
@@ -262,12 +262,21 @@ cdef class GenlistItem(ObjectItem):
         return self
 
     property data:
-        """User data for the item."""
+        """User data (model) for the item.
+
+        .. versionchanged:: 1.16
+            Property is now also writable
+
+        """
         def __get__(self):
             return self.item_data
+        def __set__(self, data):
+            self.item_data = data
 
     def data_get(self):
         return self.item_data
+    def data_set(self, data):
+        self.item_data = data
 
     property next:
         """This returns the item placed after the ``item``, on the container

-- 


Reply via email to