[PyQt] desktop workspace

Baz Walter bazwal at ftml.net
Sun Aug 7 15:02:37 BST 2011

On 06/08/11 23:59, Hans-Peter Jansen wrote:
> 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.

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.

More information about the PyQt mailing list