#!/usr/bin/env python
# $Id: tkhello3.py,v 1.1 2000/02/21 09:04:25 wesc Exp $
#
# tkhello3.py -- "Hello World!" 3 in Tkinter
#        - "Hello World!" in a Label and a Quit button
#
# created by wesc 00/02/20
#

# import Tkinter module
import Tkinter

# create toplevel window
top = Tkinter.Tk()

# create and pack label
hello = Tkinter.Label(top, text='Hello World!')
hello.pack()

# create and pack button
quit = Tkinter.Button(top, text='QUIT', command=top.quit, bg='red', fg='white')
quit.pack(fill=Tkinter.X, expand=1)

# enter main loop
Tkinter.mainloop()
