Gjsify LogoGjsify Logo

Hierarchy

  • Font

Index

Constructors

Properties

ascent: number
descent: number
name: string

Methods

  • id(): number
  • unref(): void
  • Decreases the reference count of a font by one. If the result is zero, destroys the font.

    Returns void

  • Load a #GdkFont based on a Pango font description. This font will only be an approximation of the Pango font, and internationalization will not be handled correctly. This function should only be used for legacy code that cannot be easily converted to use Pango. Using Pango directly will produce better results.

    Parameters

    Returns Gdk.Font

  • Loads a font.

    The font may be newly loaded or looked up the font in a cache. You should make no assumptions about the initial reference count.

    Parameters

    • font_name: string

      a XLFD describing the font to load.

    Returns Gdk.Font

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method