Pango.AttrFontDesc¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
attr |
r/w |
the common portion of the attribute |
|
desc |
r/w |
the font description which is the value of this attribute |
Methods¶
class |
|
Details¶
- class Pango.AttrFontDesc¶
The
PangoAttrFontDesc
structure is used to store an attribute that sets all aspects of the font description at once.- classmethod new(desc)[source]¶
- Parameters:
desc (
Pango.FontDescription
) – the font description- Returns:
the newly allocated
PangoAttribute
, which should be freed with [method`Pango`.Attribute.destroy]- Return type:
Create a new font description attribute.
This attribute allows setting family, style, weight, variant, stretch, and size simultaneously.