Re: [gtk-list] what is the pixel value of the GdkColor ?



On Wed, 26 May 1999, Sven LUTHER wrote:

Hi !

> > easy way, how to do it :
> > 
> > 	color = colormap->colors[pixel];
> > 
> > But, I hope that, there should be some function for it.
> 
> In my case, i am writting a binding for ocaml, an ml style language and what
> you just described is quite un-nice. a :
> 
> Gdkcolor gdk_colormap_get_pixel_color (GdkColormap colormap, gunit32 pixel)
> 
> would be very nice,

I mean too, but there isn't such function (or am I blind ?).

Regards,
Stevo.

---
Stefan Ondrejicka <ondrej@idata.sk>
Beethovenova 11, 917 08 Trnava, Slovakia
http://www.idata.sk/~ondrej/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]