summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2011-03-14 22:40:58 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2011-03-14 22:40:58 +0000
commit24e51d2f424b225669648ee09b3d4ee5dbd37678 (patch)
tree3115f11de42ffb03703d753413ef21427eb74d6b
parent4b5674e2e1653e52e795fcd2f4069ced496120a8 (diff)
enable me to write benchmark in python as well.
SVN revision: 57753
-rw-r--r--ecore/evas/ecore.evas.c_ecore_evas_base.pxi11
-rw-r--r--include/ecore/evas/c_ecore_evas.pxd4
2 files changed, 14 insertions, 1 deletions
diff --git a/ecore/evas/ecore.evas.c_ecore_evas_base.pxi b/ecore/evas/ecore.evas.c_ecore_evas_base.pxi
index ff9d84b..3bff04a 100644
--- a/ecore/evas/ecore.evas.c_ecore_evas_base.pxi
+++ b/ecore/evas/ecore.evas.c_ecore_evas_base.pxi
@@ -723,6 +723,17 @@ cdef class EcoreEvas:
723 def __set__(self, int value): 723 def __set__(self, int value):
724 self.ignore_events_set(value) 724 self.ignore_events_set(value)
725 725
726 def manual_render_set(self, int on):
727 ecore_evas_manual_render_set(self.obj, on)
728
729 def manual_render_get(self):
730 "@rtype: bool"
731 return bool(ecore_evas_manual_render_get(self.obj))
732
733 def manual_render(self):
734 "Request immediate rendering manually."
735 ecore_evas_manual_render(self.obj)
736
726 737
727 #################################################################### 738 ####################################################################
728 # Callbacks 739 # Callbacks
diff --git a/include/ecore/evas/c_ecore_evas.pxd b/include/ecore/evas/c_ecore_evas.pxd
index 1673902..821c10c 100644
--- a/include/ecore/evas/c_ecore_evas.pxd
+++ b/include/ecore/evas/c_ecore_evas.pxd
@@ -208,7 +208,9 @@ cdef extern from "Ecore_Evas.h":
208 int ecore_evas_sticky_get(Ecore_Evas *ee) 208 int ecore_evas_sticky_get(Ecore_Evas *ee)
209 void ecore_evas_ignore_events_set(Ecore_Evas *ee, int ignore) 209 void ecore_evas_ignore_events_set(Ecore_Evas *ee, int ignore)
210 int ecore_evas_ignore_events_get(Ecore_Evas *ee) 210 int ecore_evas_ignore_events_get(Ecore_Evas *ee)
211 211 void ecore_evas_manual_render_set(Ecore_Evas *ee, int ignore)
212 int ecore_evas_manual_render_get(Ecore_Evas *ee)
213 void ecore_evas_manual_render(Ecore_Evas *ee)
212 214
213cdef extern from "Ecore_X.h": 215cdef extern from "Ecore_X.h":
214 ctypedef unsigned int Ecore_X_Cursor 216 ctypedef unsigned int Ecore_X_Cursor