OK, it's greate. Thank you very much!
----- Original Message ----- From: "Shaika Dzari" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, January 28, 2007 5:52 AM Subject: Re: [Gtk-sharp-list] FileOpenDialog?? - Get current Row? Le samedi 27 janvier 2007 12:38, Duong Nguyen a écrit : > Hi, > Thanks for your help and sorry for not having read carefully. > I have once more question about Gtk.StoreList that bound to TreeView. How > to get the selected row of the StoreList? > Use an event on the treeview: treeview1.Selection.Changed += OnSelectionEntry; protected void OnSelectionEntry(object o, EventArgs args) { TreeModel model; string test; if (((TreeSelection)o).GetSelected(out model, out iter)) { // Initiation des valeurs selon la sélection test = (string)model.GetValue (iter, 0); } } You can find information here: http://www.mono-project.com/GtkSharp_TreeView_Tutorial http://lists.ximian.com/pipermail/gtk-sharp-list/2004-April/003781.html @+ _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
