[Gtk-sharp-list] right click mouse - question

luca luca.maccari at gmail.com
Mon May 9 05:49:35 EDT 2011


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.


More information about the Gtk-sharp-list mailing list