Sets the text attributes for a layout object.
References attrs, so the caller can unref its reference.
attrs
a `PangoLayout`
a `PangoAttrList`