[PyQt] Setting WM_CLASS for a window

todd rme toddrme2178 at gmail.com
Thu Jan 20 20:12:00 GMT 2011


Hi,

I have a window made using PyQt.  X11 has a property called WM_CLASS
that lets you set the class and application names for an application.
This is used, for instance, by kwin and compiz for setting
window-specific rules.  I cannot figure out how to set this in PyQt,
however.  Does anyone know how I can set this for a PyQt application?
Currently it just shows empty values for both.

Here is the documentation provided by X11 for this property:

http://tronche.com/gui/x/icccm/sec-4.html#WM_CLASS

Thanks for your help.

-Todd


More information about the PyQt mailing list