aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-categories-config.h
blob: 9ad0b5fe093b06ea7f62a870fde7d0ae32d777f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Categories configuration.
 *
 * Author:
 *   Rodrigo Moya <rodrigo@ximian.com>
 *
 * Copyright 2001, Ximian, Inc.
 */

#ifndef __E_CATEGORIES_CONFIG_H__
#define __E_CATEGORIES_CONFIG_H__

#include <glib.h>
#include <gdk/gdk.h>
#include <gtk/gtkentry.h>
#include <libgnome/gnome-defs.h>

BEGIN_GNOME_DECLS

const char *e_categories_config_get_color_for (const char *category);
void e_categories_config_set_color_for (const char *category, const char *color);

void e_categories_config_get_icon_for (const char *category,
                       GdkPixmap **icon,
                       GdkBitmap **mask);
void e_categories_config_set_icon_for (const char *category,
                       const char *pixmap_file);

void e_categories_config_open_dialog_for_entry (GtkEntry *entry);

END_GNOME_DECLS

#endif