Spelling.Dictionary – libspelling-1 Reference Manual
Packages
libspelling-1
Spelling
Dictionary
code
Dictionary
add_word
contains_word
get_code
get_extra_word_chars
ignore_word
list_corrections
Dictionary
Object Hierarchy:
Description:
[
CCode
( type_id =
"spelling_dictionary_get_type ()"
) ]
public
abstract
class
Dictionary
:
Object
Abstract base class for spellchecking dictionaries.
Namespace:
Spelling
Package:
libspelling-1
Content:
Properties:
public
string
code
{
get
;
construct
; }
The language code, for example `en_US`.
Creation methods:
protected
Dictionary
()
Methods:
public
void
add_word
(
string
word)
Adds
word
to the dictionary.
public
bool
contains_word
(
string
word,
ssize_t
word_len)
Checks if the dictionary contains
word
.
public
unowned
string
?
get_code
()
Gets the language code of the dictionary, or
null
if undefined.
public
unowned
string
get_extra_word_chars
()
Gets the extra word characters of the dictionary.
public
void
ignore_word
(
string
word)
Requests the dictionary to ignore
word
.
public
string
[]?
list_corrections
(
string
word,
ssize_t
word_len)
Retrieves a list of possible corrections for
word
.
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