view console/libgnt/gntstyle.h @ 15050:d0f5147753dd

[gaim-migrate @ 17833] Fix "Paste" and "Paste as Plain Text" from the imhtml on win32. This was apparently broken by gtk changing how the clipboard is handled internally. This is a much cleaner way to do this anyway. I should probably check if it works on GTK+ 2.6.10. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 28 Nov 2006 06:37:12 +0000
parents 065e7ac30338
children d08d7b7375c7
line wrap: on
line source

#include "gnt.h"

typedef enum
{
	GNT_STYLE_SHADOW = 0,
	GNT_STYLE_COLOR = 1,
	GNT_STYLE_MOUSE = 2,
	GNT_STYLE_WM = 3,
	GNT_STYLES
} GntStyle;

void gnt_style_read_configure_file(const char *filename);

const char *gnt_style_get(GntStyle style);

gboolean gnt_style_get_bool(GntStyle style, gboolean def);

/* This should be called only once for the each type */
void gnt_styles_get_keyremaps(GType type, GHashTable *hash);

void gnt_style_read_actions(GType type, GntBindableClass *klass);

void gnt_init_styles();

void gnt_uninit_styles();