attrInsertHyphensNew

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.

attrInsertHyphensNew

Parameters

insertHyphens bool

true if hyphens should be inserted

Return Value

Type: pango.attribute.Attribute

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