WebKit2.MimeInfo

Fields

None

Methods

get_description ()

get_extensions ()

get_mime_type ()

ref ()

unref ()

Details

class WebKit2.MimeInfo

Information about a MIME type.

get_description()
Returns:

description, as a string.

Return type:

str or None

Gets the description of the MIME type.

Deprecated since version 2.32.

get_extensions()
Returns:

a None-terminated array of strings

Return type:

[str]

Get the list of file extensions associated to the MIME type.

Deprecated since version 2.32.

get_mime_type()
Returns:

MIME type, as a string.

Return type:

str

Gets the MIME type.

Deprecated since version 2.32.

ref()
Returns:

The passed in WebKit2.MimeInfo

Return type:

WebKit2.MimeInfo

Atomically increments the reference count of self by one.

This function is MT-safe and may be called from any thread.

Deprecated since version 2.32.

unref()

Atomically decrements the reference count of self by one.

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

Deprecated since version 2.32.