Gspell.Checker – gspell-1 Reference Manual
Packages
gspell-1
Gspell
Checker
language
Checker
add_word_to_personal
add_word_to_session
check_word
clear_session
get_language
get_suggestions
set_correction
set_language
session_cleared
word_added_to_personal
word_added_to_session
Checker
Object Hierarchy:
Description:
[
CCode
( type_id =
"gspell_checker_get_type ()"
) ]
public
class
Checker
:
Object
Namespace:
Gspell
Package:
gspell-1
Content:
Properties:
public
Language
language
{
get
;
set
construct
; }
The
Language
used.
Creation methods:
public
Checker
(
Language
? language)
Creates a new
Checker
.
Methods:
public
void
add_word_to_personal
(
string
word,
ssize_t
word_length)
Adds a word to the personal dictionary.
public
void
add_word_to_session
(
string
word,
ssize_t
word_length)
Adds a word to the session dictionary.
public
bool
check_word
(
string
word,
ssize_t
word_length)
throws
Error
If the
language
is
null
, i.
public
void
clear_session
()
Clears the session dictionary.
public
unowned
Language
?
get_language
()
public
SList
<
string
>
get_suggestions
(
string
word,
ssize_t
word_length)
Gets the suggestions for
word
.
public
void
set_correction
(
string
word,
ssize_t
word_length,
string
replacement,
ssize_t
replacement_length)
Informs the spell checker that
word
is replaced/corrected by
replacement
.
public
void
set_language
(
Language
? language)
Sets the language to use for the spell checking.
Signals:
public
virtual
signal
void
session_cleared
()
Emitted when the session dictionary is cleared.
public
virtual
signal
void
word_added_to_personal
(
string
word)
Emitted when a word is added to the personal dictionary.
public
virtual
signal
void
word_added_to_session
(
string
word)
Emitted when a word is added to the session dictionary.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref