Re: [gtk-list] scrolled window
- From: Brett Kosinski <brettk compusmart ab ca>
 
- To: GTK mailing list <gtk-list redhat com>
 
- Subject: Re: [gtk-list] scrolled window
 
- Date: Wed, 27 Jan 1999 07:28:19 -0700 (MST)
 
> Hi,
> I'm trying to use scrolled window and example is broken -- I have:
> 
> Gtk-Message: gtk_scrolled_window_add(): cannot add non scrollable widget
> use gtk_scrolled_window_add_with_viewport() instead
> 
> Is there any ways to override it?
Yeah, do as it says. :)  If you want to add non-scrolling widgets (eg, a
GtkTree) to a scrolled window, you use:
gtk_scrolled_window_add_with_viewport(<window>,<widget>).
Brett.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]