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 |
- newtype TypeModule = TypeModule (ForeignPtr TypeModule)
- class GObject o => TypeModuleK o
- toTypeModule :: TypeModuleK o => o -> IO TypeModule
- noTypeModule :: Maybe TypeModule
- typeModuleAddInterface :: (MonadIO m, TypeModuleK a) => a -> GType -> GType -> InterfaceInfo -> m ()
- typeModuleRegisterEnum :: (MonadIO m, TypeModuleK a) => a -> Text -> EnumValue -> m GType
- typeModuleRegisterFlags :: (MonadIO m, TypeModuleK a) => a -> Text -> FlagsValue -> m GType
- typeModuleRegisterType :: (MonadIO m, TypeModuleK a) => a -> GType -> Text -> TypeInfo -> [TypeFlags] -> m GType
- typeModuleSetName :: (MonadIO m, TypeModuleK a) => a -> Text -> m ()
- typeModuleUnuse :: (MonadIO m, TypeModuleK a) => a -> m ()
- typeModuleUse :: (MonadIO m, TypeModuleK a) => a -> m Bool
Exported types
newtype TypeModule Source
GObject TypeModule | |
type ParentTypes TypeModule | |
type AttributeList TypeModule | |
type SignalList TypeModule |
class GObject o => TypeModuleK o Source
(GObject o, IsDescendantOf TypeModule o) => TypeModuleK o |
toTypeModule :: TypeModuleK o => o -> IO TypeModule Source
Methods
typeModuleAddInterface
typeModuleAddInterface :: (MonadIO m, TypeModuleK a) => a -> GType -> GType -> InterfaceInfo -> m () Source
typeModuleRegisterEnum
typeModuleRegisterEnum :: (MonadIO m, TypeModuleK a) => a -> Text -> EnumValue -> m GType Source
typeModuleRegisterFlags
typeModuleRegisterFlags :: (MonadIO m, TypeModuleK a) => a -> Text -> FlagsValue -> m GType Source
typeModuleRegisterType
typeModuleRegisterType :: (MonadIO m, TypeModuleK a) => a -> GType -> Text -> TypeInfo -> [TypeFlags] -> m GType Source
typeModuleSetName
typeModuleSetName :: (MonadIO m, TypeModuleK a) => a -> Text -> m () Source
typeModuleUnuse
typeModuleUnuse :: (MonadIO m, TypeModuleK a) => a -> m () Source
typeModuleUse
typeModuleUse :: (MonadIO m, TypeModuleK a) => a -> m Bool Source