Class
Pango.FontFamily
Description [src]
abstract class Pango.FontFamily : GObject.Object {
  parent_instance: GObject
}A PangoFontFamily is used to represent a family of related
font faces.
The font faces in a family share a common design, but differ in slant, weight, width or other aspects.
Instance methods
pango_font_family_get_face
Gets the PangoFontFace of family with the given name.
pango_font_family_get_name
Gets the name of the family.
pango_font_family_is_monospace
A monospace font is a font designed for text display where the the characters form a regular grid.
pango_font_family_is_variable
A variable font is a font which has axes that can be modified to produce different faces.
pango_font_family_list_faces
Lists the different font faces that make up family.
Class structure
struct PangoFontFamilyClass {
  GObjectClass parent_class;
  void (* list_faces) (
    PangoFontFamily* family,
    PangoFontFace*** faces,
    int* n_faces
  );
  const char* (* get_name) (
    PangoFontFamily* family
  );
  gboolean (* is_monospace) (
    PangoFontFamily* family
  );
  gboolean (* is_variable) (
    PangoFontFamily* family
  );
  PangoFontFace* (* get_face) (
    PangoFontFamily* family,
    const char* name
  );
  void (* _pango_reserved2) (
void
  );
  
}Class members
| parent_class |  | 
| No description available. | |
| list_faces |  | 
| No description available. | |
| get_name |  | 
| No description available. | |
| is_monospace |  | 
| No description available. | |
| is_variable |  | 
| No description available. | |
| get_face |  | 
| No description available. | |
| _pango_reserved2 |  | 
| No description available. | 
Virtual methods
Pango.FontFamilyClass.get_face
Gets the PangoFontFace of family with the given name.
Pango.FontFamilyClass.get_name
Gets the name of the family.
Pango.FontFamilyClass.is_monospace
A monospace font is a font designed for text display where the the characters form a regular grid.
Pango.FontFamilyClass.is_variable
A variable font is a font which has axes that can be modified to produce different faces.
Pango.FontFamilyClass.list_faces
Lists the different font faces that make up family.