attrUnderlineNew

Create a new underline-style attribute.

Parameters

underline pango.types.Underline

the underline style

Return Value

Type: pango.attribute.Attribute

the newly allocated pango.attribute.Attribute, which should be freed with pango.attribute.Attribute.destroy