Re: Color of tooltips.



Hi,

"ldx" <ldxlq 263 net> writes:

> Who can teach me to change the background color of tooltips on the toolbar,and I try it using "gtk_tooltips_set_colors ()" function , but it did not work.  It's puzzling. And I don't know how to solve it. 

again, a quick look at the source helps a lot. gtk_tooltips_set_colors()
has no effect since the colors are taken from the style. The easiest way
to configure this is to add a few lines to the gtkrc:

 style "tooltips"
 {
   fg[NORMAL] = { 0.0,  0.0,  0.0  }
   bg[NORMAL] = { 0.94, 0.90, 0.54 }
 }

 widget "gtk-tooltips" style "tooltips"


Salut, Sven





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