attrStrikethroughNew

fnpango.attribute.Attribute attrStrikethroughNew(bool strikethrough)

Create a new strike-through attribute.

Parameters

strikethroughtrue if the text should be struck-through

Returns

the newly allocated

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