Re: How do I fix the window size?



On Tue, 5 Jun 2012 11:50:42 -0700 (PDT)
Ferdinand Ramirez <ramirez ferdinand yahoo com> wrote:
--- On Tue, 6/5/12, James Tappin <jtappin gmail com> wrote:

I think the solution is to place the treeview in a
gtk_scrolled_window rather than using an hbox and an explicit
scrollbar. 

The reason for trying out with an explicit hbox is that the column
headers scroll out of view with a gtk_scrolled_window.

Are you calling gtk_scrolled_window_add_with_viewport()?  If so, use
gtk_container_add() instead, because tree views have native scrolling
capabilities.

Chris



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