Re: [pygtk] PyGObject timeout_add error

2011-06-05 Thread Just Fill Bugs
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

Re: [pygtk] PyGObject timeout_add error

2011-06-05 Thread Arjan Molenaar
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

[pygtk] Enabling scroll adjustments in GI

2011-06-05 Thread Arjan Molenaar
Hi, Next hurdle in porting Gaphas is that Gaphas' view class is managaing adjustments by itself. On class level I used to call View.set_set_scroll_adjustments_signal(set-scroll-adjustments) to set the signal that should be emited when adjustments are changing on module level. This does not

Re: [pygtk] Enabling scroll adjustments in GI

2011-06-05 Thread John Stowers
PS. As a side note: how is this supposed to work with GTK3, as there is not set_scroll_adjustments_signal call there it seems? This isn't really your question, but GTK2 via GI is not supported. The annotations in GTK2 are not up to date. John

Re: [pygtk] Enabling scroll adjustments in GI

2011-06-05 Thread Just Fill Bugs
On 06/06/2011 04:51 AM, Arjan Molenaar wrote: Hi, Next hurdle in porting Gaphas is that Gaphas' view class is managaing adjustments by itself. On class level I used to call View.set_set_scroll_adjustments_signal(set-scroll-adjustments) to set the signal that should be emited when