Pango.Layout.set_attributes

### Method

# Pango Layoutset_attributes

#### Declaration [src]

    void
    pango_layout_set_attributes (
      PangoLayout* layout,
      PangoAttrList* attrs
    )

#### Description [src]

Sets the text attributes for a layout object.

References `attrs`, so the caller can unref its reference.

#### Parameters

`attrs` | `PangoAttrList`
| A `PangoAttrList`
| The argument can be `NULL`.
| The data is owned by the caller of the function.