Attribute.equal

bool equal(pango.attribute.Attribute attr2)

Compare two attributes for equality.

This compares only the actual value of the two attributes and not the ranges that the attributes apply to.

Parameters

attr2another [pango.attribute.Attribute]

Returns

true if the two attributes have the same value