Mercurial > pidgin
annotate finch/libgnt/gntstyle.h @ 17406:747e5fd970e6
Reluctantly, I've added a preference for overriding the GTK+ default theme in GtkIMHtml widgets. There is support for this feature in the GNOME HIG and in other GTK+ (including GNOME) applications. This fixes #494. This is a GTK+ 2.4-only feature. I don't update the fonts in existing gtkimhtml's yet, only in new ones. Someone else may want to take care of that
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 31 May 2007 03:00:35 +0000 |
parents | 0e3a8505ebbe |
children | 56d2ae9cbb5c 8410511f4dbb 08e93462f189 |
rev | line source |
---|---|
15817 | 1 #include "gnt.h" |
2 | |
3 typedef enum | |
4 { | |
5 GNT_STYLE_SHADOW = 0, | |
6 GNT_STYLE_COLOR = 1, | |
7 GNT_STYLE_MOUSE = 2, | |
8 GNT_STYLE_WM = 3, | |
9 GNT_STYLE_REMPOS = 4, | |
10 GNT_STYLES | |
11 } GntStyle; | |
12 | |
13 void gnt_style_read_configure_file(const char *filename); | |
14 | |
15 const char *gnt_style_get(GntStyle style); | |
16 | |
17 gboolean gnt_style_get_bool(GntStyle style, gboolean def); | |
18 | |
19 /* This should be called only once for the each type */ | |
20 void gnt_styles_get_keyremaps(GType type, GHashTable *hash); | |
21 | |
22 void gnt_style_read_actions(GType type, GntBindableClass *klass); | |
23 | |
24 void gnt_init_styles(void); | |
25 | |
26 void gnt_uninit_styles(void); | |
27 |