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?
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3376 0125
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/