On Wed, 22 Nov 2006 15:23:05 -0600 (CST) Sorin Schwimmer <[EMAIL PROTECTED]> wrote:
> > I think you need a Toplevel() window instead of a Label. > > > Michael > > I'm not sure I understand. Can you illustrate with an example? > > Thanks, > Sorin > >>> from Tkinter import * >>> root = Tk() >>> top = Toplevel() >>> img = PhotoImage(file='your-icon-here') >>> Label(top, image=img).pack() >>> top.overrideredirect(1)# not sure if this is necessary >>> root.iconwindow(top) '' >>> On linux (with IceWM) the iconwindow is not visible, but at least the Toplevel disappears and Tk does not complain. Maybe it works on windows. Michael _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
