ApplicationInfo

Constructors

this
this(WebKitApplicationInfo* webKitApplicationInfo, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this()

Creates a new #WebKitApplicationInfo

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

doref
alias doref = ref_
Undocumented in source.

Functions

getApplicationInfoStruct
WebKitApplicationInfo* getApplicationInfoStruct(bool transferOwnership)

Get the main Gtk struct

getName
string getName()

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().

getStruct
void* getStruct()

the main Gtk struct as a void*

getVersion
void getVersion(ulong major, ulong minor, ulong micro)

Get the application version previously set with webkit_application_info_set_version().

ref_
ApplicationInfo ref_()

Atomically increments the reference count of @info by one. This function is MT-safe and may be called from any thread.

setName
void setName(string name)

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

setVersion
void setVersion(ulong major, ulong minor, ulong micro)

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.

unref
void 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.

Static functions

getType
GType getType()

Variables

ownedRef
bool ownedRef;
Undocumented in source.
webKitApplicationInfo
WebKitApplicationInfo* webKitApplicationInfo;

the main Gtk struct

Meta