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 |
Represents the base type for objects created by an object factory.
Synopsis
- newtype ObjectFactoryBase = ObjectFactoryBase (ManagedPtr ObjectFactoryBase)
- class GObject o => IsObjectFactoryBase o
- toObjectFactoryBase :: (MonadIO m, IsObjectFactoryBase o) => o -> m ObjectFactoryBase
- noObjectFactoryBase :: Maybe ObjectFactoryBase
Exported types
newtype ObjectFactoryBase Source #
Memory-managed wrapper type.
Instances
class GObject o => IsObjectFactoryBase o Source #
Type class for types which can be safely cast to ObjectFactoryBase
, for instance with toObjectFactoryBase
.
Instances
toObjectFactoryBase :: (MonadIO m, IsObjectFactoryBase o) => o -> m ObjectFactoryBase Source #
Cast to ObjectFactoryBase
, for types for which this is known to be safe. For general casts, use castTo
.
noObjectFactoryBase :: Maybe ObjectFactoryBase Source #
A convenience alias for Nothing
:: Maybe
ObjectFactoryBase
.