Class AttrFontDesc

All Implemented Interfaces:
PointerInterface

public class AttrFontDesc extends Record
The `PangoAttrFontDesc` structure is used to store an attribute that
sets all aspects of the font description at once.

https://docs.gtk.org/Pango/struct.AttrFontDesc.html

  • Field Details

  • Constructor Details

    • AttrFontDesc

      public AttrFontDesc(PointerContainer pointer)
    • AttrFontDesc

      public AttrFontDesc()
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • setFieldDesc

      public void setFieldDesc(FontDescription desc)
      the font description which is the value of this attribute
    • getFieldDesc

      public FontDescription getFieldDesc()
      the font description which is the value of this attribute
    • _new

      public static Attribute _new(@Nonnull FontDescription desc)
      Create a new font description attribute.

      This attribute allows setting family, style, weight, variant,
      stretch, and size simultaneously.
      Parameters:
      desc - the font description
      Returns:
      the newly allocated `PangoAttribute`, which should be freed with [method@Pango.Attribute.destroy]