Steve's right the tutorial needs updating. However, I think, that you should use the gobject.io_add_watch() function instead of gtk.input_add_full() in new code since the latter is just a binding to the former. I believe input_add_full() is deprecated in PyGTK 2.4Yes, checkout gtk.input_add_full. http://www.moeraki.com/pygtktutorial/pygtk2tutorial/ch-TimeoutsIOAndIdleFunctions.html
The tutorial needs some updating. It describes only three args, but it
takes more. Everyone after the third are passed to the third arg, which
should be a function call.
John
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
