attrUnderlineNew

fnpango.attribute.Attribute attrUnderlineNew(pango.types.Underline underline)

Create a new underline-style attribute.

Parameters

underlinethe underline style

Returns

the newly allocated

[pango.attribute.Attribute], which should be freed with [pango.attribute.Attribute.destroy]