gi-webkit-3.0.14: WebKit bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit.Objects.WebPluginDatabase

Contents

Description

This object allows you to query information about the plugins found by the engine while scanning the usual directories. You can then use the WebPlugin objects to get more information or enable/disable individual plugins.

Synopsis

Exported types

Methods

getPluginForMimetype

webPluginDatabaseGetPluginForMimetype Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPluginDatabase a) 
=> a

database: a WebPluginDatabase

-> Text

mimeType: a mime type

-> m WebPlugin

Returns: a WebPlugin

Returns the WebPlugin that is handling mimeType in the database, or Nothing if there's none doing so.

Since: 1.3.8

getPlugins

webPluginDatabaseGetPlugins Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPluginDatabase a) 
=> a

database: a WebPluginDatabase

-> m [WebPlugin]

Returns: a SList of WebPlugin

Returns all WebPlugin available in database. The returned list must be freed with webPluginDatabasePluginsListFree

Since: 1.3.8

pluginsListFree

webPluginDatabasePluginsListFree Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPlugin a) 
=> [a]

list: a SList of WebPlugin

-> m () 

Frees list.

Since: 1.3.8

refresh

webPluginDatabaseRefresh Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPluginDatabase a) 
=> a

database: a WebPluginDatabase

-> m () 

Refreshes database adding new plugins that are now in use and removing those that have been disabled or are otherwise no longer available.

Since: 1.3.8