GtkTreeView
- From: "Quag Mire" <wzbfglrs lycos com>
- To: gtk-app-devel-list gnome org
- Subject: GtkTreeView
- Date: Sun, 29 Feb 2004 01:29:09 -0500
I'm a total newbie to Gtk and I'm attempting to put a GtkTreeView into my app. I'm ignoring all but the
visual layout for now.
I have a scrolled window set up with the treeview inside but I do not see the column headers at all. Have I
missed something? Surely they should be visible at this point. I've tried the functions for setting headers
visible but with no success.
Here is the code for my treeview:
listbox = gtk_tree_view_new();
gtk_container_add(GTK_CONTAINER (scrolledwindow), listbox);
for(count = 0; count < 4; count++)
{
column[count] = gtk_tree_view_column_new();
gtk_tree_view_append_column(GTK_TREE_VIEW (listbox), column[count]);
gtk_tree_view_column_set_min_width(GTK_TREE_VIEW_COLUMN (column[count]), 150);
gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN (column[count]), TRUE);
}
gtk_tree_view_column_set_title(GTK_TREE_VIEW_COLUMN (column[0]), "Priority");
Please help.
Jose
____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]