On Tue, Mar 09, 2004 at 12:16:14PM -0600, Liza Klerck wrote: > > > Hi, > > I would like to specify the priority for input events from a source i > add to my gtk main loop. Can this be done in pygtk? > > > Currently I am doing this: > self.input = gtk.input_add(os.fdopen(fd), gtk.gdk.INPUT_READ, > self.io_dispatch) > > > I would like to be a ble to set the input events' priority, as in done > in gtkmm through Glib::Source::set_priority(). >
Currently, GSources are not wrapped by pygtk. For now, you can try this: http://www.luebsphoto.com/gsourcemodule.c Hopefully, someone will soon get this stuff wrapped in such a way that it can be added to pygtk proper. --jkl _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/