[Sugar-devel] PyGame can be run only once assertion error

Alan Jhonn Aguiar Schwyn alanjas at hotmail.com
Mon Sep 30 20:19:20 EDT 2013


>TypeError: _screen_changed_cb() takes exactly 2 arguments (3 given)
I'm investigate the warning. In the documentation says:
http://pygtk.org/docs/pygtk/class-gtkwidget.html#signal-gtkwidget--screen-changed
Then, the function must be:
    def _screen_changed_cb(self, widget, screen):        if pygame.display.get_init():            self.update_display()
?
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130930/211dcc30/attachment-0001.html>


More information about the Sugar-devel mailing list