Struct
WebKit2ApplicationInfo
Description [src]
struct WebKitApplicationInfo {
/* No available fields */
}
Information about an application running in automation mode.
Instance methods
webkit_application_info_get_name
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().
Available since: 2.18
webkit_application_info_get_version
Get the application version previously set with webkit_application_info_set_version().
Available since: 2.18
webkit_application_info_ref
Atomically increments the reference count of info
by one. This
function is MT-safe and may be called from any thread.
Available since: 2.18
webkit_application_info_set_name
Set the name of the application. If not provided, or NULL
is passed,
g_get_prgname()
will be used.
Available since: 2.18
webkit_application_info_set_version
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.
Available since: 2.18
webkit_application_info_unref
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.
Available since: 2.18