All pastes #8990 Raw Edit

Someone

public python v1 · immutable
#8990 ·published 2005-04-07 05:02 UTC
rendered paste body
#!/usr/bin/env booiimport Systemimport 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.QuitApplication.Init()window = MyWindow()window.ShowAll()Application.Run()