Answers for "tkinter get screen dimentions"

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

Python Answers by Framework

Browse Popular Code Answers by Language