Re: [gtk-list] (newbie) Setting foreground colors for GCs

Ian King, dans le message (.gtk.general:679), a écrit :
> I have been trying to write a simple program that shows a red rectangle =
> on the screen on top of all other windows.  Everything works except for =
> the setting of the red color, I have created a color struct with the Red =
> value set to full intensity but the color shown on screen is white.  Can =
> anyone please tell me where I am going wrong, is there something I have =
> omitted?

I think you have forgotten to allocate your color.

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