Top | ![]() |
![]() |
![]() |
![]() |
void | skk_dict_reload () |
SkkCandidate ** | skk_dict_lookup () |
gchar ** | skk_dict_complete () |
gboolean | skk_dict_select_candidate () |
gboolean | skk_dict_purge_candidate () |
void | skk_dict_save () |
gboolean | skk_dict_get_read_only () |
SkkEmptyDict * | skk_empty_dict_new () |
#define | SKK_TYPE_DICT |
struct | SkkDict |
struct | SkkDictClass |
#define | SKK_TYPE_EMPTY_DICT |
struct | SkkEmptyDict |
struct | SkkEmptyDictClass |
GObject ╰── SkkDict ├── SkkCdbDict ├── SkkEmptyDict ├── SkkFileDict ├── SkkSkkServ ╰── SkkUserDict
void skk_dict_reload (SkkDict *self
,GError **error
);
Reload the dictionary.
GError will be returned in error
when reading the dictionary failed.
SkkCandidate ** skk_dict_lookup (SkkDict *self
,const gchar *midasi
,gboolean okuri
,gint *result_length1
);
Lookup candidates in the dictionary.
self |
the SkkDict instance |
|
midasi |
. a midasi (title) string to lookup . |
[in] |
okuri |
. whether to search okuri-ari entries or okuri-nasi entries . |
[in] |
gchar ** skk_dict_complete (SkkDict *self
,const gchar *midasi
,gint *result_length1
);
Return an array of strings which matches midasi.
gboolean skk_dict_select_candidate (SkkDict *self
,SkkCandidate *candidate
);
Select a candidate in the dictionary.
gboolean skk_dict_purge_candidate (SkkDict *self
,SkkCandidate *candidate
);
Purge a candidate in the dictionary.
void skk_dict_save (SkkDict *self
,GError **error
);
Save the dictionary on disk.
GError will be returned in error
if the dictionary cannot be saved.
gboolean
skk_dict_get_read_only (SkkDict *self
);
Get and return the current value of the "read-only" property.
Flag to indicate whether the dictionary is read only.
struct SkkDictClass { GObjectClass parent_class; void (*reload) (SkkDict* self, GError** error); SkkCandidate** (*lookup) (SkkDict* self, const gchar* midasi, gboolean okuri, gint* result_length1); gchar** (*complete) (SkkDict* self, const gchar* midasi, gint* result_length1); gboolean (*select_candidate) (SkkDict* self, SkkCandidate* candidate); gboolean (*purge_candidate) (SkkDict* self, SkkCandidate* candidate); void (*save) (SkkDict* self, GError** error); gboolean (*get_read_only) (SkkDict* self); };
The class structure for SKK_TYPE_DICT
. All the fields in this structure are private and should never be accessed directly.
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
getter method for the abstract property "read-only" |
#define SKK_TYPE_EMPTY_DICT (skk_empty_dict_get_type ())
The type for SkkEmptyDict.
struct SkkEmptyDictClass { SkkDictClass parent_class; };
The class structure for SKK_TYPE_EMPTY_DICT
. All the fields in this structure are private and should never be accessed directly.