solved!
if ( tv.Selection.CountSelectedRows() > 0 ) {
TreePath[] retval =
tv.Selection.GetSelectedRows();
if ( retval[0].ToString() == "0") {
Console.WriteLine("stazioni");
}
if ( retval[0].ToString() == "1") {
Console.WriteLine("Operazioni
pianificate");
}
if ( retval[0].ToString() == "2" ) {
Console.WriteLine("utenti");
}
}
thanks!
regards,
Luca
--
View this message in context:
http://mono.1490590.n4.nabble.com/right-click-mouse-question-tp3498724p3508821.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list