On 22 May 2006 10:56:16 +1000, Gary Wessle <[EMAIL PROTECTED]> wrote:
> 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
-- 
python -c "print ''.join([chr(154 - ord(c)) for c in  
'U(17zX(%,5.zmz5(17l8(%,5.Z*(93-965$l7+-'])"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to