Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.WebKit2.Objects.Plugin
Description
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 WebContext
, with
webContextGetPlugins
.
Synopsis
- newtype Plugin = Plugin (ManagedPtr Plugin)
- class (GObject o, IsDescendantOf Plugin o) => IsPlugin o
- toPlugin :: (MonadIO m, IsPlugin o) => o -> m Plugin
- pluginGetDescription :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m (Maybe Text)
- pluginGetMimeInfoList :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m [MimeInfo]
- pluginGetName :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m (Maybe Text)
- pluginGetPath :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m (Maybe Text)
Exported types
Memory-managed wrapper type.
Instances
Eq Plugin Source # | |
GObject Plugin Source # | |
Defined in GI.WebKit2.Objects.Plugin | |
ManagedPtrNewtype Plugin Source # | |
Defined in GI.WebKit2.Objects.Plugin Methods toManagedPtr :: Plugin -> ManagedPtr Plugin | |
TypedObject Plugin Source # | |
Defined in GI.WebKit2.Objects.Plugin | |
HasParentTypes Plugin Source # | |
Defined in GI.WebKit2.Objects.Plugin | |
IsGValue (Maybe Plugin) Source # | Convert |
Defined in GI.WebKit2.Objects.Plugin Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Plugin -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Plugin) | |
type ParentTypes Plugin Source # | |
Defined in GI.WebKit2.Objects.Plugin type ParentTypes Plugin = '[Object] |
class (GObject o, IsDescendantOf Plugin o) => IsPlugin o Source #
Instances
(GObject o, IsDescendantOf Plugin o) => IsPlugin o Source # | |
Defined in GI.WebKit2.Objects.Plugin |
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getDescription, getMimeInfoList, getName, getPath, getProperty, getQdata.
Setters
getDescription
Arguments
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> a |
|
-> m (Maybe Text) | Returns: description, as a string. |
Deprecated: (Since version 2.32)
Obtain the plugin description.
getMimeInfoList
pluginGetMimeInfoList Source #
Arguments
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> a |
|
-> m [MimeInfo] |
Deprecated: (Since version 2.32)
Get information about MIME types handled by the plugin.
Get information about MIME types handled by the plugin,
as a list of MimeInfo
.
getName
Arguments
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> a |
|
-> m (Maybe Text) | Returns: name, as a string. |
Deprecated: (Since version 2.32)
Obtain the plugin name.