now I was using these code to get the destop background:
        rootWindow = gtk.gdk.get_default_root_window()
        width, height = rootWindow.get_size()
        pixbuf = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False, 8, width,
height)
        desktopBackground = pixbuf.get_from_drawable(
        rootWindow, rootWindow.get_colormap(), 0, 0, 0, 0, width, height)
But it was so slower for me, does has any else method to get the
destbackground?
can anyone help me .Thanks.
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to