Thankx Christian,

It Works fine.
Again I am trying to translate following code in to the Pygtk. but  dont know how to get the Window ID. I searched a lot in PyGtk document for a GDK_WINDOW_XID macro but there is no such function.

Can any body help me to convert following code in to Python.


---------------------------------------
atom = gdk_atom_intern ("VES_DESKTOP_WINDOW", FALSE);
xid = GDK_WINDOW_XID (win->window);
                                                                               
gdk_property_change (gdk_get_default_root_window (),
                        atom,
                        gdk_atom_intern ("WINDOW", FALSE), 32,
                        GDK_PROP_MODE_REPLACE, (guchar *) & xid, 1);

-----------------------------------

thanx
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/

Reply via email to