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
function.

On Sun, Jun 5, 2011 at 1:07 PM, Arjan Molenaar <[email protected]> wrote:
> 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   [email protected]
>> http://www.daa.com.au/mailman/listinfo/pygtk
>> Read the PyGTK FAQ: http://faq.pygtk.org/
>
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to