Getting style information about GtkTooltips?



Is there a clean way to determine the current styles, namely the
background color, of GtkTooltips? Since they're no descendants of
GtkWidget gtk_widget_get_style () doesn't work.

The background color of tooltips in the default theme is a palish yellow
(0xeee1b3, gtkrc.c). I'd like to use the tooltip color for other things
but remain compatible to other themes as well, which may use different
colors for tooltips. Any idea how I can obtain that value in a program?



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