Tk.iconname still there?

E

Eric Brunel

Hi

I am going through a tutorial on Tkinter
http://doctormickey.com/python/pythontutorial_201.html, it referees to
Tk.iconname() but I could not locate one after googleing and browsed
and searched the Tkinter On-line reference material in the Tkinter
reference: a GUI for Python, 84 pp. pdf from
here http://infohost.nmt.edu/tcc/help/pubs/lang.html

Unfortunately, AFAICT, the only reference you can trust for Tkinter is the
manual pages for tcl/tk, available here:
http://www.tcl.tk/man/
The iconname method is mapped to the command "wm iconname" in tk, so just
look for this one in the man pages for your tk version and you'll get the
most up to date documentation you may have for it.

BTW, both the tutorial and the "reference" you're using contain a few
things I would not do:
- Both create menu bars via Menubutton widgets. This is obsolete: menu
bars are now standard Menu widgets containing only cascade items and are
attached to the containing window via:
wdw.configure(menu=menuInstance).
- The Application class in the minimal application described in the
"reference" inherits from Frame: this is a bad idea. If you want to
inherit from something, inherit from Tk.

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,298
Messages
2,571,539
Members
48,273
Latest member
latemarriage

Latest Threads

Top