home
# http://dserpell.blogspot.com/feeds/posts/default?alt=rss
import Gtk from "gtk-sharp"
def pres():
print "Hola"
def salir():
print "Chao!"
Application.Quit()
Gtk.Application.Init()
w = Gtk.Window("Ejemplo")
b = Gtk.Button("Presioname")
w.Add(b)
w.BorderWidth=10
b.Clicked+=pres
w.DeleteEvent+=salir
w.ShowAll()
Gtk.Application.Run(