Enlightenment CVS committal Author : barbieri Project : e17 Module : proto/python-efl
Dir : e17/proto/python-efl/python-emotion/examples Modified Files: emotion_test.py Log Message: Fix Emotion example, it was broken by removal of SmartObject default implementations. =================================================================== RCS file: /cvs/e/e17/proto/python-efl/python-emotion/examples/emotion_test.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- emotion_test.py 19 Jul 2007 16:07:07 -0000 1.2 +++ emotion_test.py 1 Sep 2007 16:10:17 -0000 1.3 @@ -35,12 +35,31 @@ self.frame.data["resizing"] = False self.frame.part_drag_value_set("video_speed", 0.0, 1.0) self.frame.part_text_set("video_speed_txt", "1.0") + self.vid.show() evas.SmartObject.__init__(self, canvas) self._setup_signals() def show(self): - evas.SmartObject.show(self) + self.frame.show() + + def hide(self): + self.frame.hide() + + def move(self, x, y): + self.frame.move(x, y) + + def resize(self, w, h): + self.frame.resize(w, h) + + def clip_set(self, o): + self.frame.clip_set(o) + + def clip_unset(self): + self.frame.clip_unset() + + def color_set(self, r, g, b, a): + self.frame.color_set(r, g, b, a) def play_get(self): return self.vid.play ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs