Rob Brown-Bayliss wrote: >On Fri, 2002-08-02 at 16:21, James Henstridge wrote: > > >>Haven't run into any of these problems myself. >> >>Is the treeview packed inside a gtk.ScrolledWindow? If not, try doing >>that. The tree view should handle scrolling correctly in that case. >> >> swin = gtk.ScrolledWindow() >> swin.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) >> swin.add(treeview) >> >> > >I am useing glade, the treeview is inside ascrolled window, the scroll >bars are on automatic, in that they only appear when needed, but as soon >as I scroll down the column headers scroll out the top of teh scrolled >window, and it's not scrolling with hte keyboard... > >bugger really as the headings do serve a usefull purpose... > > That is weird. Check the glade file to see if there is a GtkViewport between the TreeView and ScrolledWindow. If so, that could be the cause of the problem. If there is, then the GtkViewport will be handling the scrolling, and the TreeView won't handle things correctly (as far as it is concerned, it will have been given enough space to display all the rows).
James. -- Email: [EMAIL PROTECTED] | Linux.conf.au 2003 Call for Papers out WWW: http://www.daa.com.au/~james/ | http://conf.linux.org.au/cfp.html _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
