#Utilizando gtk desde IronPython sobre Mono (Python se puede ejecutar sobre .NET):
#http://www.microsoft.com/downloads/details.aspx?FamilyID=fa3f9cc7-2a0d-41d3-ae51-0aef8dfa7c57&DisplayLang=en

import System
import clr

System.Console.WriteLine("hola mundo desde IronPython")

clr.AddReference("gtk-sharp")

from Gtk import *
Application.Init()

window = Window("Ventana")
button = Button("pulsame")
window.Add(button)
window.ShowAll()

def handle(*args):
	print "Me has pulsado: me apago"
	Application.Quit()
	
button.Clicked += handle
	
Application.Run()
