Pango.AttrList.from_string
Description: Reference for Pango.AttrList.from_string

### Function

# Pango AttrListfrom_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 value 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.
| The return value can be `NULL`.