Method

GLibStringinsert_unichar

Declaration

GString*
g_string_insert_unichar (
  GString* string,
  gssize pos,
  gunichar wc
)

Description

Converts a Unicode character into UTF-8, and insert it into the string at the given position.

Parameters

pos gssize
 

The position at which to insert character, or -1 to append at the end of the string.

wc gunichar
 

A Unicode character.

Return value

Returns: GString
 

string.

 The data is owned by the instance.