WebKit2.Plugin

g GObject.Object GObject.Object WebKit2.Plugin WebKit2.Plugin GObject.Object->WebKit2.Plugin

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_description ()

get_mime_info_list ()

get_name ()

get_path ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class WebKit2.Plugin(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

WebKit2.PluginClass

Represents a plugin, enabling fine-grained control.

This object represents a single plugin, found while scanning the various platform plugin directories. This object can be used to get more information about a plugin, and enable/disable it, allowing fine-grained control of plugins. The list of available plugins can be obtained from the WebKit2.WebContext, with WebKit2.WebContext.get_plugins().

Deprecated since version 2.32.

get_description()
Returns:

description, as a string.

Return type:

str or None

Obtain the plugin description.

Deprecated since version 2.32.

get_mime_info_list()
Returns:

a GLib.List of WebKit2.MimeInfo.

Return type:

[WebKit2.MimeInfo]

Get information about MIME types handled by the plugin.

Get information about MIME types handled by the plugin, as a list of WebKit2.MimeInfo.

Deprecated since version 2.32.

get_name()
Returns:

name, as a string.

Return type:

str or None

Obtain the plugin name.

Deprecated since version 2.32.

get_path()
Returns:

path, as a string.

Return type:

str or None

Obtain the absolute path where the plugin is installed.

Deprecated since version 2.32.