GucharmapCodepointList

GucharmapCodepointList

Synopsis

                    GucharmapCodepointList;
gunichar            gucharmap_codepoint_list_get_char   (GucharmapCodepointList *list,
                                                         gint index);
gint                gucharmap_codepoint_list_get_index  (GucharmapCodepointList *list,
                                                         gunichar wc);
gint                gucharmap_codepoint_list_get_last_index
                                                        (GucharmapCodepointList *list);

Object Hierarchy

  GObject
   +----GucharmapCodepointList
         +----GucharmapBlockCodepointList
         +----GucharmapScriptCodepointList

Description

Details

GucharmapCodepointList

typedef struct _GucharmapCodepointList GucharmapCodepointList;


gucharmap_codepoint_list_get_char ()

gunichar            gucharmap_codepoint_list_get_char   (GucharmapCodepointList *list,
                                                         gint index);

list :

a GucharmapCodepointList

index :

index indicating which character to get

Returns :

code point at index index in the codepoint list, or (gunichar)(-1) if index is beyond the last index.

gucharmap_codepoint_list_get_index ()

gint                gucharmap_codepoint_list_get_index  (GucharmapCodepointList *list,
                                                         gunichar wc);

list :

a GucharmapCodepointList

wc :

character for which to find the index

Returns :

index of wc, or -1 if wc is not in this codepoint list.

gucharmap_codepoint_list_get_last_index ()

gint                gucharmap_codepoint_list_get_last_index
                                                        (GucharmapCodepointList *list);

list :

a GucharmapCodepointList

Returns :

last index in this codepoint list.