[Gtk-sharp-list] Query all values from TreeView
MethodCZ
methodcz at gmail.com
Wed Jul 7 11:12:31 EDT 2010
Hi,
In the morning i didn't think it will be necessary to ask here, however
after all day which i spent trying to figure how to get values from my
TreeView, i'm kinda hopeless.
My problem is that i have have a TreeView with Model and everything required
where user can add/remove nodes. (it's actually only one level of nodes so
it's not really tree). User can add multiple nodes. This is ok and i had no
problem to wrote that. Problem is that i need to join all the values of all
the nodes into one single string variable. (My treeview has only 1 column)
So for example user adds values "a", "b", "c" and i want to join it into
string val = "abc".
I did some research on this and found few ideas how to do this from using
TreeModel.Foreach function to some suggestions to use Do cycle etc. but none
of them worked :{
Thanks for any ideas :]
--
View this message in context: http://mono.1490590.n4.nabble.com/Query-all-values-from-TreeView-tp2281050p2281050.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list
mailing list