0

python-wnck具有 Screen 对象,该对象组合了多个监视器的区域并将其提供给get_screen_size(). 如何获得单个显示器的大小。我正在尝试将窗口从一台显示器移动到另一台显示器

4

1 回答 1

0

There are a lot of methods listed here : How do I get monitor resolution in Python?

I'm not sure if all the methods works for multiple screens. If you're using Window, try to run this code : http://code.activestate.com/recipes/460509-get-the-actual-and-usable-sizes-of-all-the-monitor/

于 2013-10-29T13:52:04.623 回答