Re: Change colour of an entry



Hello Johnny,
you can write

Style->color_flags[GTK_STATE_NORMAL] =
(GtkRcFlags)(Style->color_flags[GTK_STATE_NORMAL] | GTK_RC_FG);

and

Style->color_flags[GTK_STATE_NORMAL] =
(GtkRcFlags)(Style->color_flags[GTK_STATE_NORMAL] | GTK_RC_BASE);

to activate the color changes.

I've tried it but I can't see the foreground color and the base color of the
entry at the same time, I see only the color that I change first.

Thanks

Johnny




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