[PyQt] Setting WM_CLASS for a window

todd rme toddrme2178 at gmail.com
Tue Feb 15 17:04:58 GMT 2011


Is this not possible?  It seems pygtk can do it, but I can't find any
way to do it in pyqt.

-Todd

On Thu, Jan 20, 2011 at 3:12 PM, todd rme <toddrme2178 at gmail.com> wrote:
> 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