attrInsertHyphensNew

fnpango.attribute.Attribute attrInsertHyphensNew(bool insertHyphens)

Create a new insert-hyphens attribute.

Pango will insert hyphens when breaking lines in the middle of a word. This attribute can be used to suppress the hyphen.

Parameters

insertHyphenstrue if hyphens should be inserted

Returns

the newly allocated

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