Gjsify LogoGjsify Logo

Index

Variables

MAJOR_VERSION: number

ClutterGst major version (e.g. "1", if %CLUTTER_GST_VERSION is "1.2.3")

MICRO_VERSION: number

ClutterGst micro version (e.g. "3", if %CLUTTER_GST_VERSION is "1.2.3")

MINOR_VERSION: number

ClutterGst minor version (e.g. "2", if %CLUTTER_GST_VERSION is "1.2.3")

VERSION: number

ClutterGst full version (e.g. "1.2.3")

VERSION_HEX: number

ClutterGst full version, encoded as an hexadecimal value.

VERSION_S: string

ClutterGst full version, encoded as a string.

Functions

  • Utility function to initialize both Clutter and GStreamer.

    This function should be called before calling any other GLib functions. If this is not an option, your program must initialise the GLib thread system using g_thread_init() before any other GLib functions are called.

    Parameters

    • argv: string[]

      A pointer to an array

    Returns [Clutter.InitError, string[] | null]

  • initWithArgs(argv: string[], parameterString: string, entries: OptionEntry, translationDomain: string): [Clutter.InitError, string[] | null]
  • This function does the same work as clutter_gst_init(). Additionally, it allows you to add your own command line options, and it automatically generates nicely formatted --help output. Clutter's and GStreamer's #GOptionGroups are added to the set of available options.

    Your program must initialise the GLib thread system using g_thread_init() before any other GLib functions are called.

    Parameters

    • argv: string[]

      A pointer to an array

    • parameterString: string

      a string which is displayed in the first line of output, after programname [OPTION...]

    • entries: OptionEntry

      a %NULL-terminated array of #GOptionEntrys describing the options of your program

    • translationDomain: string

      a translation domain to use for translating the output for the options in entries with gettext(), or %NULL

    Returns [Clutter.InitError, string[] | null]

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