Full-screen display in Tkinter

Fredrik Lundh fredrik at pythonware.com
Thu Jul 4 11:26:01 EDT 2002


Svein Brekke wrote:
> I am building a slide show application with Tkinter, and need
> to create a full-screen window, i.e. supressing title bar
> and start menu etc.

root = Tk()

# make it cover the entire screen
w, h = root.winfo_screenwidth(), root.winfo_screenheight()
root.overrideredirect(1)
root.geometry("%dx%d+0+0" % (w, h))

</F>





More information about the Python-list mailing list