[pygtk] GPollFD/GSource wrappers [was: Re: iosource]

2009-06-29 Thread Martin Schulze
Sorry, it should read the GSource/GPollFD wrappers, not GIOSource wrapper. Also, I should add that I'm using the Linux versions 2.16.1/2.14.1 and the Windows versions 2.14.2/2.12.1 of pygobject/pygtk. Still, the problem remains unchanged ... Regards, Martin Am Sonntag, den 28.06.2009,

Re: [pygtk] GPollFD/GSource wrappers [was: Re: iosource]

2009-06-29 Thread Martin Schulze
I've got it working! gobject.Source is not functional - you must derive your own class and define the functions prepare, check and dispatch. See attached example. If this is actually intended, the error that's being raised should be a NotImplementedError. Btw, there doesn't seem to be any