Thanks, Indeed, when calling it from GObject it works as expected. But timeout_add is not defined in the GObject gir file.
Regards, Arjan On 5 Jun 2011, at 10:52, Just Fill Bugs wrote: > On 06/05/2011 05:19 AM, Arjan Molenaar wrote: >> Hi all, >> >> In the course of porting Gaphas, I ran into the same issue Timo described >> several months ago: somehow it is not possible to call timeout_add(1, f). >> >> The same issue I see for GLib.idle_add. >> > > Accord to http://git.gnome.org/browse/pygobject/tree/pygi-convert.sh , you > have to use GObject.timeout_add() now. > > > > > _______________________________________________ > pygtk mailing list pygtk@daa.com.au > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/