TomoeCandidate
TomoeCandidate
|
|
Object Hierarchy
GObject
╰── TomoeCandidate
Functions
tomoe_candidate_set_score ()
void
tomoe_candidate_set_score (TomoeCandidate *cand
,
gint score
);
tomoe_candidate_get_score ()
gint
tomoe_candidate_get_score (TomoeCandidate *cand
);
tomoe_candidate_compare ()
gint
tomoe_candidate_compare (const TomoeCandidate *a
,
const TomoeCandidate *b
);
Compare two TomoeCandidate.
Returns
-1 a < b, 0 a= b, 1 a > b
Types and Values
struct TomoeCandidate
struct TomoeCandidate;
Property Details
The “char”
property
“char” TomoeChar *
A TomoeChar object.
Flags: Read / Write / Construct Only
The “score”
property
“score” guint
Score of this candidate. Lower value has higher priority.
Flags: Read / Write
Allowed values: <= G_MAXINT
Default value: 0