Class (GI Struct)

WebKit-6.0WebKitApplicationInfo

Information about an application running in automation mode.

Index

Constructors

Properties

Methods

  • 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

    the application name

  • Get the application version previously set with webkit_application_info_set_version().

    Returns [number, number, number]

  • 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

  • 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

  • Atomically decrements the reference count of info by one.

    If the reference count drops to 0, all memory allocated by the WebKit.ApplicationInfo is released. This function is MT-safe and may be called from any thread.

    Returns void