Re: scrollbar to tree view widget?
- From: Chris De Maeyer <chrisdm pandora be>
- To: gtk-app-devel-list gnome org
- Subject: Re: scrollbar to tree view widget?
- Date: Sat, 10 Jan 2004 20:43:31 +0100
how do i connect a vertical scrollbar to a tree view?
Forget it, just have to add it to a scrolled window...
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
gtk_box_pack_start(GTK_BOX(hboxa0), scrolled_window, TRUE, TRUE, 0);
gtk_widget_show(scrolled_window);
gtk_container_add (GTK_CONTAINER (scrolled_window),tree);
gtk_box_pack_start (GTK_BOX(hboxa0), scrolled_window, TRUE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]