jarvisteach / appJar

Simple Tkinter GUIs in Python
http://appJar.info
Other
615 stars 68 forks source link

How can I control which monitor my GUI launches on? #557

Open robertmlinden opened 5 years ago

robertmlinden commented 5 years ago

Context


I'm working on a computer with two monitors. I do app.setSize('fullscreen') but it does so on the wrong monitor. My primary monitor is left of my secondary monitor, and the app launches and seems to be confined within the secondary monitor. How can I launch it on my primary monitor?

Sample code, demonstrating the issue

from appJar import gui

app = gui('Login') app.setSize("fullscreen") app.go()

Version Information


Windows 10, appJar 0.93.0, Python 3.5

jarvisteach commented 5 years ago

I don't currently have two screens set-up, so can't investigate at the moment.

A quick search suggests that multiscreen displays have a much bigger width attribute, and setting x position can control which screen the GUI appears on, but I've seen people complaining that fullscreen doesn't necessary use the same screen. I'll get back to you...