Hey all,
   just playing a bit with pygtk, and have been enjoying it.
   I'm wanting to use the input_add() function, but I need to pass it
some data in addition to the file handle.  The gdk prototype for
gdk_input_add looks like this:
gint gdk_input_add (gint source, GdkInputCondition condition,
   GdkInputFunction function, gpointer data);

but the pygtk input_add only takes source, condition and function.

   Do I need to use a global variable here?  If so, why?

   Thanks,
   Scott

_______________________________________________
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