Newbie Tkinter Question

Paul Rubin http
Wed Apr 13 17:54:48 EDT 2005


"Pseud O'Nym" <notexpletivedeleteduk at notyahoo.co.uk> writes:
> class App:
>   def __init__(self, master):
>     frame = Frame(master)
>     frame.pack(side=LEFT, fill=Y)
>     image1 = PhotoImage(file='button_a.gif')
>     self.button = Button(frame, image=image1)
>     self.button.pack(side=TOP)
> 
> Can anyone enlighten me?

You do have this inside a frame whose main loop is running, I hope?



More information about the Python-list mailing list