python-wnck有Screen对象,它组合了多个监视器的区域,并在get_screen_size()中给出了它。如何获取单个显示器的大小。我正在尝试将窗口从一个监视器移动到另一个监视器
发布于 2013-10-29 21:52:05
这里列出了很多方法:How do I get monitor resolution in Python?
我不确定是否所有的方法都适用于多个屏幕。如果您正在使用Window,请尝试运行以下代码:http://code.activestate.com/recipes/460509-get-the-actual-and-usable-sizes-of-all-the-monitor/
https://stackoverflow.com/questions/19659792
复制相似问题