[PyQt] desktop workspace

Arnold Krille arnold at arnoldarts.de
Sat Aug 6 21:08:59 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!?

Why? Its either the window-managers task to restore that exact position as 
before, or its the winow-managers task to place your windows where they fit. 
And its the users task to decide what the window-manager should do. Your app 
shouldn't worry about that.
And it will be _very_ surprising (if not misleading and disturbing) when your 
app re-appears on the desktop it previously was while the user starting your 
app is on a different desktop altogether and expects a window coming up.

So in short: Don't worry about it, thats the window-managers task, focus on 
the tasks of your app.

Have fun,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110806/8b4ff841/attachment.pgp>

More information about the PyQt mailing list