[pygtk] PyGObject timeout_add error
laszlok2 at gmail.com
Tue Jun 7 22:35:13 WST 2011
GObject does not actually get all its members from the gir file. Since
GObject implements the base of everything that the other libraries
build on (such as GObject class, signals, properties, etc), some of
the stuff in GObject is hard coded.
So it may be that GObject.timeout_add is hard coded. But I'm not sure.
Seems to me it could be in the GIR because it is a standalone
On Sun, Jun 5, 2011 at 1:07 PM, Arjan Molenaar <gaphor at gmail.com> wrote:
> Indeed, when calling it from GObject it works as expected. But timeout_add is not defined in the GObject gir file.
> 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 at daa.com.au
>> Read the PyGTK FAQ: http://faq.pygtk.org/
> pygtk mailing list pygtk at daa.com.au
> Read the PyGTK FAQ: http://faq.pygtk.org/
More information about the pygtk