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