[PyQt] Setting WM_CLASS for a window
Hans-Peter Jansen
hpj at urpla.net
Wed Feb 16 16:55:26 GMT 2011
On Tuesday 15 February 2011, 18:04:58 todd rme wrote:
> Is this not possible? It seems pygtk can do it, but I can't find any
> way to do it in pyqt.
I would start digging into the Qt source, but this is quite low level,
hence probably only feasible with specialized libs.
Pete
> -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
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list