Re: Tkinter iconbitmap question
Mats Wichmann <[email protected]>
| Newsgroups | gmane.comp.python.tutor |
|---|---|
| Message-ID | <[email protected]> |
On 8/4/23 02:24, Alan Gauld via Tutor wrote: > On 04/08/2023 00:55, Phil wrote: > >> Thanks Alan, I wasn't aware of a Tkinter mailing list. I'll have a browse. > > I'm not sure of the list address but you can find it on gmane at > > gmane.comp.python.tkinter > > There is also an IDLE one that often discusses Tkinter issues too. One of the things that's always given me a bit of headache is that Tk of course isn't a Python project, and it's sometimes hard to keep track of how well tkinter isolates you from its particular weirdnesses - Tcl is a different language, after all. My memory is that in referring to bitmaps in Tk, you need a special leading character to indicate what you're passing is a filename, and not a variable already containing the bitmap contents. The error message *sounds* like that case or I wouldn't mention it, but I'd be kind of surprised if tkinter actually made you follow that convention. (the magic character in Tk, which I had to spend some time in long long ago - let's just call it "last century" for grins - is an '@' unless my memory has failed me, which is eminently possible). _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor