Top | Description | Object Hierarchy |
struct WebKitPlugin; const gchar * webkit_plugin_get_name (WebKitPlugin *plugin
); const gchar * webkit_plugin_get_description (WebKitPlugin *plugin
); const gchar * webkit_plugin_get_path (WebKitPlugin *plugin
); GList * webkit_plugin_get_mime_info_list (WebKitPlugin *plugin
); WebKitMimeInfo; WebKitMimeInfo * webkit_mime_info_ref (WebKitMimeInfo *info
); void webkit_mime_info_unref (WebKitMimeInfo *info
); const gchar * webkit_mime_info_get_mime_type (WebKitMimeInfo *info
); const gchar * webkit_mime_info_get_description (WebKitMimeInfo *info
); const gchar * const * webkit_mime_info_get_extensions (WebKitMimeInfo *info
);
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 WebKitWebContext, with
webkit_web_context_get_plugins()
.
const gchar * webkit_plugin_get_name (WebKitPlugin *plugin
);
|
a WebKitPlugin |
Returns : |
the name of the plugin. |
const gchar * webkit_plugin_get_description (WebKitPlugin *plugin
);
|
a WebKitPlugin |
Returns : |
the description of the plugin. |
const gchar * webkit_plugin_get_path (WebKitPlugin *plugin
);
|
a WebKitPlugin |
Returns : |
the absolute path where the plugin is installed. |
GList * webkit_plugin_get_mime_info_list (WebKitPlugin *plugin
);
Get information about MIME types handled by the plugin, as a list of WebKitMimeInfo.
|
a WebKitPlugin |
Returns : |
a GList of WebKitMimeInfo. [element-type WebKitMimeInfo][transfer none] |
WebKitMimeInfo * webkit_mime_info_ref (WebKitMimeInfo *info
);
Atomically increments the reference count of info
by one. This
function is MT-safe and may be called from any thread.
|
a WebKitMimeInfo |
Returns : |
The passed in WebKitMimeInfo |
void webkit_mime_info_unref (WebKitMimeInfo *info
);
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.
|
a WebKitMimeInfo |
const gchar * webkit_mime_info_get_mime_type (WebKitMimeInfo *info
);
|
a WebKitMimeInfo |
Returns : |
the MIME type of info
|
const gchar * webkit_mime_info_get_description (WebKitMimeInfo *info
);
|
a WebKitMimeInfo |
Returns : |
the description of the MIME type of info
|
const gchar * const * webkit_mime_info_get_extensions (WebKitMimeInfo *info
);
Get the list of file extensions associated to the
MIME type of info
|
a WebKitMimeInfo |
Returns : |
a
NULL -terminated array of strings. [array zero-terminated=1][transfer none]
|