Function

Pango.AttrList.from_string

Declaration [src]

PangoAttrList*
pango_attr_list_from_string (
  const char* text
)

Description [src]

Deserializes a PangoAttrList from a string.

This is the counterpart to pango_attr_list_to_string(). See that functions for details about the format.

Available since:1.50

Parameters

text const char*
 

a string

 The data is owned by the caller of the function
 The string is a NUL terminated UTF-8 string

Return value

Returns: PangoAttrList

a new PangoAttrList

The caller of the function takes ownership of the data, and is responsible for freeing it
Can be NULL