On Mon, 2005-05-09 at 14:46 -0300, Christian Robottom Reis wrote:
> On Mon, May 09, 2005 at 10:31:01AM +0100, Gustavo J. A. M. Carneiro wrote:
> > > How to convert this following code to Python. Please any body help
> > > me.  
> > > 
> >   Yeah, I know it's not obvious.  I had to read the source to find out
> > how. :|
> >
> > import gtk
> > 
> > desktop_type = gtk.gdk.atom_intern("_NET_WM_WINDOW_TYPE_DESKTOP", False)
> > win = gtk.Window()
> > win.show()
> > win.realize()
> > win.window.property_change(gtk.gdk.atom_intern("_NET_WM_WINDOW_TYPE", 
> > False),
> >                            gtk.gdk.atom_intern("ATOM", False), 32,
> >                            gtk.gdk.PROP_MODE_REPLACE,
> >                            [desktop_type])
> > 
> > gtk.main()
> 
> What would be an appropriate question for a FAQ item that contained this
> as an answer?

  
23.26. How to change window properties involving atom values? **

  http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq23.026.htp

> 
> Take care,
> --
> Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3376 0125
-- 
Gustavo J. A. M. Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
The universe is always one step beyond logic

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to