attrStyleNew

Create a new font slant style attribute.

Parameters

style pango.types.Style

the slant style

Return Value

Type: pango.attribute.Attribute

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