problem w/ gtk_tree_set_view_mode



i've been working with tree's and i'd like to set the view mode to
select only the child data instead of the whole row.  in my case i have
one tree with several subtrees each containing several tree items with
labels.  i'd like just the labels to get highlighted when a tree item is
selected.  i should be able to do this with something like:

  roottree = gtk_tree_new();
  gtk_tree_set_view_mode(GTK_TREE(roottree), GTK_TREE_VIEW_ITEM);

But this doesn't work for some reason and i cannot see why.  i've even
tried setting the view mode for each subtree and it had no effect..  is
there a bug with the tree widget or something causing the view mode to
not display correctly?  i've also tried setting different selection
modes thinking this would change something but it did not..

thanks
jason



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