#Tkinter winfo screen width full#
We can set the parameter of geometry() same as the width*height of the screen of our original window to get our full screen tkinter window without making the toolbar invisible.
![tkinter winfo screen width tkinter winfo screen width](https://i.stack.imgur.com/deorA.png)
![tkinter winfo screen width tkinter winfo screen width](https://i.stack.imgur.com/z3S5H.png)
Window_name.geometry("%dx%d" % (width, height)) Syntax: width= window_name.winfo_screenwidth() We get an output tkinter window with the toolbar above along with the title of window.
#Tkinter winfo screen width how to#
![tkinter winfo screen width tkinter winfo screen width](https://media.geeksforgeeks.org/wp-content/uploads/20210309174341/Paddingof200pxfromtopofthescreen.png)
ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys.