| Tomoe Reference Manual | ||||
|---|---|---|---|---|
TomoeQuery;
TomoeQuery* tomoe_query_new (void);
const gchar* tomoe_query_get_utf8 (TomoeQuery *query);
void tomoe_query_set_utf8 (TomoeQuery *query,
const gchar *utf8);
void tomoe_query_add_reading (TomoeQuery *query,
TomoeReading *reading);
const GList* tomoe_query_get_readings (TomoeQuery *query);
void tomoe_query_add_radical (TomoeQuery *query,
const gchar *radical);
const GList* tomoe_query_get_radicals (TomoeQuery *query);
void tomoe_query_set_variant (TomoeQuery *query,
const gchar *variant);
const gchar* tomoe_query_get_variant (TomoeQuery *query);
void tomoe_query_set_min_n_strokes (TomoeQuery *query,
gint n_strokes);
gint tomoe_query_get_min_n_strokes (TomoeQuery *query);
void tomoe_query_set_max_n_strokes (TomoeQuery *query,
gint n_strokes);
gint tomoe_query_get_max_n_strokes (TomoeQuery *query);
void tomoe_query_set_writing (TomoeQuery *query,
TomoeWriting *writing);
TomoeWriting* tomoe_query_get_writing (TomoeQuery *query);
gboolean tomoe_query_is_empty (TomoeQuery *query);
"max-n-strokes" gint : Read / Write "min-n-strokes" gint : Read / Write "utf8" gchararray : Read / Write "writing" TomoeWriting : Read / Write
typedef struct _TomoeQuery TomoeQuery;
The TomoeQuery struct contains only private fields and should not be directly accessed.
void tomoe_query_set_utf8 (TomoeQuery *query, const gchar *utf8);
query : |
|
utf8 : |
void tomoe_query_add_reading (TomoeQuery *query, TomoeReading *reading);
query : |
|
reading : |
const GList* tomoe_query_get_readings (TomoeQuery *query);
query : |
|
| Returns : |
void tomoe_query_add_radical (TomoeQuery *query, const gchar *radical);
query : |
|
radical : |
const GList* tomoe_query_get_radicals (TomoeQuery *query);
query : |
|
| Returns : |
void tomoe_query_set_variant (TomoeQuery *query, const gchar *variant);
query : |
|
variant : |
const gchar* tomoe_query_get_variant (TomoeQuery *query);
query : |
|
| Returns : |
void tomoe_query_set_min_n_strokes (TomoeQuery *query, gint n_strokes);
query : |
|
n_strokes : |
gint tomoe_query_get_min_n_strokes (TomoeQuery *query);
query : |
|
| Returns : |
void tomoe_query_set_max_n_strokes (TomoeQuery *query, gint n_strokes);
query : |
|
n_strokes : |
gint tomoe_query_get_max_n_strokes (TomoeQuery *query);
query : |
|
| Returns : |
void tomoe_query_set_writing (TomoeQuery *query, TomoeWriting *writing);
query : |
|
writing : |
TomoeWriting* tomoe_query_get_writing (TomoeQuery *query);
query : |
|
| Returns : |
max-n-strokes" property"max-n-strokes" gint : Read / Write
Maximum number of strokes of searched character.
Allowed values: >= -1
Default value: -1
min-n-strokes" property"min-n-strokes" gint : Read / Write
Minimum number of strokes of searched character.
Allowed values: >= -1
Default value: -1
utf8" property"utf8" gchararray : Read / Write
UTF8 encoding of searched character.
Default value: NULL