Answers for "how to make window size of the screen tkinter"

0

screen size tkinter

import tkinter as tk

root = tk.Tk()

screen_width = root.winfo_screenwidth()
screen_height = root.winfo_screenheight()
Posted by: Guest on March-09-2020
3

get size of window tkinter

# Where w is a widget:
w.winfo_height()
w.winfo_width()
Posted by: Guest on March-10-2020

Code answers related to "how to make window size of the screen tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language