On Thu, 3 May 2001, mallum wrote:

> wierd this is what I was doing. But with 8 bit vals ;
> 
> eg - my_col=window.get_colormap().alloc(0,255,255)
> 
> with you 16 bit vals it seem to work !

Yes this is very confusing at first (esp. when combined with the Gtk Color
selector which returns float values in the [0,1] range...)

Alexandre Fayolle
-- 
http://www.logilab.com 
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).

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

Reply via email to