[PyQt] desktop workspace
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part.
More information about the PyQt