tk はよく分からん。凝ったことはしない方がいいみたい。
from Tkinter import * class Application(Frame): def __init__(self, master=None, cnf={}, **kw): Frame.__init__(self, master, cnf, **kw) self.pack() def pack(self, cnf={}, **kw): Frame.pack(self, cnf, **kw) self.QUIT = Button(self, text='QUIT', fg='red', command=self.quit) self.QUIT.pack(side=LEFT) self.hi_there = Button(self, text='Hello', command=self.say_hi) self.hi_there.pack(side=LEFT) def say_hi(self): print "hi there, everyone!" if __name__ == '__main__': root = Tk() app = Application(master=root) app.mainloop() root.destroy()