TomoeQuery

TomoeQuery

Functions

Properties

int max-n-strokes Read / Write
int min-n-strokes Read / Write
char * utf8 Read / Write
TomoeWriting * writing Read / Write

Types and Values

struct TomoeQuery

Object Hierarchy

    GObject
    ╰── TomoeQuery

Description

Functions

tomoe_query_new ()

TomoeQuery *
tomoe_query_new (void);

tomoe_query_get_utf8 ()

const gchar *
tomoe_query_get_utf8 (TomoeQuery *query);

tomoe_query_set_utf8 ()

void
tomoe_query_set_utf8 (TomoeQuery *query,
                      const gchar *utf8);

tomoe_query_add_reading ()

void
tomoe_query_add_reading (TomoeQuery *query,
                         TomoeReading *reading);

tomoe_query_get_readings ()

const GList *
tomoe_query_get_readings (TomoeQuery *query);

tomoe_query_add_radical ()

void
tomoe_query_add_radical (TomoeQuery *query,
                         const gchar *radical);

tomoe_query_get_radicals ()

const GList *
tomoe_query_get_radicals (TomoeQuery *query);

tomoe_query_set_variant ()

void
tomoe_query_set_variant (TomoeQuery *query,
                         const gchar *variant);

tomoe_query_get_variant ()

const gchar *
tomoe_query_get_variant (TomoeQuery *query);

tomoe_query_set_min_n_strokes ()

void
tomoe_query_set_min_n_strokes (TomoeQuery *query,
                               gint n_strokes);

tomoe_query_get_min_n_strokes ()

gint
tomoe_query_get_min_n_strokes (TomoeQuery *query);

tomoe_query_set_max_n_strokes ()

void
tomoe_query_set_max_n_strokes (TomoeQuery *query,
                               gint n_strokes);

tomoe_query_get_max_n_strokes ()

gint
tomoe_query_get_max_n_strokes (TomoeQuery *query);

tomoe_query_set_writing ()

void
tomoe_query_set_writing (TomoeQuery *query,
                         TomoeWriting *writing);

tomoe_query_get_writing ()

TomoeWriting *
tomoe_query_get_writing (TomoeQuery *query);

tomoe_query_is_empty ()

gboolean
tomoe_query_is_empty (TomoeQuery *query);

Types and Values

struct TomoeQuery

struct TomoeQuery;

Property Details

The “max-n-strokes” property

  “max-n-strokes”            int

Maximum number of strokes of searched character.

Owner: TomoeQuery

Flags: Read / Write

Allowed values: >= -2

Default value: -1


The “min-n-strokes” property

  “min-n-strokes”            int

Minimum number of strokes of searched character.

Owner: TomoeQuery

Flags: Read / Write

Allowed values: >= -2

Default value: -1


The “utf8” property

  “utf8”                     char *

UTF8 encoding of searched character.

Owner: TomoeQuery

Flags: Read / Write

Default value: NULL


The “writing” property

  “writing”                  TomoeWriting *

Writing of searched character.

Owner: TomoeQuery

Flags: Read / Write