PgAttributeFontDesc.this

Create a new font description attribute. This attribute allows setting family, style, weight, variant, stretch, and size simultaneously.

  1. this(PangoAttrFontDesc* pangoAttrFontDesc, bool ownedRef)
  2. this(PgFontDescription desc)
    class PgAttributeFontDesc

Parameters

desc PgFontDescription

the font description

Return: the newly allocated #PangoAttribute, which should be freed with pango_attribute_destroy().

Throws

ConstructionException GTK+ fails to create the object.

Meta