Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype Plugin = Plugin (ManagedPtr Plugin)
- class (GObject o, IsDescendantOf Plugin o) => IsPlugin o
- toPlugin :: (MonadIO m, IsPlugin o) => o -> m Plugin
- noPlugin :: Maybe Plugin
- pluginGetDescription :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m Text
- pluginGetMimeInfoList :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m [MimeInfo]
- pluginGetName :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m Text
- pluginGetPath :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m Text
Exported types
Memory-managed wrapper type.
Instances
GObject Plugin Source # | |
Defined in GI.WebKit2.Objects.Plugin gobjectType :: IO GType # | |
HasParentTypes Plugin Source # | |
Defined in GI.WebKit2.Objects.Plugin | |
type ParentTypes Plugin Source # | |
Defined in GI.WebKit2.Objects.Plugin |
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
getDescription
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> a |
|
-> m Text | Returns: the description of the plugin. |
No description available in the introspection data.
getMimeInfoList
pluginGetMimeInfoList Source #
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> a |
|
-> m [MimeInfo] |
Get information about MIME types handled by the plugin,
as a list of MimeInfo
.
getName
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> a |
|
-> m Text | Returns: the name of the plugin. |
No description available in the introspection data.
getPath
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> a |
|
-> m Text | Returns: the absolute path where the plugin is installed. |
No description available in the introspection data.