문제

I have a program that opens two separate windows, one of which is full screen. I would like to open the full screen window on the secondary display (this program will require at least 2 screens to be properly functional, but is not enforced) and the other window on the main display.

Is there any way to do this in python 3 and tkinter?

도움이 되었습니까?

해결책

Probably not a very portable solution, but what I have seen done in the past is to use absolute positioning (using wxPython, though). So if you have two monitors set at 1024X768 in a side by side setup, the first screen's x would be 0, and the second screen's x would be 1024 (or 768 if I have my x's and y's mixed up ;).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top