gntstyle.h
Go to the documentation of this file.00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include "gnt.h"
00028 #include "gntwm.h"
00029
00030 typedef enum
00031 {
00032 GNT_STYLE_SHADOW = 0,
00033 GNT_STYLE_COLOR = 1,
00034 GNT_STYLE_MOUSE = 2,
00035 GNT_STYLE_WM = 3,
00036 GNT_STYLE_REMPOS = 4,
00037 GNT_STYLES
00038 } GntStyle;
00039
00045 void gnt_style_read_configure_file(const char *filename);
00046
00052 const char *gnt_style_get(GntStyle style);
00053
00065 char *gnt_style_get_from_name(const char *group, const char *key);
00066
00079 char **gnt_style_get_string_list(const char *group, const char *key, gsize *length);
00080
00092 int gnt_style_get_color(char *group, char *key);
00093
00103 gboolean gnt_style_parse_bool(const char *value);
00104
00114 gboolean gnt_style_get_bool(GntStyle style, gboolean def);
00115
00119 void gnt_styles_get_keyremaps(GType type, GHashTable *hash);
00120
00124 void gnt_style_read_actions(GType type, GntBindableClass *klass);
00125
00134 gboolean gnt_style_read_menu_accels(const char *name, GHashTable *table);
00135
00140 void gnt_style_read_workspaces(GntWM *wm);
00141
00145 void gnt_init_styles(void);
00146
00150 void gnt_uninit_styles(void);
00151
00152