Re: why that not working?
- From: Sven Neumann <sven gimp org>
- To: =?cn-big5?b?tsC8eQ==?= Kason Huang <kasonhuang kinposh com cn>
- Cc: <gtk-list gnome org>
- Subject: Re: why that not working?
- Date: 21 Jan 2002 10:26:18 +0100
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]