[Gtk-sharp-list] Values from TreeStore

McP mariano.cano@hispalinux.es
05 Oct 2003 23:28:07 +0200


GLib.Value v;
...
model.GetValue(iter,column, out v);

And then you can cast the GLib.Value to string, int, ...
string s = (string) v;


El dom, 05-10-2003 a las 05:03, Pablo Fischer escribió:
> Hi!
> 
> I have a TreeView with 2 columns and with data :). I've been looking for
> it's to 'click' a button and get the value of the field selected, I know
> that I need to use GetStringFromIter or GetValue, but I dont understand
> how to get the value :(, somebody has an example?
> 
> Thanks!
-- 
McP <mariano.cano@hispalinux.es>