2 Stuphead: (C) 2000,2001 Grigroy Bakunov, Sergey Pinaev
4 /* gtkspell - a spell-checking addon for GtkText
5 * Copyright (c) 2000 Evan Martin.
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.
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.
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
23 * Adapted by the Sylpheed Claws Team.
26 #ifndef __gtkspell_h__
27 #define __gtkspell_h__
31 typedef struct _Dictionary
{
36 int gtkspell_start(unsigned char *path
, char * args
[]);
38 void gtkspell_attach(GtkXText
*text_ccc
);
40 void gtkspell_detach(GtkXText
*gtktext
);
42 void gtkspell_check_all(GtkXText
*gtktext
);
44 void gtkspell_uncheck_all(GtkXText
*gtktext
);
46 GSList
*gtkspell_get_dictionary_list(const char *ispell_path
);
48 void gtkspell_free_dictionary_list(GSList
*list
);
50 GtkWidget
*gtkspell_dictionary_option_menu_new(const gchar
*ispell_path
);
51 gchar
*gtkspell_get_dictionary_menu_active_item(GtkWidget
*menu
);
53 #endif /* __gtkspell_h__ */