[pygtk] allocating colors

Johannes Zellner johannes at zellner.org
Thu Aug 12 15:51:50 WST 2004


Hello,

if I allocate more than 256 colors for drawing on a gtk.Image(), the
label colors of other widgets in the application get some wrong color.
I don't really understand this, as I'm running a TrueColor visual
with 24 bits depth here.

How should I allocate colors to avoid a colormap corruption?

-- 
Johannes


More information about the pygtk mailing list