added 'recieve at get all' to 'Edit accounts' window
[claws.git] / src / gtkspell.h
1 /*
2     Stuphead: (C) 2000,2001 Grigroy Bakunov, Sergey Pinaev
3  */
4 /* gtkspell - a spell-checking addon for GtkText
5  * Copyright (c) 2000 Evan Martin.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  * 
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
20  */
21
22 /*
23  * Adapted by the Sylpheed Claws Team.
24  */
25
26 #ifndef __gtkspell_h__
27 #define __gtkspell_h__
28
29 #include "gtkxtext.h"
30
31 typedef struct _Dictionary {
32         gchar *name;
33         gchar *path;
34 } Dictionary;
35
36 int gtkspell_start(unsigned char *path, char * args[]);
37
38 void gtkspell_attach(GtkXText *text_ccc);
39
40 void gtkspell_detach(GtkXText *gtktext);
41
42 void gtkspell_check_all(GtkXText *gtktext);
43
44 void gtkspell_uncheck_all(GtkXText *gtktext);
45
46 GSList *gtkspell_get_dictionary_list(const char *ispell_path);
47
48 void gtkspell_free_dictionary_list(GSList *list);
49
50 GtkWidget *gtkspell_dictionary_option_menu_new(const gchar *ispell_path);
51 gchar *gtkspell_get_dictionary_menu_active_item(GtkWidget *menu);
52
53 #endif /* __gtkspell_h__ */