Working with GtkTree selections



>

I am currently working on a project which requires the use of a GtkTree to display
many elements in a nice collapsable list. So far I have been able to come up with
a nice file format and a routine that will build the bulk of the Tree. Now my
problem is that when I click on an item (any item at all) in a Tree, I want to
open up a file and pull some text out of it. However, the text that I pull out of
the file depends upon which tree item is selected, so I need to be able to get the
text out of the tree widget. I have tried a couple ways of doing this, but have
been unsuccesfull so far. Does anyone know the proper way of doing this, or know
of a program with some good source ?

Thanks,
Chicane



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