MimeInfo

Constructors

this
this(WebKitMimeInfo* webKitMimeInfo, bool ownedRef)

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

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

doref
alias doref = ref_
Undocumented in source.

Functions

getDescription
string getDescription()
getExtensions
string[] getExtensions()

Get the list of file extensions associated to the MIME type of @info

getMimeInfoStruct
WebKitMimeInfo* getMimeInfoStruct(bool transferOwnership)

Get the main Gtk struct

getMimeType
string getMimeType()
getStruct
void* getStruct()

the main Gtk struct as a void*

ref_
MimeInfo ref_()

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

unref
void unref()

Atomically decrements the reference count of @info by one. If the reference count drops to 0, all memory allocated by the #WebKitMimeInfo 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.
webKitMimeInfo
WebKitMimeInfo* webKitMimeInfo;

the main Gtk struct

Meta