| 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.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)
- iOExtensionGetName :: (HasCallStack, MonadIO m) => IOExtension -> m Text
- iOExtensionGetPriority :: (HasCallStack, MonadIO m) => IOExtension -> m Int32
- iOExtensionGetType :: (HasCallStack, MonadIO m) => IOExtension -> m GType
Exported types
newtype IOExtension Source #
Memory-managed wrapper type.
Constructors
| IOExtension (ManagedPtr IOExtension) |
Instances
| Eq IOExtension Source # | |
Defined in GI.Gio.Structs.IOExtension | |
| BoxedPtr IOExtension Source # | |
Defined in GI.Gio.Structs.IOExtension | |
| ManagedPtrNewtype IOExtension Source # | |
Defined in GI.Gio.Structs.IOExtension Methods toManagedPtr :: IOExtension -> ManagedPtr IOExtension | |
Methods
Click to display all available methods, including inherited ones
getName
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
iOExtensionGetPriority Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => IOExtension |
|
| -> m Int32 | Returns: the priority of |
Gets the priority with which extension was registered.
getType
Arguments
| :: (HasCallStack, MonadIO m) | |
| => IOExtension |
|
| -> m GType | Returns: the type of |
Gets the type associated with extension.