Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- newtype WebPlugin = WebPlugin (ManagedPtr WebPlugin)
- class GObject o => IsWebPlugin o
- toWebPlugin :: (MonadIO m, IsWebPlugin o) => o -> m WebPlugin
- noWebPlugin :: Maybe WebPlugin
- webPluginGetDescription :: (HasCallStack, MonadIO m, IsWebPlugin a) => a -> m Text
- webPluginGetEnabled :: (HasCallStack, MonadIO m, IsWebPlugin a) => a -> m Bool
- webPluginGetName :: (HasCallStack, MonadIO m, IsWebPlugin a) => a -> m Text
- webPluginGetPath :: (HasCallStack, MonadIO m, IsWebPlugin a) => a -> m Text
- webPluginSetEnabled :: (HasCallStack, MonadIO m, IsWebPlugin a) => a -> Bool -> m ()
- constructWebPluginEnabled :: IsWebPlugin o => Bool -> IO (GValueConstruct o)
- getWebPluginEnabled :: (MonadIO m, IsWebPlugin o) => o -> m Bool
- setWebPluginEnabled :: (MonadIO m, IsWebPlugin o) => o -> Bool -> m ()
Exported types
class GObject o => IsWebPlugin o Source #
toWebPlugin :: (MonadIO m, IsWebPlugin o) => o -> m WebPlugin Source #
Methods
getDescription
webPluginGetDescription Source #
:: (HasCallStack, MonadIO m, IsWebPlugin a) | |
=> a |
|
-> m Text | Returns: the description string for |
No description available in the introspection data.
Since: 1.3.8
getEnabled
:: (HasCallStack, MonadIO m, IsWebPlugin a) | |
=> a |
|
-> m Bool |
No description available in the introspection data.
Since: 1.3.8
getName
:: (HasCallStack, MonadIO m, IsWebPlugin a) | |
=> a |
|
-> m Text | Returns: the name string for |
No description available in the introspection data.
Since: 1.3.8
getPath
:: (HasCallStack, MonadIO m, IsWebPlugin a) | |
=> a |
|
-> m Text | Returns: the absolute path to |
No description available in the introspection data.
Since: 1.4.0
setEnabled
:: (HasCallStack, MonadIO m, IsWebPlugin a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets the enabled status of the plugin
.
Since: 1.3.8
Properties
enabled
constructWebPluginEnabled :: IsWebPlugin o => Bool -> IO (GValueConstruct o) Source #
getWebPluginEnabled :: (MonadIO m, IsWebPlugin o) => o -> m Bool Source #
setWebPluginEnabled :: (MonadIO m, IsWebPlugin o) => o -> Bool -> m () Source #