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.WebPlugin

Contents

Description

This object represents a single plugin, found by WebKitGTK+ while scanning the various usual 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 WebPluginDatabase object.

Synopsis

Exported types

Methods

getDescription

webPluginGetDescription Source #

Arguments

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

plugin: a WebPlugin

-> m Text

Returns: the description string for plugin.

No description available in the introspection data.

Since: 1.3.8

getEnabled

webPluginGetEnabled Source #

Arguments

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

plugin: a WebPlugin

-> m Bool

Returns: True if the plugin is enabled, False otherwise

No description available in the introspection data.

Since: 1.3.8

getName

webPluginGetName Source #

Arguments

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

plugin: a WebPlugin

-> m Text

Returns: the name string for plugin.

No description available in the introspection data.

Since: 1.3.8

getPath

webPluginGetPath Source #

Arguments

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

plugin: a WebPlugin

-> m Text

Returns: the absolute path to plugin in system filename encoding or Nothing on failure to convert the filename from UTF-8.

No description available in the introspection data.

Since: 1.4.0

setEnabled

webPluginSetEnabled Source #

Arguments

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

plugin: a WebPlugin

-> Bool

enabled: whether to enable the plugin

-> m () 

Sets the enabled status of the plugin.

Since: 1.3.8

Properties

enabled