Name
GnomeSpell -- Deprecated.
Object Hierarchy
GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
+----GnomeSpell |
Description
Deprecated spell-checker widget.
Details
struct GnomeSpellInfo
struct GnomeSpellInfo {
gchar* original;
gchar* replacement;
gchar* word;
guint offset;
GSList * words;
}; |
gnome_spell_new ()
GtkWidget* gnome_spell_new (void); |
Create a new GNOME spell checker object.
gnome_spell_check ()
gint gnome_spell_check (GnomeSpell *gtkspell,
gchar *str); |
Perform spell-checking on one or more words.
FIXME: there is a problem when you call gnome_spell_check(spell, "bogus bogus"):
if you accept bogus the first time, it will be reported again
because ispell checked it before...
The easiest solution is to spell-check a word at a time (but it's slow).
gnome_spell_accept ()
void gnome_spell_accept (GnomeSpell *gtkspell,
gchar *word); |
Adds a single word to the runtime list of words that the spelling
checker should ignore.
gnome_spell_insert ()
void gnome_spell_insert (GnomeSpell *gtkspell,
gchar *word,
gint lowercase); |
Adds a single word to the spelling checker's private dictionary.
gnome_spell_next ()
Adds a single word to the runtime list of words that the spelling
checker should ignore.
gnome_spell_kill ()
Terminates the external spelling checker process, if present.