Re: [gtk-list] GTK 1.2 questions



On Sun, 6 Jun 1999, Ron Forrester wrote:

> 
> A few days ago I sat down to right my first GTK (indeed, my first GUI
> linux app). There are a few tasks I have been unable to figure out,
> and would really appreciate some help.
> 
> 1) I am making use of CList. By default it didn't seem to have any
> 	scrolling ability, so I embedded it in a scrolled window. This
> 	works pretty good, but has an undesirable side-effect. When
> 	scrolling vertically, the CList header scrolls as part of the
> 	list. Is there any way to keep the header frozen while the contents 
> 	of the CList scroll?
>

Hey!  I know the answer to this one.  I did the same thing recently.
Probably used the gtk_scrolled_window_with_viewport and added it that way.
You just want to do a regular
gtk_container_add(GTK_CONTAINER(scrolled_window), clist).  I don't quite
understand why it works that way, but that will keep your headers from
scrolling away.

> 
> 
> That's a good start.
> Thanks in advance for any advice.
> rjf&
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 

  +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
  =   Rob Huffstedtler          |     We now return to our regularly     +
  +   (931) 596-3560            |        scheduled programming           =
  =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+



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