Lorenzo Gil S�nchez wrote:
You have to set the step_increment for the layout adjustments - they aren't set automatically. Try:I read the pygtk2 tutorial[1] and have some problems with the Layout Container[2]. When i try to use a vertical scrollbar with my Layout container something weird happens:
mylayout = gtk.Layout(None, None)
myscrollbar - gtk.VScrollbar(None)
adjust = mylayout.get_vadjustment()
myscrollbar.set_adjustment(adjust)
adjust.step_increment = 10.0
Seems like a bug in the tutorial example. I'll fix it.The thing is that if I click in the trough or if I drag the slider everything works but if I click in the scrollbar buttons nothing happens. Do I have to connect some signal in order to make it work? or is it a bug?
John
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
