On 06/08/11 23:59, Hans-Peter Jansen wrote:
On Saturday 06 August 2011, 01:35:55 emmanuel_mays...@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.

i agree it's not obvious what the op might want to do with the workspace number once he's saved it. but in any case, i think QDesktopWidget only provides information about screens, not workspaces.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to