[Gtk-sharp-list] gtk Append Node & AppendValue

luca luca.maccari at gmail.com
Wed Jun 8 05:42:42 EDT 2011

Dear all,

i report just a part of code & the result that i obtain and the result that
i would like to obtain 

ok, i created the tree, and start putting Iters on it, stazioni_store is a
Gtk.TreeStore(typeod(string)) as i wanna obv
nomi is a string[]

Gtk.TreeIter[] iters_sub = new Gtk.TreeIter[nomi.Length];
						for (int i=0;  i < nomi.Length; i++ ) {	
							iters_sub[i] = stazioni_store.AppendNode();
							iters_sub[i] = stazioni_store.AppendValues(iters_sub[i], nomi[i]);

the result is this one : 


but i need to put station's name on the top of the node, not when it's

it's possible?i didn't find any setName(string) or similar 
(or it's impossible and i need to create two cellRenderer with two colum and
rendering separately contents?)

any hint would be really appreciated!

best regards,

View this message in context: http://mono.1490590.n4.nabble.com/gtk-Append-Node-AppendValue-tp3582058p3582058.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list