pango.attr_size
Module for [AttrSize] class
class AttrSize
Types 1
classAttrSize
The [pango.attr_size.AttrSize] structure is used to represent attributes which set font size.
Fields
PangoAttrSize _cInstanceMethods
void * _cPtr()pango.attribute.Attribute attr() @propertyGet `attr` field. Returns: the common portion of the attributeint size() @propertyGet `size` field. Returns: size of font, in units of 1/[pango.types.SCALE] of a point (for [pango.types.AttrType.Size]) or of a device unit (for [pango.types.AttrType.AbsoluteSize])void size(int propval) @propertySet `size` field. Params: propval = size of font, in units of 1/[pango.types.SCALE] of a point (for [pango.types.AttrType.Size]) or of a device unit (for [pango.types.AttrType.AbsoluteSize])uint absolute() @propertyGet `absolute` field. Returns: whether the font size is in device units or points. This field is only present for compatibility with Pango-1.8.0 ([pango.types.AttrType.AbsoluteSize] was added in 1....void absolute(uint propval) @propertySet `absolute` field. Params: propval = whether the font size is in device units or points. This field is only present for compatibility with Pango-1.8.0 ([pango.types.AttrType.AbsoluteSize] was ad...pango.attribute.Attribute new_(int size)Create a new font-size attribute in fractional points.pango.attribute.Attribute newAbsolute(int size)Create a new font-size attribute in device units.