MucharmapScriptCodepointList

MucharmapScriptCodepointList

Synopsis

                    MucharmapScriptCodepointListPrivate;
                    MucharmapScriptCodepointList;
MucharmapCodepointList *  mucharmap_script_codepoint_list_new
                                                        (void);
gboolean            mucharmap_script_codepoint_list_set_script
                                                        (MucharmapScriptCodepointList *list,
                                                         const gchar *script);
gboolean            mucharmap_script_codepoint_list_set_scripts
                                                        (MucharmapScriptCodepointList *list,
                                                         const gchar **scripts);
gboolean            mucharmap_script_codepoint_list_append_script
                                                        (MucharmapScriptCodepointList *list,
                                                         const gchar *script);

Object Hierarchy

  GObject
   +----MucharmapCodepointList
         +----MucharmapScriptCodepointList

Description

Details

MucharmapScriptCodepointListPrivate

typedef struct _MucharmapScriptCodepointListPrivate MucharmapScriptCodepointListPrivate;


MucharmapScriptCodepointList

typedef struct _MucharmapScriptCodepointList MucharmapScriptCodepointList;


mucharmap_script_codepoint_list_new ()

MucharmapCodepointList *  mucharmap_script_codepoint_list_new
                                                        (void);

Creates a new script codepoint list. The default script is Latin.

Returns :

the newly-created MucharmapCodepointList. Use g_object_unref() to free the result.

mucharmap_script_codepoint_list_set_script ()

gboolean            mucharmap_script_codepoint_list_set_script
                                                        (MucharmapScriptCodepointList *list,
                                                         const gchar *script);

Sets the script for the codepoint list.

list :

a MucharmapScriptCodepointList

script :

the script name

Returns :

TRUE on success, FALSE if there is no such script, in which case the script is not changed.

mucharmap_script_codepoint_list_set_scripts ()

gboolean            mucharmap_script_codepoint_list_set_scripts
                                                        (MucharmapScriptCodepointList *list,
                                                         const gchar **scripts);

Sets multiple scripts for the codepoint list. Codepoints are sorted according to their order in scripts.

list :

a MucharmapScriptCodepointList

scripts :

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.

mucharmap_script_codepoint_list_append_script ()

gboolean            mucharmap_script_codepoint_list_append_script
                                                        (MucharmapScriptCodepointList *list,
                                                         const gchar *script);

Appends the characters in script to the codepoint list.

list :

a MucharmapScriptCodepointList

script :

the script name

Returns :

TRUE on success, FALSE if there is no such script, in which case the codepoint list is not changed.