Tkinter question: how to the red "Tk" window title bar icon?
eric.brunel at N0SP4M.com
Wed Dec 3 09:59:30 CET 2003
Howard Lightstone wrote:
> "John Benson" <jsbenson at bensonsystems.com> wrote in
> news:mailman.58.1070409537.16879.python-list at python.org:
>>Hi, I'm using Tkinter and would like to know how to replace the red
>>"Tk" logo in the left corner of the title bar of the root window with
>>some other icon.
>>Another question for curiosity's sake:
>>I've often seen Tkinter referred to as the "standard" Python GUI. I
>>assume that this is because it may be the oldest and perhaps the most
>>cross-platform. Is that all that can be said for it? I've already
>>heard about the Tkinter interpretive overhead, but given the amazing
>>increase in CPU speeds recently, I wave my paw and just say "Bah!"
>>(something I learned from Dogbert). Any other comments?
>>Thanks in advance for any aid and comfort.
> Try hackicon if you are on Windoze
On reasonably recent versions of tcl/tk, the methods iconbitmap and iconmask on
instances of Toplevel (or Tk) should work on Unices and Windows. See the
corresponding commands for tk at:
- Eric Brunel <eric dot brunel at pragmadev dot com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com
More information about the Python-list