On 06/08/11 00:35, [email protected] 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!?
you could use dbus:
>>> import dbus
>>> bus = dbus.SessionBus()
>>> kwin = bus.get_object('org.kde.kwin', '/KWin')
>>> print kwin.currentDesktop()
3
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
