attrAllowBreaksNew

Create a new allow-breaks attribute.

If breaks are disabled, the range will be kept in a single run, as far as possible.

attrAllowBreaksNew

Parameters

allowBreaks bool

true if we line breaks are allowed

Return Value

Type: pango.attribute.Attribute

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