Skip to content
Advertisement

Tag: multiple-monitors

tkinter – screen width and height of secondary display?

I have a dual monitors set up (laptop screen and external monitor). My laptop screen is my primary display and external monitor is secondary. Both have different screen sizes. In my python tkinter script, i have used winfo_screenwidth() and winfo_screenheight() to detect the screen width and height so that I can set the root window to become full screen. Normally,

Advertisement