On Mon, 3 Mar 2003, Christian Reis wrote: > On Mon, Mar 03, 2003 at 08:38:22AM -0600, Jon Nelson wrote:
[snip] some code that's called as part of gtk's input_add function. > Why do you need to return file? This doesn't look very safe -- isn't > file created inside GTK+ and passed in to the callback? (I can't remember > how input_add works, darn.) Well. I *thought* that somewhere I read that you were supposed to return the file object, or one of [None,gtk.FALSE,0], the latter values indicate "please stop monitoring this file descriptor". I suppose any non-false value would do. It may have been a hold over from ancient code. > Take care, No, *You* take care. ;-) -- "Never try to write to ROM - it wastes your time and annoys the ROM." Jon Nelson <[EMAIL PROTECTED]> C and Python Code Gardener _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
