Re: GtkTreeView not scrolling



I have a GtkTreeView (backed by a GtkListStore if that is significant) that is the main widget in my main window. The tree view expands to show

every item so that when I have a hundred items the window is so huge that it goes right off the screen. How do I tell Gtk to make the window scroll and not try to fit every item in by resizing?

I suspect you'll have to put the TreeView into a ScrolledWindow to do
that. The scrolled window will take care of the scrolling.

But won't that scroll the whole widget? I want the column headers to stay in view.

Chris



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]