![]() |
![]() |
![]() |
Tomoe Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
struct 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" gchar* : Read / Write "writing" TomoeWriting* : Read / Write
struct TomoeQuery;
The TomoeQuery struct contains only private fields and should not be directly accessed.
void tomoe_query_set_min_n_strokes (TomoeQuery *query
,gint n_strokes
);
void tomoe_query_set_max_n_strokes (TomoeQuery *query
,gint n_strokes
);
"max-n-strokes"
property "max-n-strokes" gint : Read / Write
Maximum number of strokes of searched character.
Allowed values: >= -2
Default value: -1
"min-n-strokes"
property "min-n-strokes" gint : Read / Write
Minimum number of strokes of searched character.
Allowed values: >= -2
Default value: -1
"utf8"
property "utf8" gchar* : Read / Write
UTF8 encoding of searched character.
Default value: NULL