Re: Color of tooltips.
- From: Sven Neumann <sven gimp org>
- To: "ldx" <ldxlq 263 net>
- Cc: "gtk" <gtk-list gnome org>
- Subject: Re: Color of tooltips.
- Date: 16 Aug 2001 11:18:18 +0200
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]