Re: why that not working?



Hi,

¶À¼y Kason Huang <kasonhuang kinposh com cn> writes:

> hello:
> for creating a colorful button,I do a testing code,however,that not working?
> why and how to do?anyone could help me?
> 
> #include<gtk/gtk.h>
> #include<gdk/gdkx.h>
> 
> GdkColor cyan = {0,0x0000,0xFFFF,0xFFFF};

you can't allocate a color like this. I'd suggest to have a look at

  http://developer.gnome.org/doc/GGAD/sec-gdkvisual.html


Salut, Sven



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