Top |
const GList * | gspell_language_get_available () |
const GspellLanguage * | gspell_language_get_default () |
const GspellLanguage * | gspell_language_lookup () |
const gchar * | gspell_language_get_code () |
const gchar * | gspell_language_get_name () |
gint | gspell_language_compare () |
GspellLanguage * | gspell_language_copy () |
void | gspell_language_free () |
GspellLanguage represents a language that can be used for the spell checking, i.e. a language for which a dictionary is installed.
const GList *
gspell_language_get_available (void
);
the list of available
languages, sorted with gspell_language_compare()
.
[transfer none][element-type GspellLanguage]
const GspellLanguage *
gspell_language_get_default (void
);
Finds the best available language based on the current locale.
const GspellLanguage *
gspell_language_lookup (const gchar *language_code
);
const gchar *
gspell_language_get_code (const GspellLanguage *language
);
const gchar *
gspell_language_get_name (const GspellLanguage *language
);
Returns the language
name translated to the current locale. For example
"French (Belgium)" is returned if the current locale is in English and the
language
code is fr_BE.
gint gspell_language_compare (const GspellLanguage *language_a
,const GspellLanguage *language_b
);
Compares alphabetically two languages by their name, as returned by
gspell_language_get_name()
.
GspellLanguage *
gspell_language_copy (const GspellLanguage *language
);
Used by language bindings.
void
gspell_language_free (GspellLanguage *language
);
Used by language bindings.