colours: help please



Could someone please tell me how to use colours in gtk? How do I
convert a 0-255 RGB value to the form needed by GdkColor?

I'm trying to put coloured text into a GtkText widget, but I'm only
getting grey so far - it does support coloured text, right?

Thanks

Tony
--
E-Mail: Tony Gale <gale@minotaur.dra.hmg.gb>
I'm having a BIG BANG THEORY!!

The views expressed above are entirely those of the writer
and do not represent the views, policy or understanding of
any other person or official body.



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