Gjsify LogoGjsify Logo

Hierarchy

  • ApplicationInfo

Index

Constructors

Properties

name: string

Methods

  • getName(): string
  • Get the name of the application. If webkit_application_info_set_name() hasn't been called with a valid name, this returns g_get_prgname().

    Returns string

  • getVersion(): [number, number, number]
  • Get the application version previously set with webkit_application_info_set_version().

    Returns [number, number, number]

  • setName(name: string): void
  • Set the name of the application. If not provided, or %NULL is passed, g_get_prgname() will be used.

    Parameters

    • name: string

      the application name

    Returns void

  • setVersion(major: number, minor: number, micro: number): void
  • Set the application version. If the application doesn't use the format major.minor.micro you can pass 0 as the micro to use major.minor, or pass 0 as both micro and minor to use only major number. Any other format must be converted to major.minor.micro so that it can be used in version comparisons.

    Parameters

    • major: number

      the major version number

    • minor: number

      the minor version number

    • micro: number

      the micro version number

    Returns void

  • unref(): void
  • Atomically decrements the reference count of info by one. If the reference count drops to 0, all memory allocated by the #WebKitApplicationInfo is released. This function is MT-safe and may be called from any thread.

    Returns void

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