Top | ![]() |
![]() |
![]() |
![]() |
gchar * | skk_candidate_to_string () |
SkkCandidate * | skk_candidate_new () |
const gchar * | skk_candidate_get_midasi () |
gboolean | skk_candidate_get_okuri () |
const gchar * | skk_candidate_get_text () |
void | skk_candidate_set_text () |
const gchar * | skk_candidate_get_annotation () |
void | skk_candidate_set_annotation () |
const gchar * | skk_candidate_get_output () |
void | skk_candidate_set_output () |
gchar * | annotation | Read / Write |
gchar * | midasi | Read |
gboolean | okuri | Read |
gchar * | output | Read / Write |
gchar * | text | Read / Write |
gchar *
skk_candidate_to_string (SkkCandidate *self
);
Convert the candidate to string.
SkkCandidate * skk_candidate_new (const gchar *midasi
,gboolean okuri
,const gchar *text
,const gchar *annotation
,const gchar *output
);
Create a new Candidate.
midasi |
. midasi (index) word which generate the candidate . |
[in] |
okuri |
. whether the candidate is a result of okuri-ari conversion . |
[in] |
text |
. base string value of the candidate . |
[in] |
annotation |
. optional annotation text to the candidate . |
[in][allow-none] |
output |
. optional output text used instead of text . |
[in][allow-none] |
const gchar *
skk_candidate_get_midasi (SkkCandidate *self
);
Get and return the current value of the "midasi" property.
Midasi word which generated this candidate.
gboolean
skk_candidate_get_okuri (SkkCandidate *self
);
Get and return the current value of the "okuri" property.
Flag to indicate whether this candidate is generated as a result of okuri-ari conversion.
const gchar *
skk_candidate_get_text (SkkCandidate *self
);
Get and return the current value of the "text" property.
Base string value of the candidate.
void skk_candidate_set_text (SkkCandidate *self
,const gchar *value
);
Set the value of the "text" property to value
.
Base string value of the candidate.
const gchar *
skk_candidate_get_annotation (SkkCandidate *self
);
Get and return the current value of the "annotation" property.
Optional annotation text associated with the candidate.
void skk_candidate_set_annotation (SkkCandidate *self
,const gchar *value
);
Set the value of the "annotation" property to value
.
Optional annotation text associated with the candidate.
self |
the SkkCandidate instance to modify |
|
value |
the new value of the "annotation" property |
const gchar *
skk_candidate_get_output (SkkCandidate *self
);
Get and return the current value of the "output" property.
Output string shown instead of text.
This is particularly useful to display a candidate of numeric conversion.
void skk_candidate_set_output (SkkCandidate *self
,const gchar *value
);
Set the value of the "output" property to value
.
Output string shown instead of text.
This is particularly useful to display a candidate of numeric conversion.
#define SKK_TYPE_CANDIDATE (skk_candidate_get_type ())
The type for SkkCandidate.
struct SkkCandidateClass { GObjectClass parent_class; };
The class structure for SKK_TYPE_CANDIDATE
. All the fields in this structure are private and should never be accessed directly.
“annotation”
property “annotation” gchar *
Optional annotation text associated with the candidate.
Owner: SkkCandidate
Flags: Read / Write
Default value: NULL
“midasi”
property “midasi” gchar *
Midasi word which generated this candidate.
Owner: SkkCandidate
Flags: Read
Default value: NULL
“okuri”
property “okuri” gboolean
Flag to indicate whether this candidate is generated as a result of okuri-ari conversion.
Owner: SkkCandidate
Flags: Read
Default value: FALSE
“output”
property “output” gchar *
Output string shown instead of text.
This is particularly useful to display a candidate of numeric conversion.
Owner: SkkCandidate
Flags: Read / Write
Default value: NULL