AttrSize.new_

Create a new font-size attribute in fractional points.

class AttrSize
static
new_
(
int size
)

Parameters

size int

the font size, in PANGO_SCALE-ths of a point

Return Value

Type: pango.attribute.Attribute

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