Re: tooltip colors w/o theme
- From: Vlad Harchev <hvv hippo ru>
- To: Jeff Shipman <shippy nmt edu>
- Cc: GTK List <gtk-list gnome org>
- Subject: Re: tooltip colors w/o theme
- Date: Thu, 22 Mar 2001 13:57:58 +0400 (SAMT)
On Wed, 21 Mar 2001, Jeff Shipman wrote:
Hi,
Just
gtk_rc_parse_string(string_containing_defintions_for_tooltips);
E.g.
gtk_rc_parse_string(
\"style "gtk-tooltips-style\" {\
bg[NORMAL] = \"#ffffc0\"\
}\
\
widget \"gtk-tooltips\" style \"gtk-tooltips-style\""
)
You can generate such string using sprintf - i.e. have a background of any
color you like.
> I would like to set the background color of
> a tooltip without having to use a theme. I
> looked at the API and it said that
> gtk_tooltips_set_colors() is unimplemented
> and sure enough, it doesn't work.
>
> Is there a way to set the background color
> without using a theme?
>
> Jeff "Shippy" Shipman E-Mail: shippy nmt edu
> Computer Science Major ICQ: 1786493
> New Mexico Institute of Mining and Technology
> Homepage: http://www.nmt.edu/~shippy
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
Best regards,
-Vlad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]