[PyQt] desktop workspace

Hans-Peter Jansen hpj at urpla.net
Sat Aug 6 23:59:48 BST 2011


On Saturday 06 August 2011, 01:35:55 emmanuel_mayssat at lynceantech.com 
wrote:
> I am trying to save the geometry and and the workspace where the
> application has been closed. Is there a way with Python/Qt to get the
> info on the workspace number!?

While Arnold is generally right, there might be cases, where it is 
useful. At least, you should take changing resolutions and # of 
desktops into account..

I guess, the class QDesktopWidget provides, what you asked for.

Pete


More information about the PyQt mailing list