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

Re: Color in GtkLabel ?





On Wed, 11 Nov 1998, Eric Harlow wrote:

:
:Define "partially" colored?  Like the top half of the letters are blue
:and the bottom half yellow?

like: "\e[31mHello \e[0mthere"
Different letter with different colors. All letters same color will do to, so
those styles may be usefull. Just one thing, how do I alther them.

If I do

GtkStyle *style;
style = gtk_widget_get_style();
style->fg_gc[GTK_STATE_NORMAL] = ????

How do I put an RGB value in a GdkGC (whatever that is)...
Looking at gdk.h didn't help me :(

Any suggestions?

Gert



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