Tkinter fullscreen with Mac OS X
C Martin
g.threepwood at gmail.com
Wed Aug 6 20:37:05 EDT 2008
On Jul 28, 6:43 pm, "Guilherme Polo" <ggp... at gmail.com> wrote:
>
> You could try this, supposing tl is a toplevel:
>
> tl.tk.call("::tk::unsupported::MacWindowStyle", "style", tl._w, "plain", "none")
>
I tried this (although, my tl is actually a tk instance):
self.tk.call("::tk::unsupported::MacWindowStyle", "style", self.tk._w,
"plain", "none")
and get this message:
Traceback (most recent call last):
File "./ProgramCountdown.py", line 120, in <module>
control = Controller(tk)
File "./ProgramCountdown.py", line 37, in __init__
self.tk.call("::tk::unsupported::MacWindowStyle", "style",
self.tk._w, "plain", "none")
_tkinter.TclError: bad class: should be alert, moveableAlert, modal,
moveableModal, floating, help, or document
Any thoughts? Can you do something similar on the tk instance itself?
More information about the Python-list
mailing list