Enlightenment CVS committal
Author : barbieri
Project : e17
Module : proto
Dir : e17/proto/python-efl/python-evas/evas
Modified Files:
evas.c_evas_object.pxi
Log Message:
clip_set() with value=None calls clip_unset(), implement clip_unset()
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-evas/evas/evas.c_evas_object.pxi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evas.c_evas_object.pxi 5 May 2007 02:33:18 -0000 1.3
+++ evas.c_evas_object.pxi 5 May 2007 02:34:54 -0000 1.4
@@ -436,13 +436,16 @@
cdef Evas_Object *clip
cdef Object o
if value is None:
- clip = NULL
+ evas_object_clip_unset(self.obj)
elif isinstance(value, Object):
o = <Object>value
clip = o.obj
+ evas_object_clip_set(self.obj, clip)
else:
raise ValueError("clip must be evas.Object or None")
- evas_object_clip_set(self.obj, clip)
+
+ def clip_unset(self):
+ evas_object_clip_unset(self.obj)
property clip:
def __get__(self):
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs