Tkinter fullscreen with Mac OS X

Guilherme Polo ggpolo at
Tue Jul 29 01:43:39 CEST 2008

On Mon, Jul 28, 2008 at 8:10 PM, C Martin <g.threepwood at> wrote:
> Is there a way to create a full screen app using Tkinter with Mac OS
> X?? On windows, this is relatively easy with overrideredirect(1).
> However, on the Mac, the top menu bar and dock are still displayed
> over the app. Is there a way to get rid of them?

You could try this, supposing tl is a toplevel:"::tk::unsupported::MacWindowStyle", "style", tl._w, "plain", "none")

and if you are using python with tk 8.5 or newer (unlikely):

tl.wm_attributes('-fullscreen', 1)

But I don't have a mac, so I can't say for sure if these solve your problem.

> Thanks.
> --

-- Guilherme H. Polo Goncalves

More information about the Python-list mailing list