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 adjustments are changing on module level. This does not
seem to work for with GI.
How can I set the scroll adjustments signal?
Regards,
Arjan
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?
Cannot you override the widget.set_scroll_adjustments() and emit
whatever signals you wanted from there?
From the reference, it said:
set_scroll_adjustment_signal This signal is emitted when a widget of
this class is added to a scrolling aware parent,
gtk_widget_set_scroll_adjustments() handles the emission. Implementation
of this signal is optional.
_______________________________________________
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/