Re: [gtk-list] Re: CList updates



>  > Well, not to make things difficult :-), but you _do_ need to use
>  > gtk_container_add(). If you use gtk_scrolled_window_add_with_viewport(),
>  > then you'll have the the following problems:
>  > 
>  >  - The column titles will scroll with the clist
>  >  - Your CList will be limited to 32,768 pixels in height
>  
>  Should these be considered bugs?  or they stay as they are?

These are not bugs.  GtkScrolledWindow can detect if a child added
with gtk_container_add() supports the scrolling interface and use
them properly.  GtkCList does support this interface, so you should
use gtk_container_add() to insert it into a scrolled window.

The gtk_scrolled_window_add_with_viewport() function unconditionally
wraps a widget with a GtkViewport, which supports the scrolling
interface, before inserting the whole mess into the scrolled window.

  Federico



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