Hello, all,

I can create a pixmap with:

self.backing_pixmap = create_pixmap(mywin,self.ww,self.wh)

But then if I try to access the colormap on the pixmap, I get None.
Why doesn't it link to mywin.colormap?

Or if I try to set it like so:

# Tie the two colormaps together
self.backing_pixmap.colormap = self.get_window().colormap

I get:
"./peily_drawingarea.py", line 193, in reconfigure
    self.backing_pixmap.colormap = self.get_window().colormap
TypeError: object has read-only attributes

How do I attach a colormap to the pixmap so that any function which has 
access to the pixmap can draw into it rather than the current limitation of 
only realized and exposed widgets (which can access their own colormaps as a 
surrogate)?

Thanks,
Andy L.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to