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
- data TypeModuleAddInterfaceMethodInfo
- typeModuleAddInterface :: (MonadIO m, TypeModuleK a) => a -> GType -> GType -> InterfaceInfo -> m ()
- data TypeModuleRegisterEnumMethodInfo
- typeModuleRegisterEnum :: (MonadIO m, TypeModuleK a) => a -> Text -> EnumValue -> m GType
- data TypeModuleRegisterFlagsMethodInfo
- typeModuleRegisterFlags :: (MonadIO m, TypeModuleK a) => a -> Text -> FlagsValue -> m GType
- data TypeModuleRegisterTypeMethodInfo
- typeModuleRegisterType :: (MonadIO m, TypeModuleK a) => a -> GType -> Text -> TypeInfo -> [TypeFlags] -> m GType
- data TypeModuleSetNameMethodInfo
- typeModuleSetName :: (MonadIO m, TypeModuleK a) => a -> Text -> m ()
- data TypeModuleUnuseMethodInfo
- typeModuleUnuse :: (MonadIO m, TypeModuleK a) => a -> m ()
- data TypeModuleUseMethodInfo
- typeModuleUse :: (MonadIO m, TypeModuleK a) => a -> m Bool
Exported types
newtype TypeModule Source
GObject TypeModule | |
((~) * info (ResolveTypeModuleMethod t TypeModule), MethodInfo * info TypeModule p) => IsLabelProxy t (TypeModule -> p) | |
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
data TypeModuleAddInterfaceMethodInfo Source
((~) * signature (GType -> GType -> InterfaceInfo -> m ()), MonadIO m, TypeModuleK a) => MethodInfo * TypeModuleAddInterfaceMethodInfo a signature |
typeModuleAddInterface :: (MonadIO m, TypeModuleK a) => a -> GType -> GType -> InterfaceInfo -> m () Source
typeModuleRegisterEnum
data TypeModuleRegisterEnumMethodInfo Source
((~) * signature (Text -> EnumValue -> m GType), MonadIO m, TypeModuleK a) => MethodInfo * TypeModuleRegisterEnumMethodInfo a signature |
typeModuleRegisterEnum :: (MonadIO m, TypeModuleK a) => a -> Text -> EnumValue -> m GType Source
typeModuleRegisterFlags
data TypeModuleRegisterFlagsMethodInfo Source
((~) * signature (Text -> FlagsValue -> m GType), MonadIO m, TypeModuleK a) => MethodInfo * TypeModuleRegisterFlagsMethodInfo a signature |
typeModuleRegisterFlags :: (MonadIO m, TypeModuleK a) => a -> Text -> FlagsValue -> m GType Source
typeModuleRegisterType
data TypeModuleRegisterTypeMethodInfo Source
((~) * signature (GType -> Text -> TypeInfo -> [TypeFlags] -> m GType), MonadIO m, TypeModuleK a) => MethodInfo * TypeModuleRegisterTypeMethodInfo a signature |
typeModuleRegisterType :: (MonadIO m, TypeModuleK a) => a -> GType -> Text -> TypeInfo -> [TypeFlags] -> m GType Source
typeModuleSetName
data TypeModuleSetNameMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, TypeModuleK a) => MethodInfo * TypeModuleSetNameMethodInfo a signature |
typeModuleSetName :: (MonadIO m, TypeModuleK a) => a -> Text -> m () Source
typeModuleUnuse
data TypeModuleUnuseMethodInfo Source
((~) * signature (m ()), MonadIO m, TypeModuleK a) => MethodInfo * TypeModuleUnuseMethodInfo a signature |
typeModuleUnuse :: (MonadIO m, TypeModuleK a) => a -> m () Source
typeModuleUse
data TypeModuleUseMethodInfo Source
((~) * signature (m Bool), MonadIO m, TypeModuleK a) => MethodInfo * TypeModuleUseMethodInfo a signature |
typeModuleUse :: (MonadIO m, TypeModuleK a) => a -> m Bool Source