John Finlay ha scritto:

Steven Howe wrote:

Yes, 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.


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.4

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/

OK, Thanks.
I'll try this out


-- Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:

Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=&d=28-4
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to