Method

Pango.AttrList.to_string

Declaration [src]

char*
pango_attr_list_to_string (
  PangoAttrList* list
)

Description [src]

Serializes a PangoAttrList to a string.

No guarantees are made about the format of the string, it may change between Pango versions.

The intended use of this function is testing and debugging. The format is not meant as a permanent storage format.

Available since:1.50

Return value

Returns: char*

a newly allocated string

The caller of the function takes ownership of the data, and is responsible for freeing it
The string is a NUL terminated UTF-8 string