#!/usr/bin/env booi import System import Gtk from "gtk-sharp" class MyWindow(Window): myLabel as Label myEntry as Entry def onClicked(): myLabel.Text = myEntry.Text def constructor(): super("Hello world") myBox = VBox() self.Add(myBox) myLabel = Label("Press the button") myEntry = Entry() myButton = Button("Presiona!", Clicked: onClicked) myBox.Add(myLabel) myBox.Add(myEntry) myBox.Add(myButton) self.DeleteEvent += Application.Quit Application.Init() window = MyWindow() window.ShowAll() Application.Run()