Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.Gio.Structs.IOExtension
Description
IOExtension
is an opaque data structure and can only be accessed
using the following functions.
Synopsis
- newtype IOExtension = IOExtension (ManagedPtr IOExtension)
- type family ResolveIOExtensionMethod (t :: Symbol) o where ...
- data IOExtensionGetNameMethodInfo
- iOExtensionGetName :: (HasCallStack, MonadIO m) => IOExtension -> m Text
- data IOExtensionGetPriorityMethodInfo
- iOExtensionGetPriority :: (HasCallStack, MonadIO m) => IOExtension -> m Int32
- data IOExtensionGetTypeMethodInfo
- iOExtensionGetType :: (HasCallStack, MonadIO m) => IOExtension -> m GType
Exported types
newtype IOExtension Source #
Memory-managed wrapper type.
Constructors
IOExtension (ManagedPtr IOExtension) |
Instances
Methods
Click to display all available methods, including inherited ones
type family ResolveIOExtensionMethod (t :: Symbol) o where ... Source #
Equations
ResolveIOExtensionMethod "getName" o = IOExtensionGetNameMethodInfo | |
ResolveIOExtensionMethod "getPriority" o = IOExtensionGetPriorityMethodInfo | |
ResolveIOExtensionMethod "getType" o = IOExtensionGetTypeMethodInfo | |
ResolveIOExtensionMethod l o = MethodResolutionFailed l o :: Type |
getName
data IOExtensionGetNameMethodInfo Source #
Instances
(signature ~ m Text, MonadIO m) => OverloadedMethod IOExtensionGetNameMethodInfo IOExtension signature Source # | |
Defined in GI.Gio.Structs.IOExtension Methods overloadedMethod :: IOExtension -> signature # | |
OverloadedMethodInfo IOExtensionGetNameMethodInfo IOExtension Source # | |
Defined in GI.Gio.Structs.IOExtension Methods |
Arguments
:: (HasCallStack, MonadIO m) | |
=> IOExtension |
|
-> m Text | Returns: the name of |
Gets the name under which extension
was registered.
Note that the same type may be registered as extension for multiple extension points, under different names.
getPriority
data IOExtensionGetPriorityMethodInfo Source #
Instances
(signature ~ m Int32, MonadIO m) => OverloadedMethod IOExtensionGetPriorityMethodInfo IOExtension signature Source # | |
Defined in GI.Gio.Structs.IOExtension Methods overloadedMethod :: IOExtension -> signature # | |
OverloadedMethodInfo IOExtensionGetPriorityMethodInfo IOExtension Source # | |
Defined in GI.Gio.Structs.IOExtension Methods |
iOExtensionGetPriority Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> IOExtension |
|
-> m Int32 | Returns: the priority of |
Gets the priority with which extension
was registered.
getType
data IOExtensionGetTypeMethodInfo Source #
Instances
(signature ~ m GType, MonadIO m) => OverloadedMethod IOExtensionGetTypeMethodInfo IOExtension signature Source # | |
Defined in GI.Gio.Structs.IOExtension Methods overloadedMethod :: IOExtension -> signature # | |
OverloadedMethodInfo IOExtensionGetTypeMethodInfo IOExtension Source # | |
Defined in GI.Gio.Structs.IOExtension Methods |
Arguments
:: (HasCallStack, MonadIO m) | |
=> IOExtension |
|
-> m GType | Returns: the type of |
Gets the type associated with extension
.