| gucharmap Reference Manual | ||||
|---|---|---|---|---|
GucharmapScriptCodepointListPrivate;
GucharmapScriptCodepointList;
GucharmapCodepointList* gucharmap_script_codepoint_list_new
(void);
gboolean gucharmap_script_codepoint_list_set_script
(GucharmapScriptCodepointList *list,
const gchar *script);
gboolean gucharmap_script_codepoint_list_set_scripts
(GucharmapScriptCodepointList *list,
const gchar **scripts);
gboolean gucharmap_script_codepoint_list_append_script
(GucharmapScriptCodepointList *list,
const gchar *script);
typedef struct _GucharmapScriptCodepointListPrivate GucharmapScriptCodepointListPrivate;
typedef struct _GucharmapScriptCodepointList GucharmapScriptCodepointList;
GucharmapCodepointList* gucharmap_script_codepoint_list_new (void);
Creates a new script codepoint list. The default script is Latin.
Returns : |
the newly-created GucharmapCodepointList. Use
g_object_unref() to free the result.
|
gboolean gucharmap_script_codepoint_list_set_script
(GucharmapScriptCodepointList *list,
const gchar *script);
Sets the script for the codepoint list.
|
a GucharmapScriptCodepointList |
|
the script name |
Returns : |
TRUE on success, FALSE if there is no such script, in
which case the script is not changed.
|
gboolean gucharmap_script_codepoint_list_set_scripts
(GucharmapScriptCodepointList *list,
const gchar **scripts);
Sets multiple scripts for the codepoint list. Codepoints are sorted
according to their order in scripts.
|
a GucharmapScriptCodepointList |
|
NULL-terminated array of script names |
Returns : |
TRUE on success, FALSE if any of the scripts don’t
exist, in which case the script is not changed.
|
gboolean gucharmap_script_codepoint_list_append_script
(GucharmapScriptCodepointList *list,
const gchar *script);
Appends the characters in script to the codepoint list.
|
a GucharmapScriptCodepointList |
|
the script name |
Returns : |
TRUE on success, FALSE if there is no such script, in
which case the codepoint list is not changed.
|