The GtkLayout widget does not set the page_size property of its adjustments, so the scrollbars don't know what increment to scroll in. If you set this value, the scrollbar will work correctly.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)
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?
James.
-- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
