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 Value

the newly allocated PangoAttribute, which should be freed with [method@Pango.Attribute.destroy].

Throws

ConstructionException GTK+ fails to create the object.

Meta