Enlightenment CVS committal
Author : barbieri
Project : e17
Module : proto
Dir : e17/proto/python-efl/python-ecore/examples
Modified Files:
01-timers.py 02-animators.py
Log Message:
init is now implicit, you can still call <module>.c_<module>.init()
shutdown() is optional, just used in tests to check if things are being
released as expected.
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-ecore/examples/01-timers.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- 01-timers.py 13 May 2007 08:12:08 -0000 1.1
+++ 01-timers.py 19 Jul 2007 16:07:06 -0000 1.2
@@ -78,8 +78,6 @@
if __name__ == "__main__":
- ecore.init()
-
# Use C-like API
ecore.timer_add(0.5, print_every_500ms, "arg1", 1234, q=890, p=567)
ecore.timer_add(0.6, print_every_600ms_twice)
@@ -97,4 +95,3 @@
# without a main loop, timers will not work
ecore.main_loop_begin()
- ecore.shutdown()
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-ecore/examples/02-animators.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- 02-animators.py 13 May 2007 08:12:08 -0000 1.1
+++ 02-animators.py 19 Jul 2007 16:07:06 -0000 1.2
@@ -78,8 +78,6 @@
if __name__ == "__main__":
- ecore.init()
-
# animators will run in 60 frames per second
ecore.animator_frametime_set(1.0 / 60.0)
@@ -94,5 +92,3 @@
# without a main loop, animators will not work!
ecore.main_loop_begin()
-
- ecore.shutdown()
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs