Gjsify LogoGjsify Logo

Index

Variables

MAJOR_VERSION: number

pnl major version component (e.g. 1 if %PNL_VERSION is 1.2.3)

MICRO_VERSION: number

pnl micro version component (e.g. 3 if %PNL_VERSION is 1.2.3)

MINOR_VERSION: number

pnl minor version component (e.g. 2 if %PNL_VERSION is 1.2.3)

VERSION_S: string

pnl version, encoded as a string, useful for printing and concatenation.

Functions

  • frame_source_add(frames_per_sec: number, callback: SourceFunc): number
  • Creates a new frame source that will execute when the timeout interval for the source has elapsed. The timing will try to synchronize based on the end time of the animation.

    Parameters

    • frames_per_sec: number

      Target frames per second.

    • callback: SourceFunc

      A #GSourceFunc to execute.

    Returns number

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