On Mon, 2005-05-09 at 07:21 +0000, Susant Kumar Padhi wrote: > Hi All, > > 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. :|
Take care.
> --------------------------------------
> desktop_type = gdk_atom_intern ("_NET_WM_WINDOW_TYPE_DESKTOP", FALSE);
>
>
> gdk_property_change (win->window,
> gdk_atom_intern ("_NET_WM_WINDOW_TYPE",
> FALSE),
> gdk_atom_intern ("ATOM", FALSE), 32,
> GDK_PROP_MODE_REPLACE, (guchar *) &
> desktop_type, 1);
>
> ---------------------------------------
>
> Regards
> Susant
>
> Susant Kumar Padhi
>
>
> _______________________________________________
> pygtk mailing list [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
--
Gustavo J. A. M. Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
The universe is always one step beyond logic.
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()
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
