Make Tkinter window in Full screen mode

In order to Make Tkinter window in Full screen mode we need to :

  1. initialize the main loop window and set up a title
  2. set the root fullscreen attribute to true

the code is as follows

import tkinter
root=tkinter.Tk()
root.attributes('-fullscreen',True) 
root.mainloop()

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top