tkinter what's the size of full window screen code example
Example 1: screen size tkinter
import tkinter as tk
root = tk.Tk()
screen_width = root.winfo_screenwidth()
screen_height = root.winfo_screenheight()
Example 2: get size of window tkinter
# Where w is a widget:
w.winfo_height()
w.winfo_width()