Re: Gtk List Store Problem
- From: Nix <nix go-nix ca>
- To: gtk-app-devel-list gnome org
- Subject: Re: Gtk List Store Problem
- Date: Mon, 13 Oct 2003 11:45:06 -0600
On Mon, 2003-10-06 at 11:25, Jesper Mørk wrote:
[...]
gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW
(scrolled_window), tree_view);
IIRC from one of the gtk tutorials, for widgets that have built-in
scrolling capability, you shouldn't add them to a scrolled window with a
viewport. You should simply use
gtk_container_add (GTK_CONTAINER (scrolled_window), tree_view) ;
To make the tree view look "sunk in", as it does when added with a
viewport, use
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW
(scrolled_window), GTK_SHADOW_IN) ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]