changing color of tooltips



Hi,

I have been trying to change the color of the background of tooltips to
yellow, but so far with no succes. The documentation says that
"gtk_tooltips_set_colors"
is  not implemented, because the colors are determined by the current theme.

So I tried to write a gtkrc:
        style "tooltips"
        {
                fg[NORMAL] = {0.00,0.00,0.00}
                bg[NORMAL] = {1.00,0.96,0.56}
        }

        class "GtkTooltips" style "tooltips"

But this doesn't work. If I replace "GtkTooltips" with "GtkWidget" than
everything turns yellow. Can anybody help me with this?

Hans Gremmen





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