[pango.attribute.Attribute], which should be freed with [pango.attribute.Attribute.destroy]
attrBaselineShiftNew
fn
pango.attribute.Attribute attrBaselineShiftNew(int shift)Create a new baseline displacement attribute.
The effect of this attribute is to shift the baseline of a run, relative to the run of preceding run.
Parameters
shift | either a [pango.types.BaselineShift] enumeration value or an absolute value (> 1024) in Pango units, relative to the baseline of the previous run. Positive values displace the text upwards. |
Returns
the newly allocated