| Top |
| GtkSpell * | gtkspell_new_attach () |
| gboolean | gtkspell_set_language () |
| void | gtkspell_recheck_all () |
| GtkSpell * | gtkspell_get_from_text_view () |
| void | gtkspell_detach () |
GtkSpell * gtkspell_new_attach (GtkTextView *view,const gchar *lang,GError **error);
Create a new GtkSpell object attached to view
with language lang
.
gboolean gtkspell_set_language (GtkSpell *spell,const gchar *lang,GError **error);
Set the language on spell
to lang
, possibily returning an error in
error
.
spell |
The GtkSpell object. |
|
lang |
The language to use, in a form enchant understands (it appears to be a locale specifier?). |
|
error |
Return location for error. |
void
gtkspell_recheck_all (GtkSpell *spell);
Recheck the spelling in the entire buffer.
GtkSpell *
gtkspell_get_from_text_view (GtkTextView *view);
Retrieves the GtkSpell object attached to a text view.
void
gtkspell_detach (GtkSpell *spell);
Detaches this GtkSpell from its text view. Use
gtkspell_get_from_text_view() to retrieve a GtkSpell from a
GtkTextView.