On Fri, 9 Jun 2000 [EMAIL PROTECTED] wrote:

> Greetings,
> 
>       Wonder if anybody could tell me what's this call is supposed to
> achieve on a given window .

It sets the WM_CLASS property on the window.  This can be used to identify
windows belonging to a particular application.  For instance, in sawmill,
I get it to ignore the program position of windows belonging to netscape,
so they don't all get placed in the same position.  This would be a lot
more difficult to do if there wasn't an easy way to identify windows
belonging to the app.

GTK automatically assignes a WM_CLASS property to windows it creates if
you don't.  You can check this with the command "xprop WM_CLASS", then
clicking on your app's window.

> 
> Thanks all
> 
> _____________________________________________________________
>                                                       
>                                       LaBoufarikoise
> 

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to