[Qt-interest] GUI Application List?

David Boosalis david.boosalis at gmail.com
Tue Aug 4 10:53:58 CEST 2009


If your focused on Linux you may want to investigate some of KDE's
API's. For instance KWindowSystem and KWindowInfo might work for you.
And who knows it might they may  work on Windows

const QList< WId > & KWindowSystem::windows()
KWindowInfo (WId window, unsigned long properties, unsigned long properties2=0).

Perhaps lookin at the source code

On Mon, Aug 3, 2009 at 3:36 PM, Ben Axelrod<baxelrod at coroware.com> wrote:
> Does anyone know how to get the list of currently running GUI applications
> on Linux programmatically?  (Note: I do not mean ps, although I may have to
> resort to that).  I imagine there must be some way to poke the window
> manager for this info.  I am doing this through Qt, so if there is a
> cross-platform way to do this, that would be best.  But I am focusing on
> Linux for now.
>
> Thanks,
> -Ben
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>




More information about the Qt-interest-old mailing list