Answers for "how to adjust the size of tkinter screen"

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 adjust the size of tkinter screen"

Python Answers by Framework

Browse Popular Code Answers by Language