| 1 | |
| 2 | from Tkinter import * |
| 3 | |
| 4 | root = Tk() |
| 5 | |
| 6 | w = Label(root, text="Hello, QuteCsound world!") |
| 7 | w.pack(padx=2, pady=2) |
| 8 | l = Label(root, text="If you can see me,\nTkinter is installed and working!") |
| 9 | l.pack(padx=2, pady=2) |
| 10 | button = Button(root, text="OK", fg="black", command=root.quit) |
| 11 | button.pack() |
| 12 | |
| 13 | root.mainloop() |