view console/libgnt/gntstyle.h @ 14881:5228f8cf2a6a

[gaim-migrate @ 17650] Print a debug message if someone tries to specify a binding for some non-existent action. Make sure the conversation windows aren't too large to cause a crash. raise(SIGABRT) instead of exit() to force a coredump if something goes wrong with stdin. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 01 Nov 2006 20:59:23 +0000
parents 061157db8017
children 065e7ac30338
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, GntWidgetClass *klass);

void gnt_init_styles();

void gnt_uninit_styles();