[Tutor] newbie help..image in toplevelwindow?
a.dijkstra03@kpn.com
a.dijkstra03@kpn.com
Tue, 12 Jun 2001 13:10:55 +0200
Hoi Roeland,
No, that didn't work too. I now get the following message:
Traceback (most recent call last):
File "C:\Python21\mijnscripts\koffiemach.py", line 118, in ?
top.pack()
AttributeError: Tk instance has no attribute 'pack'
Does it help you any futher? Please let me know.
Tanks anyway
Arjen
-----Oorspronkelijk bericht-----
Van: Roeland Rengelink [mailto:r.b.rigilink@chello.nl]
Verzonden: dinsdag 12 juni 2001 12:35
Aan: a.dijkstra03@kpn.com
CC: tutor@python.org
Onderwerp: Re: [Tutor] newbie help..image in toplevelwindow?
a.dijkstra03@kpn.com wrote:
>
> Hi there,
>
> This is one of my first attempts building a application with Tkinter.
> Could anyone explain to me what i'm doing wrong? I'm trying to insert a
> image in the toplevel window. I'm using win NT and python2.1.
>
Hoi Arjen,
I didn't try the code, but I think it may be as simple as:
> top.title(' KOFFIEMACHINE')
top.pack()
>
> mainloop()
If it isn't, let me know.
Roeland
--
r.b.rigilink@chello.nl
"Half of what I say is nonsense. Unfortunately I don't know which half"
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor