On Fri, 4 May 2001, Alexandre Fayolle wrote:

> 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...)

The colour selector APIs that returned arrays of floats have been
deprecated in favour of ones that use GdkColor's in gtk 2.0, which should
get rid of some of the confusion :)

James.

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

Reply via email to