attrAllowBreaksNew

fnpango.attribute.Attribute attrAllowBreaksNew(bool allowBreaks)

Create a new allow-breaks attribute.

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

Parameters

allowBreakstrue if we line breaks are allowed

Returns

the newly allocated

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