Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Signals
- BaseFinalizeFunc
- BaseInitFunc
- BindingTransformFunc
- BoxedCopyFunc
- BoxedFreeFunc
- Callback
- ClassFinalizeFunc
- ClassInitFunc
- ClosureMarshal
- ClosureMarshalFieldCallback
- ClosureNotify
- InitiallyUnownedClassConstructedFieldCallback
- InitiallyUnownedClassDispatchPropertiesChangedFieldCallback
- InitiallyUnownedClassDisposeFieldCallback
- InitiallyUnownedClassFinalizeFieldCallback
- InitiallyUnownedClassGetPropertyFieldCallback
- InitiallyUnownedClassNotifyFieldCallback
- InitiallyUnownedClassSetPropertyFieldCallback
- InstanceInitFunc
- InterfaceFinalizeFunc
- InterfaceInitFunc
- ObjectClassConstructedFieldCallback
- ObjectClassDispatchPropertiesChangedFieldCallback
- ObjectClassDisposeFieldCallback
- ObjectClassFinalizeFieldCallback
- ObjectClassGetPropertyFieldCallback
- ObjectClassNotifyFieldCallback
- ObjectClassSetPropertyFieldCallback
- ObjectFinalizeFunc
- ObjectGetPropertyFunc
- ObjectSetPropertyFunc
- ParamSpecTypeInfoFinalizeFieldCallback
- ParamSpecTypeInfoInstanceInitFieldCallback
- ParamSpecTypeInfoValueSetDefaultFieldCallback
- ParamSpecTypeInfoValueValidateFieldCallback
- ParamSpecTypeInfoValuesCmpFieldCallback
- SignalAccumulator
- SignalEmissionHook
- ToggleNotify
- TypeClassCacheFunc
- TypeInterfaceCheckFunc
- TypePluginCompleteInterfaceInfo
- TypePluginCompleteTypeInfo
- TypePluginUnuse
- TypePluginUse
- TypeValueTableCollectValueFieldCallback
- TypeValueTableLcopyValueFieldCallback
- TypeValueTableValueCopyFieldCallback
- TypeValueTableValueFreeFieldCallback
- TypeValueTableValueInitFieldCallback
- TypeValueTableValuePeekPointerFieldCallback
- ValueTransform
- WeakNotify
Synopsis
- type BaseFinalizeFunc = TypeClass -> IO ()
- type C_BaseFinalizeFunc = Ptr TypeClass -> IO ()
- dynamic_BaseFinalizeFunc :: (HasCallStack, MonadIO m) => FunPtr C_BaseFinalizeFunc -> TypeClass -> m ()
- genClosure_BaseFinalizeFunc :: MonadIO m => BaseFinalizeFunc -> m (GClosure C_BaseFinalizeFunc)
- mk_BaseFinalizeFunc :: C_BaseFinalizeFunc -> IO (FunPtr C_BaseFinalizeFunc)
- noBaseFinalizeFunc :: Maybe BaseFinalizeFunc
- wrap_BaseFinalizeFunc :: Maybe (Ptr (FunPtr C_BaseFinalizeFunc)) -> BaseFinalizeFunc -> C_BaseFinalizeFunc
- type BaseInitFunc = TypeClass -> IO ()
- type C_BaseInitFunc = Ptr TypeClass -> IO ()
- dynamic_BaseInitFunc :: (HasCallStack, MonadIO m) => FunPtr C_BaseInitFunc -> TypeClass -> m ()
- genClosure_BaseInitFunc :: MonadIO m => BaseInitFunc -> m (GClosure C_BaseInitFunc)
- mk_BaseInitFunc :: C_BaseInitFunc -> IO (FunPtr C_BaseInitFunc)
- noBaseInitFunc :: Maybe BaseInitFunc
- wrap_BaseInitFunc :: Maybe (Ptr (FunPtr C_BaseInitFunc)) -> BaseInitFunc -> C_BaseInitFunc
- type BindingTransformFunc = Binding -> GValue -> GValue -> IO Bool
- type BindingTransformFunc_WithClosures = Binding -> GValue -> GValue -> Ptr () -> IO Bool
- type C_BindingTransformFunc = Ptr Binding -> Ptr GValue -> Ptr GValue -> Ptr () -> IO CInt
- drop_closures_BindingTransformFunc :: BindingTransformFunc -> BindingTransformFunc_WithClosures
- dynamic_BindingTransformFunc :: (HasCallStack, MonadIO m, IsBinding a) => FunPtr C_BindingTransformFunc -> a -> GValue -> GValue -> Ptr () -> m Bool
- genClosure_BindingTransformFunc :: MonadIO m => BindingTransformFunc -> m (GClosure C_BindingTransformFunc)
- mk_BindingTransformFunc :: C_BindingTransformFunc -> IO (FunPtr C_BindingTransformFunc)
- noBindingTransformFunc :: Maybe BindingTransformFunc
- noBindingTransformFunc_WithClosures :: Maybe BindingTransformFunc_WithClosures
- wrap_BindingTransformFunc :: Maybe (Ptr (FunPtr C_BindingTransformFunc)) -> BindingTransformFunc_WithClosures -> C_BindingTransformFunc
- type BoxedCopyFunc = Ptr () -> IO (Ptr ())
- type C_BoxedCopyFunc = Ptr () -> IO (Ptr ())
- dynamic_BoxedCopyFunc :: (HasCallStack, MonadIO m) => FunPtr C_BoxedCopyFunc -> Ptr () -> m (Ptr ())
- genClosure_BoxedCopyFunc :: MonadIO m => BoxedCopyFunc -> m (GClosure C_BoxedCopyFunc)
- mk_BoxedCopyFunc :: C_BoxedCopyFunc -> IO (FunPtr C_BoxedCopyFunc)
- noBoxedCopyFunc :: Maybe BoxedCopyFunc
- wrap_BoxedCopyFunc :: Maybe (Ptr (FunPtr C_BoxedCopyFunc)) -> BoxedCopyFunc -> C_BoxedCopyFunc
- type BoxedFreeFunc = Ptr () -> IO ()
- type C_BoxedFreeFunc = Ptr () -> IO ()
- dynamic_BoxedFreeFunc :: (HasCallStack, MonadIO m) => FunPtr C_BoxedFreeFunc -> Ptr () -> m ()
- genClosure_BoxedFreeFunc :: MonadIO m => BoxedFreeFunc -> m (GClosure C_BoxedFreeFunc)
- mk_BoxedFreeFunc :: C_BoxedFreeFunc -> IO (FunPtr C_BoxedFreeFunc)
- noBoxedFreeFunc :: Maybe BoxedFreeFunc
- wrap_BoxedFreeFunc :: Maybe (Ptr (FunPtr C_BoxedFreeFunc)) -> BoxedFreeFunc -> C_BoxedFreeFunc
- type C_Callback = IO ()
- type Callback = IO ()
- dynamic_Callback :: (HasCallStack, MonadIO m) => FunPtr C_Callback -> m ()
- genClosure_Callback :: MonadIO m => Callback -> m (GClosure C_Callback)
- mk_Callback :: C_Callback -> IO (FunPtr C_Callback)
- noCallback :: Maybe Callback
- wrap_Callback :: Maybe (Ptr (FunPtr C_Callback)) -> Callback -> C_Callback
- type C_ClassFinalizeFunc = Ptr TypeClass -> Ptr () -> IO ()
- type ClassFinalizeFunc = TypeClass -> Ptr () -> IO ()
- dynamic_ClassFinalizeFunc :: (HasCallStack, MonadIO m) => FunPtr C_ClassFinalizeFunc -> TypeClass -> Ptr () -> m ()
- genClosure_ClassFinalizeFunc :: MonadIO m => ClassFinalizeFunc -> m (GClosure C_ClassFinalizeFunc)
- mk_ClassFinalizeFunc :: C_ClassFinalizeFunc -> IO (FunPtr C_ClassFinalizeFunc)
- noClassFinalizeFunc :: Maybe ClassFinalizeFunc
- wrap_ClassFinalizeFunc :: Maybe (Ptr (FunPtr C_ClassFinalizeFunc)) -> ClassFinalizeFunc -> C_ClassFinalizeFunc
- type C_ClassInitFunc = Ptr TypeClass -> Ptr () -> IO ()
- type ClassInitFunc = TypeClass -> Ptr () -> IO ()
- dynamic_ClassInitFunc :: (HasCallStack, MonadIO m) => FunPtr C_ClassInitFunc -> TypeClass -> Ptr () -> m ()
- genClosure_ClassInitFunc :: MonadIO m => ClassInitFunc -> m (GClosure C_ClassInitFunc)
- mk_ClassInitFunc :: C_ClassInitFunc -> IO (FunPtr C_ClassInitFunc)
- noClassInitFunc :: Maybe ClassInitFunc
- wrap_ClassInitFunc :: Maybe (Ptr (FunPtr C_ClassInitFunc)) -> ClassInitFunc -> C_ClassInitFunc
- type C_ClosureMarshal = Ptr (GClosure ()) -> Ptr GValue -> Word32 -> Ptr GValue -> Ptr () -> Ptr () -> IO ()
- type ClosureMarshal = GClosure () -> Maybe GValue -> [GValue] -> Ptr () -> Ptr () -> IO ()
- dynamic_ClosureMarshal :: (HasCallStack, MonadIO m) => FunPtr C_ClosureMarshal -> GClosure a -> Maybe GValue -> [GValue] -> Ptr () -> Ptr () -> m ()
- genClosure_ClosureMarshal :: MonadIO m => ClosureMarshal -> m (GClosure C_ClosureMarshal)
- mk_ClosureMarshal :: C_ClosureMarshal -> IO (FunPtr C_ClosureMarshal)
- noClosureMarshal :: Maybe ClosureMarshal
- wrap_ClosureMarshal :: Maybe (Ptr (FunPtr C_ClosureMarshal)) -> ClosureMarshal -> C_ClosureMarshal
- type C_ClosureMarshalFieldCallback = Ptr (GClosure ()) -> Ptr GValue -> Word32 -> Ptr GValue -> Ptr () -> Ptr () -> IO ()
- type ClosureMarshalFieldCallback = GClosure () -> GValue -> Word32 -> GValue -> Ptr () -> Ptr () -> IO ()
- dynamic_ClosureMarshalFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ClosureMarshalFieldCallback -> GClosure a -> GValue -> Word32 -> GValue -> Ptr () -> Ptr () -> m ()
- genClosure_ClosureMarshalFieldCallback :: MonadIO m => ClosureMarshalFieldCallback -> m (GClosure C_ClosureMarshalFieldCallback)
- mk_ClosureMarshalFieldCallback :: C_ClosureMarshalFieldCallback -> IO (FunPtr C_ClosureMarshalFieldCallback)
- noClosureMarshalFieldCallback :: Maybe ClosureMarshalFieldCallback
- wrap_ClosureMarshalFieldCallback :: Maybe (Ptr (FunPtr C_ClosureMarshalFieldCallback)) -> ClosureMarshalFieldCallback -> C_ClosureMarshalFieldCallback
- type C_ClosureNotify = Ptr () -> Ptr (GClosure ()) -> IO ()
- type ClosureNotify = Ptr () -> GClosure () -> IO ()
- dynamic_ClosureNotify :: (HasCallStack, MonadIO m) => FunPtr C_ClosureNotify -> Ptr () -> GClosure a -> m ()
- genClosure_ClosureNotify :: MonadIO m => ClosureNotify -> m (GClosure C_ClosureNotify)
- mk_ClosureNotify :: C_ClosureNotify -> IO (FunPtr C_ClosureNotify)
- noClosureNotify :: Maybe ClosureNotify
- wrap_ClosureNotify :: Maybe (Ptr (FunPtr C_ClosureNotify)) -> ClosureNotify -> C_ClosureNotify
- type C_InitiallyUnownedClassConstructedFieldCallback = Ptr Object -> IO ()
- type InitiallyUnownedClassConstructedFieldCallback = Object -> IO ()
- dynamic_InitiallyUnownedClassConstructedFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassConstructedFieldCallback -> a -> m ()
- genClosure_InitiallyUnownedClassConstructedFieldCallback :: MonadIO m => InitiallyUnownedClassConstructedFieldCallback -> m (GClosure C_InitiallyUnownedClassConstructedFieldCallback)
- mk_InitiallyUnownedClassConstructedFieldCallback :: C_InitiallyUnownedClassConstructedFieldCallback -> IO (FunPtr C_InitiallyUnownedClassConstructedFieldCallback)
- noInitiallyUnownedClassConstructedFieldCallback :: Maybe InitiallyUnownedClassConstructedFieldCallback
- wrap_InitiallyUnownedClassConstructedFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassConstructedFieldCallback)) -> InitiallyUnownedClassConstructedFieldCallback -> C_InitiallyUnownedClassConstructedFieldCallback
- type C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback = Ptr Object -> Word32 -> Ptr GParamSpec -> IO ()
- type InitiallyUnownedClassDispatchPropertiesChangedFieldCallback = Object -> Word32 -> GParamSpec -> IO ()
- dynamic_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback -> a -> Word32 -> GParamSpec -> m ()
- genClosure_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback :: MonadIO m => InitiallyUnownedClassDispatchPropertiesChangedFieldCallback -> m (GClosure C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback)
- mk_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback :: C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback -> IO (FunPtr C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback)
- noInitiallyUnownedClassDispatchPropertiesChangedFieldCallback :: Maybe InitiallyUnownedClassDispatchPropertiesChangedFieldCallback
- wrap_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback)) -> InitiallyUnownedClassDispatchPropertiesChangedFieldCallback -> C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback
- type C_InitiallyUnownedClassDisposeFieldCallback = Ptr Object -> IO ()
- type InitiallyUnownedClassDisposeFieldCallback = Object -> IO ()
- dynamic_InitiallyUnownedClassDisposeFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassDisposeFieldCallback -> a -> m ()
- genClosure_InitiallyUnownedClassDisposeFieldCallback :: MonadIO m => InitiallyUnownedClassDisposeFieldCallback -> m (GClosure C_InitiallyUnownedClassDisposeFieldCallback)
- mk_InitiallyUnownedClassDisposeFieldCallback :: C_InitiallyUnownedClassDisposeFieldCallback -> IO (FunPtr C_InitiallyUnownedClassDisposeFieldCallback)
- noInitiallyUnownedClassDisposeFieldCallback :: Maybe InitiallyUnownedClassDisposeFieldCallback
- wrap_InitiallyUnownedClassDisposeFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassDisposeFieldCallback)) -> InitiallyUnownedClassDisposeFieldCallback -> C_InitiallyUnownedClassDisposeFieldCallback
- type C_InitiallyUnownedClassFinalizeFieldCallback = Ptr Object -> IO ()
- type InitiallyUnownedClassFinalizeFieldCallback = Object -> IO ()
- dynamic_InitiallyUnownedClassFinalizeFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassFinalizeFieldCallback -> a -> m ()
- genClosure_InitiallyUnownedClassFinalizeFieldCallback :: MonadIO m => InitiallyUnownedClassFinalizeFieldCallback -> m (GClosure C_InitiallyUnownedClassFinalizeFieldCallback)
- mk_InitiallyUnownedClassFinalizeFieldCallback :: C_InitiallyUnownedClassFinalizeFieldCallback -> IO (FunPtr C_InitiallyUnownedClassFinalizeFieldCallback)
- noInitiallyUnownedClassFinalizeFieldCallback :: Maybe InitiallyUnownedClassFinalizeFieldCallback
- wrap_InitiallyUnownedClassFinalizeFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassFinalizeFieldCallback)) -> InitiallyUnownedClassFinalizeFieldCallback -> C_InitiallyUnownedClassFinalizeFieldCallback
- type C_InitiallyUnownedClassGetPropertyFieldCallback = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO ()
- type InitiallyUnownedClassGetPropertyFieldCallback = Object -> Word32 -> GValue -> GParamSpec -> IO ()
- dynamic_InitiallyUnownedClassGetPropertyFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassGetPropertyFieldCallback -> a -> Word32 -> GValue -> GParamSpec -> m ()
- genClosure_InitiallyUnownedClassGetPropertyFieldCallback :: MonadIO m => InitiallyUnownedClassGetPropertyFieldCallback -> m (GClosure C_InitiallyUnownedClassGetPropertyFieldCallback)
- mk_InitiallyUnownedClassGetPropertyFieldCallback :: C_InitiallyUnownedClassGetPropertyFieldCallback -> IO (FunPtr C_InitiallyUnownedClassGetPropertyFieldCallback)
- noInitiallyUnownedClassGetPropertyFieldCallback :: Maybe InitiallyUnownedClassGetPropertyFieldCallback
- wrap_InitiallyUnownedClassGetPropertyFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassGetPropertyFieldCallback)) -> InitiallyUnownedClassGetPropertyFieldCallback -> C_InitiallyUnownedClassGetPropertyFieldCallback
- type C_InitiallyUnownedClassNotifyFieldCallback = Ptr Object -> Ptr GParamSpec -> IO ()
- type InitiallyUnownedClassNotifyFieldCallback = Object -> GParamSpec -> IO ()
- dynamic_InitiallyUnownedClassNotifyFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassNotifyFieldCallback -> a -> GParamSpec -> m ()
- genClosure_InitiallyUnownedClassNotifyFieldCallback :: MonadIO m => InitiallyUnownedClassNotifyFieldCallback -> m (GClosure C_InitiallyUnownedClassNotifyFieldCallback)
- mk_InitiallyUnownedClassNotifyFieldCallback :: C_InitiallyUnownedClassNotifyFieldCallback -> IO (FunPtr C_InitiallyUnownedClassNotifyFieldCallback)
- noInitiallyUnownedClassNotifyFieldCallback :: Maybe InitiallyUnownedClassNotifyFieldCallback
- wrap_InitiallyUnownedClassNotifyFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassNotifyFieldCallback)) -> InitiallyUnownedClassNotifyFieldCallback -> C_InitiallyUnownedClassNotifyFieldCallback
- type C_InitiallyUnownedClassSetPropertyFieldCallback = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO ()
- type InitiallyUnownedClassSetPropertyFieldCallback = Object -> Word32 -> GValue -> GParamSpec -> IO ()
- dynamic_InitiallyUnownedClassSetPropertyFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassSetPropertyFieldCallback -> a -> Word32 -> GValue -> GParamSpec -> m ()
- genClosure_InitiallyUnownedClassSetPropertyFieldCallback :: MonadIO m => InitiallyUnownedClassSetPropertyFieldCallback -> m (GClosure C_InitiallyUnownedClassSetPropertyFieldCallback)
- mk_InitiallyUnownedClassSetPropertyFieldCallback :: C_InitiallyUnownedClassSetPropertyFieldCallback -> IO (FunPtr C_InitiallyUnownedClassSetPropertyFieldCallback)
- noInitiallyUnownedClassSetPropertyFieldCallback :: Maybe InitiallyUnownedClassSetPropertyFieldCallback
- wrap_InitiallyUnownedClassSetPropertyFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassSetPropertyFieldCallback)) -> InitiallyUnownedClassSetPropertyFieldCallback -> C_InitiallyUnownedClassSetPropertyFieldCallback
- type C_InstanceInitFunc = Ptr TypeInstance -> Ptr TypeClass -> IO ()
- type InstanceInitFunc = TypeInstance -> TypeClass -> IO ()
- dynamic_InstanceInitFunc :: (HasCallStack, MonadIO m) => FunPtr C_InstanceInitFunc -> TypeInstance -> TypeClass -> m ()
- genClosure_InstanceInitFunc :: MonadIO m => InstanceInitFunc -> m (GClosure C_InstanceInitFunc)
- mk_InstanceInitFunc :: C_InstanceInitFunc -> IO (FunPtr C_InstanceInitFunc)
- noInstanceInitFunc :: Maybe InstanceInitFunc
- wrap_InstanceInitFunc :: Maybe (Ptr (FunPtr C_InstanceInitFunc)) -> InstanceInitFunc -> C_InstanceInitFunc
- type C_InterfaceFinalizeFunc = Ptr TypeInterface -> Ptr () -> IO ()
- type InterfaceFinalizeFunc = TypeInterface -> Ptr () -> IO ()
- dynamic_InterfaceFinalizeFunc :: (HasCallStack, MonadIO m) => FunPtr C_InterfaceFinalizeFunc -> TypeInterface -> Ptr () -> m ()
- genClosure_InterfaceFinalizeFunc :: MonadIO m => InterfaceFinalizeFunc -> m (GClosure C_InterfaceFinalizeFunc)
- mk_InterfaceFinalizeFunc :: C_InterfaceFinalizeFunc -> IO (FunPtr C_InterfaceFinalizeFunc)
- noInterfaceFinalizeFunc :: Maybe InterfaceFinalizeFunc
- wrap_InterfaceFinalizeFunc :: Maybe (Ptr (FunPtr C_InterfaceFinalizeFunc)) -> InterfaceFinalizeFunc -> C_InterfaceFinalizeFunc
- type C_InterfaceInitFunc = Ptr TypeInterface -> Ptr () -> IO ()
- type InterfaceInitFunc = TypeInterface -> Ptr () -> IO ()
- dynamic_InterfaceInitFunc :: (HasCallStack, MonadIO m) => FunPtr C_InterfaceInitFunc -> TypeInterface -> Ptr () -> m ()
- genClosure_InterfaceInitFunc :: MonadIO m => InterfaceInitFunc -> m (GClosure C_InterfaceInitFunc)
- mk_InterfaceInitFunc :: C_InterfaceInitFunc -> IO (FunPtr C_InterfaceInitFunc)
- noInterfaceInitFunc :: Maybe InterfaceInitFunc
- wrap_InterfaceInitFunc :: Maybe (Ptr (FunPtr C_InterfaceInitFunc)) -> InterfaceInitFunc -> C_InterfaceInitFunc
- type C_ObjectClassConstructedFieldCallback = Ptr Object -> IO ()
- type ObjectClassConstructedFieldCallback = Object -> IO ()
- dynamic_ObjectClassConstructedFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassConstructedFieldCallback -> a -> m ()
- genClosure_ObjectClassConstructedFieldCallback :: MonadIO m => ObjectClassConstructedFieldCallback -> m (GClosure C_ObjectClassConstructedFieldCallback)
- mk_ObjectClassConstructedFieldCallback :: C_ObjectClassConstructedFieldCallback -> IO (FunPtr C_ObjectClassConstructedFieldCallback)
- noObjectClassConstructedFieldCallback :: Maybe ObjectClassConstructedFieldCallback
- wrap_ObjectClassConstructedFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassConstructedFieldCallback)) -> ObjectClassConstructedFieldCallback -> C_ObjectClassConstructedFieldCallback
- type C_ObjectClassDispatchPropertiesChangedFieldCallback = Ptr Object -> Word32 -> Ptr GParamSpec -> IO ()
- type ObjectClassDispatchPropertiesChangedFieldCallback = Object -> Word32 -> GParamSpec -> IO ()
- dynamic_ObjectClassDispatchPropertiesChangedFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassDispatchPropertiesChangedFieldCallback -> a -> Word32 -> GParamSpec -> m ()
- genClosure_ObjectClassDispatchPropertiesChangedFieldCallback :: MonadIO m => ObjectClassDispatchPropertiesChangedFieldCallback -> m (GClosure C_ObjectClassDispatchPropertiesChangedFieldCallback)
- mk_ObjectClassDispatchPropertiesChangedFieldCallback :: C_ObjectClassDispatchPropertiesChangedFieldCallback -> IO (FunPtr C_ObjectClassDispatchPropertiesChangedFieldCallback)
- noObjectClassDispatchPropertiesChangedFieldCallback :: Maybe ObjectClassDispatchPropertiesChangedFieldCallback
- wrap_ObjectClassDispatchPropertiesChangedFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassDispatchPropertiesChangedFieldCallback)) -> ObjectClassDispatchPropertiesChangedFieldCallback -> C_ObjectClassDispatchPropertiesChangedFieldCallback
- type C_ObjectClassDisposeFieldCallback = Ptr Object -> IO ()
- type ObjectClassDisposeFieldCallback = Object -> IO ()
- dynamic_ObjectClassDisposeFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassDisposeFieldCallback -> a -> m ()
- genClosure_ObjectClassDisposeFieldCallback :: MonadIO m => ObjectClassDisposeFieldCallback -> m (GClosure C_ObjectClassDisposeFieldCallback)
- mk_ObjectClassDisposeFieldCallback :: C_ObjectClassDisposeFieldCallback -> IO (FunPtr C_ObjectClassDisposeFieldCallback)
- noObjectClassDisposeFieldCallback :: Maybe ObjectClassDisposeFieldCallback
- wrap_ObjectClassDisposeFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassDisposeFieldCallback)) -> ObjectClassDisposeFieldCallback -> C_ObjectClassDisposeFieldCallback
- type C_ObjectClassFinalizeFieldCallback = Ptr Object -> IO ()
- type ObjectClassFinalizeFieldCallback = Object -> IO ()
- dynamic_ObjectClassFinalizeFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassFinalizeFieldCallback -> a -> m ()
- genClosure_ObjectClassFinalizeFieldCallback :: MonadIO m => ObjectClassFinalizeFieldCallback -> m (GClosure C_ObjectClassFinalizeFieldCallback)
- mk_ObjectClassFinalizeFieldCallback :: C_ObjectClassFinalizeFieldCallback -> IO (FunPtr C_ObjectClassFinalizeFieldCallback)
- noObjectClassFinalizeFieldCallback :: Maybe ObjectClassFinalizeFieldCallback
- wrap_ObjectClassFinalizeFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassFinalizeFieldCallback)) -> ObjectClassFinalizeFieldCallback -> C_ObjectClassFinalizeFieldCallback
- type C_ObjectClassGetPropertyFieldCallback = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO ()
- type ObjectClassGetPropertyFieldCallback = Object -> Word32 -> GValue -> GParamSpec -> IO ()
- dynamic_ObjectClassGetPropertyFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassGetPropertyFieldCallback -> a -> Word32 -> GValue -> GParamSpec -> m ()
- genClosure_ObjectClassGetPropertyFieldCallback :: MonadIO m => ObjectClassGetPropertyFieldCallback -> m (GClosure C_ObjectClassGetPropertyFieldCallback)
- mk_ObjectClassGetPropertyFieldCallback :: C_ObjectClassGetPropertyFieldCallback -> IO (FunPtr C_ObjectClassGetPropertyFieldCallback)
- noObjectClassGetPropertyFieldCallback :: Maybe ObjectClassGetPropertyFieldCallback
- wrap_ObjectClassGetPropertyFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassGetPropertyFieldCallback)) -> ObjectClassGetPropertyFieldCallback -> C_ObjectClassGetPropertyFieldCallback
- type C_ObjectClassNotifyFieldCallback = Ptr Object -> Ptr GParamSpec -> IO ()
- type ObjectClassNotifyFieldCallback = Object -> GParamSpec -> IO ()
- dynamic_ObjectClassNotifyFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassNotifyFieldCallback -> a -> GParamSpec -> m ()
- genClosure_ObjectClassNotifyFieldCallback :: MonadIO m => ObjectClassNotifyFieldCallback -> m (GClosure C_ObjectClassNotifyFieldCallback)
- mk_ObjectClassNotifyFieldCallback :: C_ObjectClassNotifyFieldCallback -> IO (FunPtr C_ObjectClassNotifyFieldCallback)
- noObjectClassNotifyFieldCallback :: Maybe ObjectClassNotifyFieldCallback
- wrap_ObjectClassNotifyFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassNotifyFieldCallback)) -> ObjectClassNotifyFieldCallback -> C_ObjectClassNotifyFieldCallback
- type C_ObjectClassSetPropertyFieldCallback = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO ()
- type ObjectClassSetPropertyFieldCallback = Object -> Word32 -> GValue -> GParamSpec -> IO ()
- dynamic_ObjectClassSetPropertyFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassSetPropertyFieldCallback -> a -> Word32 -> GValue -> GParamSpec -> m ()
- genClosure_ObjectClassSetPropertyFieldCallback :: MonadIO m => ObjectClassSetPropertyFieldCallback -> m (GClosure C_ObjectClassSetPropertyFieldCallback)
- mk_ObjectClassSetPropertyFieldCallback :: C_ObjectClassSetPropertyFieldCallback -> IO (FunPtr C_ObjectClassSetPropertyFieldCallback)
- noObjectClassSetPropertyFieldCallback :: Maybe ObjectClassSetPropertyFieldCallback
- wrap_ObjectClassSetPropertyFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassSetPropertyFieldCallback)) -> ObjectClassSetPropertyFieldCallback -> C_ObjectClassSetPropertyFieldCallback
- type C_ObjectFinalizeFunc = Ptr Object -> IO ()
- type ObjectFinalizeFunc = Object -> IO ()
- dynamic_ObjectFinalizeFunc :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectFinalizeFunc -> a -> m ()
- genClosure_ObjectFinalizeFunc :: MonadIO m => ObjectFinalizeFunc -> m (GClosure C_ObjectFinalizeFunc)
- mk_ObjectFinalizeFunc :: C_ObjectFinalizeFunc -> IO (FunPtr C_ObjectFinalizeFunc)
- noObjectFinalizeFunc :: Maybe ObjectFinalizeFunc
- wrap_ObjectFinalizeFunc :: Maybe (Ptr (FunPtr C_ObjectFinalizeFunc)) -> ObjectFinalizeFunc -> C_ObjectFinalizeFunc
- type C_ObjectGetPropertyFunc = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO ()
- type ObjectGetPropertyFunc = Object -> Word32 -> GValue -> GParamSpec -> IO ()
- dynamic_ObjectGetPropertyFunc :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectGetPropertyFunc -> a -> Word32 -> GValue -> GParamSpec -> m ()
- genClosure_ObjectGetPropertyFunc :: MonadIO m => ObjectGetPropertyFunc -> m (GClosure C_ObjectGetPropertyFunc)
- mk_ObjectGetPropertyFunc :: C_ObjectGetPropertyFunc -> IO (FunPtr C_ObjectGetPropertyFunc)
- noObjectGetPropertyFunc :: Maybe ObjectGetPropertyFunc
- wrap_ObjectGetPropertyFunc :: Maybe (Ptr (FunPtr C_ObjectGetPropertyFunc)) -> ObjectGetPropertyFunc -> C_ObjectGetPropertyFunc
- type C_ObjectSetPropertyFunc = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO ()
- type ObjectSetPropertyFunc = Object -> Word32 -> GValue -> GParamSpec -> IO ()
- dynamic_ObjectSetPropertyFunc :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectSetPropertyFunc -> a -> Word32 -> GValue -> GParamSpec -> m ()
- genClosure_ObjectSetPropertyFunc :: MonadIO m => ObjectSetPropertyFunc -> m (GClosure C_ObjectSetPropertyFunc)
- mk_ObjectSetPropertyFunc :: C_ObjectSetPropertyFunc -> IO (FunPtr C_ObjectSetPropertyFunc)
- noObjectSetPropertyFunc :: Maybe ObjectSetPropertyFunc
- wrap_ObjectSetPropertyFunc :: Maybe (Ptr (FunPtr C_ObjectSetPropertyFunc)) -> ObjectSetPropertyFunc -> C_ObjectSetPropertyFunc
- type C_ParamSpecTypeInfoFinalizeFieldCallback = Ptr GParamSpec -> IO ()
- type ParamSpecTypeInfoFinalizeFieldCallback = GParamSpec -> IO ()
- dynamic_ParamSpecTypeInfoFinalizeFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ParamSpecTypeInfoFinalizeFieldCallback -> GParamSpec -> m ()
- genClosure_ParamSpecTypeInfoFinalizeFieldCallback :: MonadIO m => ParamSpecTypeInfoFinalizeFieldCallback -> m (GClosure C_ParamSpecTypeInfoFinalizeFieldCallback)
- mk_ParamSpecTypeInfoFinalizeFieldCallback :: C_ParamSpecTypeInfoFinalizeFieldCallback -> IO (FunPtr C_ParamSpecTypeInfoFinalizeFieldCallback)
- noParamSpecTypeInfoFinalizeFieldCallback :: Maybe ParamSpecTypeInfoFinalizeFieldCallback
- wrap_ParamSpecTypeInfoFinalizeFieldCallback :: Maybe (Ptr (FunPtr C_ParamSpecTypeInfoFinalizeFieldCallback)) -> ParamSpecTypeInfoFinalizeFieldCallback -> C_ParamSpecTypeInfoFinalizeFieldCallback
- type C_ParamSpecTypeInfoInstanceInitFieldCallback = Ptr GParamSpec -> IO ()
- type ParamSpecTypeInfoInstanceInitFieldCallback = GParamSpec -> IO ()
- dynamic_ParamSpecTypeInfoInstanceInitFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ParamSpecTypeInfoInstanceInitFieldCallback -> GParamSpec -> m ()
- genClosure_ParamSpecTypeInfoInstanceInitFieldCallback :: MonadIO m => ParamSpecTypeInfoInstanceInitFieldCallback -> m (GClosure C_ParamSpecTypeInfoInstanceInitFieldCallback)
- mk_ParamSpecTypeInfoInstanceInitFieldCallback :: C_ParamSpecTypeInfoInstanceInitFieldCallback -> IO (FunPtr C_ParamSpecTypeInfoInstanceInitFieldCallback)
- noParamSpecTypeInfoInstanceInitFieldCallback :: Maybe ParamSpecTypeInfoInstanceInitFieldCallback
- wrap_ParamSpecTypeInfoInstanceInitFieldCallback :: Maybe (Ptr (FunPtr C_ParamSpecTypeInfoInstanceInitFieldCallback)) -> ParamSpecTypeInfoInstanceInitFieldCallback -> C_ParamSpecTypeInfoInstanceInitFieldCallback
- type C_ParamSpecTypeInfoValueSetDefaultFieldCallback = Ptr GParamSpec -> Ptr GValue -> IO ()
- type ParamSpecTypeInfoValueSetDefaultFieldCallback = GParamSpec -> GValue -> IO ()
- dynamic_ParamSpecTypeInfoValueSetDefaultFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ParamSpecTypeInfoValueSetDefaultFieldCallback -> GParamSpec -> GValue -> m ()
- genClosure_ParamSpecTypeInfoValueSetDefaultFieldCallback :: MonadIO m => ParamSpecTypeInfoValueSetDefaultFieldCallback -> m (GClosure C_ParamSpecTypeInfoValueSetDefaultFieldCallback)
- mk_ParamSpecTypeInfoValueSetDefaultFieldCallback :: C_ParamSpecTypeInfoValueSetDefaultFieldCallback -> IO (FunPtr C_ParamSpecTypeInfoValueSetDefaultFieldCallback)
- noParamSpecTypeInfoValueSetDefaultFieldCallback :: Maybe ParamSpecTypeInfoValueSetDefaultFieldCallback
- wrap_ParamSpecTypeInfoValueSetDefaultFieldCallback :: Maybe (Ptr (FunPtr C_ParamSpecTypeInfoValueSetDefaultFieldCallback)) -> ParamSpecTypeInfoValueSetDefaultFieldCallback -> C_ParamSpecTypeInfoValueSetDefaultFieldCallback
- type C_ParamSpecTypeInfoValueValidateFieldCallback = Ptr GParamSpec -> Ptr GValue -> IO CInt
- type ParamSpecTypeInfoValueValidateFieldCallback = GParamSpec -> GValue -> IO Bool
- dynamic_ParamSpecTypeInfoValueValidateFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ParamSpecTypeInfoValueValidateFieldCallback -> GParamSpec -> GValue -> m Bool
- genClosure_ParamSpecTypeInfoValueValidateFieldCallback :: MonadIO m => ParamSpecTypeInfoValueValidateFieldCallback -> m (GClosure C_ParamSpecTypeInfoValueValidateFieldCallback)
- mk_ParamSpecTypeInfoValueValidateFieldCallback :: C_ParamSpecTypeInfoValueValidateFieldCallback -> IO (FunPtr C_ParamSpecTypeInfoValueValidateFieldCallback)
- noParamSpecTypeInfoValueValidateFieldCallback :: Maybe ParamSpecTypeInfoValueValidateFieldCallback
- wrap_ParamSpecTypeInfoValueValidateFieldCallback :: Maybe (Ptr (FunPtr C_ParamSpecTypeInfoValueValidateFieldCallback)) -> ParamSpecTypeInfoValueValidateFieldCallback -> C_ParamSpecTypeInfoValueValidateFieldCallback
- type C_ParamSpecTypeInfoValuesCmpFieldCallback = Ptr GParamSpec -> Ptr GValue -> Ptr GValue -> IO Int32
- type ParamSpecTypeInfoValuesCmpFieldCallback = GParamSpec -> GValue -> GValue -> IO Int32
- dynamic_ParamSpecTypeInfoValuesCmpFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ParamSpecTypeInfoValuesCmpFieldCallback -> GParamSpec -> GValue -> GValue -> m Int32
- genClosure_ParamSpecTypeInfoValuesCmpFieldCallback :: MonadIO m => ParamSpecTypeInfoValuesCmpFieldCallback -> m (GClosure C_ParamSpecTypeInfoValuesCmpFieldCallback)
- mk_ParamSpecTypeInfoValuesCmpFieldCallback :: C_ParamSpecTypeInfoValuesCmpFieldCallback -> IO (FunPtr C_ParamSpecTypeInfoValuesCmpFieldCallback)
- noParamSpecTypeInfoValuesCmpFieldCallback :: Maybe ParamSpecTypeInfoValuesCmpFieldCallback
- wrap_ParamSpecTypeInfoValuesCmpFieldCallback :: Maybe (Ptr (FunPtr C_ParamSpecTypeInfoValuesCmpFieldCallback)) -> ParamSpecTypeInfoValuesCmpFieldCallback -> C_ParamSpecTypeInfoValuesCmpFieldCallback
- type C_SignalAccumulator = Ptr SignalInvocationHint -> Ptr GValue -> Ptr GValue -> Ptr () -> IO CInt
- type SignalAccumulator = SignalInvocationHint -> GValue -> GValue -> Ptr () -> IO Bool
- dynamic_SignalAccumulator :: (HasCallStack, MonadIO m) => FunPtr C_SignalAccumulator -> SignalInvocationHint -> GValue -> GValue -> Ptr () -> m Bool
- genClosure_SignalAccumulator :: MonadIO m => SignalAccumulator -> m (GClosure C_SignalAccumulator)
- mk_SignalAccumulator :: C_SignalAccumulator -> IO (FunPtr C_SignalAccumulator)
- noSignalAccumulator :: Maybe SignalAccumulator
- wrap_SignalAccumulator :: Maybe (Ptr (FunPtr C_SignalAccumulator)) -> SignalAccumulator -> C_SignalAccumulator
- type C_SignalEmissionHook = Ptr SignalInvocationHint -> Word32 -> Ptr GValue -> Ptr () -> IO CInt
- type SignalEmissionHook = SignalInvocationHint -> [GValue] -> Ptr () -> IO Bool
- dynamic_SignalEmissionHook :: (HasCallStack, MonadIO m) => FunPtr C_SignalEmissionHook -> SignalInvocationHint -> [GValue] -> Ptr () -> m Bool
- genClosure_SignalEmissionHook :: MonadIO m => SignalEmissionHook -> m (GClosure C_SignalEmissionHook)
- mk_SignalEmissionHook :: C_SignalEmissionHook -> IO (FunPtr C_SignalEmissionHook)
- noSignalEmissionHook :: Maybe SignalEmissionHook
- wrap_SignalEmissionHook :: Maybe (Ptr (FunPtr C_SignalEmissionHook)) -> SignalEmissionHook -> C_SignalEmissionHook
- type C_ToggleNotify = Ptr () -> Ptr Object -> CInt -> IO ()
- type ToggleNotify = Ptr () -> Object -> Bool -> IO ()
- dynamic_ToggleNotify :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ToggleNotify -> Ptr () -> a -> Bool -> m ()
- genClosure_ToggleNotify :: MonadIO m => ToggleNotify -> m (GClosure C_ToggleNotify)
- mk_ToggleNotify :: C_ToggleNotify -> IO (FunPtr C_ToggleNotify)
- noToggleNotify :: Maybe ToggleNotify
- wrap_ToggleNotify :: Maybe (Ptr (FunPtr C_ToggleNotify)) -> ToggleNotify -> C_ToggleNotify
- type C_TypeClassCacheFunc = Ptr () -> Ptr TypeClass -> IO CInt
- type TypeClassCacheFunc = Ptr () -> TypeClass -> IO Bool
- dynamic_TypeClassCacheFunc :: (HasCallStack, MonadIO m) => FunPtr C_TypeClassCacheFunc -> Ptr () -> TypeClass -> m Bool
- genClosure_TypeClassCacheFunc :: MonadIO m => TypeClassCacheFunc -> m (GClosure C_TypeClassCacheFunc)
- mk_TypeClassCacheFunc :: C_TypeClassCacheFunc -> IO (FunPtr C_TypeClassCacheFunc)
- noTypeClassCacheFunc :: Maybe TypeClassCacheFunc
- wrap_TypeClassCacheFunc :: Maybe (Ptr (FunPtr C_TypeClassCacheFunc)) -> TypeClassCacheFunc -> C_TypeClassCacheFunc
- type C_TypeInterfaceCheckFunc = Ptr () -> Ptr TypeInterface -> IO ()
- type TypeInterfaceCheckFunc = Ptr () -> TypeInterface -> IO ()
- dynamic_TypeInterfaceCheckFunc :: (HasCallStack, MonadIO m) => FunPtr C_TypeInterfaceCheckFunc -> Ptr () -> TypeInterface -> m ()
- genClosure_TypeInterfaceCheckFunc :: MonadIO m => TypeInterfaceCheckFunc -> m (GClosure C_TypeInterfaceCheckFunc)
- mk_TypeInterfaceCheckFunc :: C_TypeInterfaceCheckFunc -> IO (FunPtr C_TypeInterfaceCheckFunc)
- noTypeInterfaceCheckFunc :: Maybe TypeInterfaceCheckFunc
- wrap_TypeInterfaceCheckFunc :: Maybe (Ptr (FunPtr C_TypeInterfaceCheckFunc)) -> TypeInterfaceCheckFunc -> C_TypeInterfaceCheckFunc
- type C_TypePluginCompleteInterfaceInfo = Ptr TypePlugin -> CGType -> CGType -> Ptr InterfaceInfo -> IO ()
- type TypePluginCompleteInterfaceInfo = TypePlugin -> GType -> GType -> InterfaceInfo -> IO ()
- dynamic_TypePluginCompleteInterfaceInfo :: (HasCallStack, MonadIO m, IsTypePlugin a) => FunPtr C_TypePluginCompleteInterfaceInfo -> a -> GType -> GType -> InterfaceInfo -> m ()
- genClosure_TypePluginCompleteInterfaceInfo :: MonadIO m => TypePluginCompleteInterfaceInfo -> m (GClosure C_TypePluginCompleteInterfaceInfo)
- mk_TypePluginCompleteInterfaceInfo :: C_TypePluginCompleteInterfaceInfo -> IO (FunPtr C_TypePluginCompleteInterfaceInfo)
- noTypePluginCompleteInterfaceInfo :: Maybe TypePluginCompleteInterfaceInfo
- wrap_TypePluginCompleteInterfaceInfo :: Maybe (Ptr (FunPtr C_TypePluginCompleteInterfaceInfo)) -> TypePluginCompleteInterfaceInfo -> C_TypePluginCompleteInterfaceInfo
- type C_TypePluginCompleteTypeInfo = Ptr TypePlugin -> CGType -> Ptr TypeInfo -> Ptr TypeValueTable -> IO ()
- type TypePluginCompleteTypeInfo = TypePlugin -> GType -> TypeInfo -> TypeValueTable -> IO ()
- dynamic_TypePluginCompleteTypeInfo :: (HasCallStack, MonadIO m, IsTypePlugin a) => FunPtr C_TypePluginCompleteTypeInfo -> a -> GType -> TypeInfo -> TypeValueTable -> m ()
- genClosure_TypePluginCompleteTypeInfo :: MonadIO m => TypePluginCompleteTypeInfo -> m (GClosure C_TypePluginCompleteTypeInfo)
- mk_TypePluginCompleteTypeInfo :: C_TypePluginCompleteTypeInfo -> IO (FunPtr C_TypePluginCompleteTypeInfo)
- noTypePluginCompleteTypeInfo :: Maybe TypePluginCompleteTypeInfo
- wrap_TypePluginCompleteTypeInfo :: Maybe (Ptr (FunPtr C_TypePluginCompleteTypeInfo)) -> TypePluginCompleteTypeInfo -> C_TypePluginCompleteTypeInfo
- type C_TypePluginUnuse = Ptr TypePlugin -> IO ()
- type TypePluginUnuse = TypePlugin -> IO ()
- dynamic_TypePluginUnuse :: (HasCallStack, MonadIO m, IsTypePlugin a) => FunPtr C_TypePluginUnuse -> a -> m ()
- genClosure_TypePluginUnuse :: MonadIO m => TypePluginUnuse -> m (GClosure C_TypePluginUnuse)
- mk_TypePluginUnuse :: C_TypePluginUnuse -> IO (FunPtr C_TypePluginUnuse)
- noTypePluginUnuse :: Maybe TypePluginUnuse
- wrap_TypePluginUnuse :: Maybe (Ptr (FunPtr C_TypePluginUnuse)) -> TypePluginUnuse -> C_TypePluginUnuse
- type C_TypePluginUse = Ptr TypePlugin -> IO ()
- type TypePluginUse = TypePlugin -> IO ()
- dynamic_TypePluginUse :: (HasCallStack, MonadIO m, IsTypePlugin a) => FunPtr C_TypePluginUse -> a -> m ()
- genClosure_TypePluginUse :: MonadIO m => TypePluginUse -> m (GClosure C_TypePluginUse)
- mk_TypePluginUse :: C_TypePluginUse -> IO (FunPtr C_TypePluginUse)
- noTypePluginUse :: Maybe TypePluginUse
- wrap_TypePluginUse :: Maybe (Ptr (FunPtr C_TypePluginUse)) -> TypePluginUse -> C_TypePluginUse
- type C_TypeValueTableCollectValueFieldCallback = Ptr GValue -> Word32 -> Ptr TypeCValue -> Word32 -> IO CString
- type TypeValueTableCollectValueFieldCallback = GValue -> Word32 -> TypeCValue -> Word32 -> IO Text
- dynamic_TypeValueTableCollectValueFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableCollectValueFieldCallback -> GValue -> Word32 -> TypeCValue -> Word32 -> m Text
- genClosure_TypeValueTableCollectValueFieldCallback :: MonadIO m => TypeValueTableCollectValueFieldCallback -> m (GClosure C_TypeValueTableCollectValueFieldCallback)
- mk_TypeValueTableCollectValueFieldCallback :: C_TypeValueTableCollectValueFieldCallback -> IO (FunPtr C_TypeValueTableCollectValueFieldCallback)
- noTypeValueTableCollectValueFieldCallback :: Maybe TypeValueTableCollectValueFieldCallback
- wrap_TypeValueTableCollectValueFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableCollectValueFieldCallback)) -> TypeValueTableCollectValueFieldCallback -> C_TypeValueTableCollectValueFieldCallback
- type C_TypeValueTableLcopyValueFieldCallback = Ptr GValue -> Word32 -> Ptr TypeCValue -> Word32 -> IO CString
- type TypeValueTableLcopyValueFieldCallback = GValue -> Word32 -> TypeCValue -> Word32 -> IO Text
- dynamic_TypeValueTableLcopyValueFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableLcopyValueFieldCallback -> GValue -> Word32 -> TypeCValue -> Word32 -> m Text
- genClosure_TypeValueTableLcopyValueFieldCallback :: MonadIO m => TypeValueTableLcopyValueFieldCallback -> m (GClosure C_TypeValueTableLcopyValueFieldCallback)
- mk_TypeValueTableLcopyValueFieldCallback :: C_TypeValueTableLcopyValueFieldCallback -> IO (FunPtr C_TypeValueTableLcopyValueFieldCallback)
- noTypeValueTableLcopyValueFieldCallback :: Maybe TypeValueTableLcopyValueFieldCallback
- wrap_TypeValueTableLcopyValueFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableLcopyValueFieldCallback)) -> TypeValueTableLcopyValueFieldCallback -> C_TypeValueTableLcopyValueFieldCallback
- type C_TypeValueTableValueCopyFieldCallback = Ptr GValue -> Ptr GValue -> IO ()
- type TypeValueTableValueCopyFieldCallback = GValue -> GValue -> IO ()
- dynamic_TypeValueTableValueCopyFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableValueCopyFieldCallback -> GValue -> GValue -> m ()
- genClosure_TypeValueTableValueCopyFieldCallback :: MonadIO m => TypeValueTableValueCopyFieldCallback -> m (GClosure C_TypeValueTableValueCopyFieldCallback)
- mk_TypeValueTableValueCopyFieldCallback :: C_TypeValueTableValueCopyFieldCallback -> IO (FunPtr C_TypeValueTableValueCopyFieldCallback)
- noTypeValueTableValueCopyFieldCallback :: Maybe TypeValueTableValueCopyFieldCallback
- wrap_TypeValueTableValueCopyFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableValueCopyFieldCallback)) -> TypeValueTableValueCopyFieldCallback -> C_TypeValueTableValueCopyFieldCallback
- type C_TypeValueTableValueFreeFieldCallback = Ptr GValue -> IO ()
- type TypeValueTableValueFreeFieldCallback = GValue -> IO ()
- dynamic_TypeValueTableValueFreeFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableValueFreeFieldCallback -> GValue -> m ()
- genClosure_TypeValueTableValueFreeFieldCallback :: MonadIO m => TypeValueTableValueFreeFieldCallback -> m (GClosure C_TypeValueTableValueFreeFieldCallback)
- mk_TypeValueTableValueFreeFieldCallback :: C_TypeValueTableValueFreeFieldCallback -> IO (FunPtr C_TypeValueTableValueFreeFieldCallback)
- noTypeValueTableValueFreeFieldCallback :: Maybe TypeValueTableValueFreeFieldCallback
- wrap_TypeValueTableValueFreeFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableValueFreeFieldCallback)) -> TypeValueTableValueFreeFieldCallback -> C_TypeValueTableValueFreeFieldCallback
- type C_TypeValueTableValueInitFieldCallback = Ptr GValue -> IO ()
- type TypeValueTableValueInitFieldCallback = GValue -> IO ()
- dynamic_TypeValueTableValueInitFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableValueInitFieldCallback -> GValue -> m ()
- genClosure_TypeValueTableValueInitFieldCallback :: MonadIO m => TypeValueTableValueInitFieldCallback -> m (GClosure C_TypeValueTableValueInitFieldCallback)
- mk_TypeValueTableValueInitFieldCallback :: C_TypeValueTableValueInitFieldCallback -> IO (FunPtr C_TypeValueTableValueInitFieldCallback)
- noTypeValueTableValueInitFieldCallback :: Maybe TypeValueTableValueInitFieldCallback
- wrap_TypeValueTableValueInitFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableValueInitFieldCallback)) -> TypeValueTableValueInitFieldCallback -> C_TypeValueTableValueInitFieldCallback
- type C_TypeValueTableValuePeekPointerFieldCallback = Ptr GValue -> IO (Ptr ())
- type TypeValueTableValuePeekPointerFieldCallback = GValue -> IO (Ptr ())
- dynamic_TypeValueTableValuePeekPointerFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableValuePeekPointerFieldCallback -> GValue -> m (Ptr ())
- genClosure_TypeValueTableValuePeekPointerFieldCallback :: MonadIO m => TypeValueTableValuePeekPointerFieldCallback -> m (GClosure C_TypeValueTableValuePeekPointerFieldCallback)
- mk_TypeValueTableValuePeekPointerFieldCallback :: C_TypeValueTableValuePeekPointerFieldCallback -> IO (FunPtr C_TypeValueTableValuePeekPointerFieldCallback)
- noTypeValueTableValuePeekPointerFieldCallback :: Maybe TypeValueTableValuePeekPointerFieldCallback
- wrap_TypeValueTableValuePeekPointerFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableValuePeekPointerFieldCallback)) -> TypeValueTableValuePeekPointerFieldCallback -> C_TypeValueTableValuePeekPointerFieldCallback
- type C_ValueTransform = Ptr GValue -> Ptr GValue -> IO ()
- type ValueTransform = GValue -> GValue -> IO ()
- dynamic_ValueTransform :: (HasCallStack, MonadIO m) => FunPtr C_ValueTransform -> GValue -> GValue -> m ()
- genClosure_ValueTransform :: MonadIO m => ValueTransform -> m (GClosure C_ValueTransform)
- mk_ValueTransform :: C_ValueTransform -> IO (FunPtr C_ValueTransform)
- noValueTransform :: Maybe ValueTransform
- wrap_ValueTransform :: Maybe (Ptr (FunPtr C_ValueTransform)) -> ValueTransform -> C_ValueTransform
- type C_WeakNotify = Ptr () -> Ptr Object -> IO ()
- type WeakNotify = Ptr () -> Object -> IO ()
- dynamic_WeakNotify :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_WeakNotify -> Ptr () -> a -> m ()
- genClosure_WeakNotify :: MonadIO m => WeakNotify -> m (GClosure C_WeakNotify)
- mk_WeakNotify :: C_WeakNotify -> IO (FunPtr C_WeakNotify)
- noWeakNotify :: Maybe WeakNotify
- wrap_WeakNotify :: Maybe (Ptr (FunPtr C_WeakNotify)) -> WeakNotify -> C_WeakNotify
Signals
BaseFinalizeFunc
type BaseFinalizeFunc Source #
A callback function used by the type system to finalize those portions
of a derived types class structure that were setup from the corresponding
GBaseInitFunc()
function. Class finalization basically works the inverse
way in which class initialization is performed.
See GClassInitFunc()
for a discussion of the class initialization process.
type C_BaseFinalizeFunc = Ptr TypeClass -> IO () Source #
Type for the callback on the (unwrapped) C side.
dynamic_BaseFinalizeFunc Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_BaseFinalizeFunc | |
-> TypeClass |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_BaseFinalizeFunc :: MonadIO m => BaseFinalizeFunc -> m (GClosure C_BaseFinalizeFunc) Source #
Wrap the callback into a GClosure
.
mk_BaseFinalizeFunc :: C_BaseFinalizeFunc -> IO (FunPtr C_BaseFinalizeFunc) Source #
Generate a function pointer callable from C code, from a C_BaseFinalizeFunc
.
noBaseFinalizeFunc :: Maybe BaseFinalizeFunc Source #
A convenience synonym for
.Nothing
:: Maybe
BaseFinalizeFunc
wrap_BaseFinalizeFunc :: Maybe (Ptr (FunPtr C_BaseFinalizeFunc)) -> BaseFinalizeFunc -> C_BaseFinalizeFunc Source #
Wrap a BaseFinalizeFunc
into a C_BaseFinalizeFunc
.
BaseInitFunc
type BaseInitFunc Source #
A callback function used by the type system to do base initialization
of the class structures of derived types. It is called as part of the
initialization process of all derived classes and should reallocate
or reset all dynamic class members copied over from the parent class.
For example, class members (such as strings) that are not sufficiently
handled by a plain memory copy of the parent class into the derived class
have to be altered. See GClassInitFunc()
for a discussion of the class
initialization process.
type C_BaseInitFunc = Ptr TypeClass -> IO () Source #
Type for the callback on the (unwrapped) C side.
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_BaseInitFunc | |
-> TypeClass |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_BaseInitFunc :: MonadIO m => BaseInitFunc -> m (GClosure C_BaseInitFunc) Source #
Wrap the callback into a GClosure
.
mk_BaseInitFunc :: C_BaseInitFunc -> IO (FunPtr C_BaseInitFunc) Source #
Generate a function pointer callable from C code, from a C_BaseInitFunc
.
noBaseInitFunc :: Maybe BaseInitFunc Source #
A convenience synonym for
.Nothing
:: Maybe
BaseInitFunc
wrap_BaseInitFunc :: Maybe (Ptr (FunPtr C_BaseInitFunc)) -> BaseInitFunc -> C_BaseInitFunc Source #
Wrap a BaseInitFunc
into a C_BaseInitFunc
.
BindingTransformFunc
type BindingTransformFunc Source #
= Binding |
|
-> GValue |
|
-> GValue |
|
-> IO Bool | Returns: |
A function to be called to transform fromValue
to toValue
. If
this is the transformTo
function of a binding, then fromValue
is the sourceProperty
on the source
object, and toValue
is the
targetProperty
on the target
object. If this is the
transformFrom
function of a BindingFlagsBidirectional
binding,
then those roles are reversed.
Since: 2.26
type BindingTransformFunc_WithClosures Source #
= Binding |
|
-> GValue |
|
-> GValue |
|
-> Ptr () |
|
-> IO Bool | Returns: |
A function to be called to transform fromValue
to toValue
. If
this is the transformTo
function of a binding, then fromValue
is the sourceProperty
on the source
object, and toValue
is the
targetProperty
on the target
object. If this is the
transformFrom
function of a BindingFlagsBidirectional
binding,
then those roles are reversed.
Since: 2.26
type C_BindingTransformFunc = Ptr Binding -> Ptr GValue -> Ptr GValue -> Ptr () -> IO CInt Source #
Type for the callback on the (unwrapped) C side.
drop_closures_BindingTransformFunc :: BindingTransformFunc -> BindingTransformFunc_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_BindingTransformFunc Source #
:: (HasCallStack, MonadIO m, IsBinding a) | |
=> FunPtr C_BindingTransformFunc | |
-> a |
|
-> GValue |
|
-> GValue |
|
-> Ptr () |
|
-> m Bool | Returns: |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_BindingTransformFunc :: MonadIO m => BindingTransformFunc -> m (GClosure C_BindingTransformFunc) Source #
Wrap the callback into a GClosure
.
mk_BindingTransformFunc :: C_BindingTransformFunc -> IO (FunPtr C_BindingTransformFunc) Source #
Generate a function pointer callable from C code, from a C_BindingTransformFunc
.
noBindingTransformFunc :: Maybe BindingTransformFunc Source #
A convenience synonym for
.Nothing
:: Maybe
BindingTransformFunc
noBindingTransformFunc_WithClosures :: Maybe BindingTransformFunc_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
BindingTransformFunc_WithClosures
wrap_BindingTransformFunc :: Maybe (Ptr (FunPtr C_BindingTransformFunc)) -> BindingTransformFunc_WithClosures -> C_BindingTransformFunc Source #
Wrap a BindingTransformFunc
into a C_BindingTransformFunc
.
BoxedCopyFunc
type BoxedCopyFunc Source #
= Ptr () |
|
-> IO (Ptr ()) | Returns: The newly created copy of the boxed structure. |
This function is provided by the user and should produce a copy of the passed in boxed structure.
type C_BoxedCopyFunc = Ptr () -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
dynamic_BoxedCopyFunc Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_BoxedCopyFunc | |
-> Ptr () |
|
-> m (Ptr ()) | Returns: The newly created copy of the boxed structure. |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_BoxedCopyFunc :: MonadIO m => BoxedCopyFunc -> m (GClosure C_BoxedCopyFunc) Source #
Wrap the callback into a GClosure
.
mk_BoxedCopyFunc :: C_BoxedCopyFunc -> IO (FunPtr C_BoxedCopyFunc) Source #
Generate a function pointer callable from C code, from a C_BoxedCopyFunc
.
noBoxedCopyFunc :: Maybe BoxedCopyFunc Source #
A convenience synonym for
.Nothing
:: Maybe
BoxedCopyFunc
wrap_BoxedCopyFunc :: Maybe (Ptr (FunPtr C_BoxedCopyFunc)) -> BoxedCopyFunc -> C_BoxedCopyFunc Source #
Wrap a BoxedCopyFunc
into a C_BoxedCopyFunc
.
BoxedFreeFunc
type BoxedFreeFunc Source #
This function is provided by the user and should free the boxed structure passed.
type C_BoxedFreeFunc = Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
dynamic_BoxedFreeFunc Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_BoxedFreeFunc | |
-> Ptr () |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_BoxedFreeFunc :: MonadIO m => BoxedFreeFunc -> m (GClosure C_BoxedFreeFunc) Source #
Wrap the callback into a GClosure
.
mk_BoxedFreeFunc :: C_BoxedFreeFunc -> IO (FunPtr C_BoxedFreeFunc) Source #
Generate a function pointer callable from C code, from a C_BoxedFreeFunc
.
noBoxedFreeFunc :: Maybe BoxedFreeFunc Source #
A convenience synonym for
.Nothing
:: Maybe
BoxedFreeFunc
wrap_BoxedFreeFunc :: Maybe (Ptr (FunPtr C_BoxedFreeFunc)) -> BoxedFreeFunc -> C_BoxedFreeFunc Source #
Wrap a BoxedFreeFunc
into a C_BoxedFreeFunc
.
Callback
type C_Callback = IO () Source #
Type for the callback on the (unwrapped) C side.
type Callback = IO () Source #
The type used for callback functions in structure definitions and function
signatures. This doesn't mean that all callback functions must take no
parameters and return void. The required signature of a callback function
is determined by the context in which is used (e.g. the signal to which it
is connected). Use G_CALLBACK()
to cast the callback function to a Callback
.
dynamic_Callback :: (HasCallStack, MonadIO m) => FunPtr C_Callback -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_Callback :: MonadIO m => Callback -> m (GClosure C_Callback) Source #
Wrap the callback into a GClosure
.
mk_Callback :: C_Callback -> IO (FunPtr C_Callback) Source #
Generate a function pointer callable from C code, from a C_Callback
.
wrap_Callback :: Maybe (Ptr (FunPtr C_Callback)) -> Callback -> C_Callback Source #
Wrap a Callback
into a C_Callback
.
ClassFinalizeFunc
type C_ClassFinalizeFunc = Ptr TypeClass -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ClassFinalizeFunc Source #
= TypeClass |
|
-> Ptr () |
|
-> IO () |
A callback function used by the type system to finalize a class.
This function is rarely needed, as dynamically allocated class resources
should be handled by GBaseInitFunc()
and GBaseFinalizeFunc()
.
Also, specification of a GClassFinalizeFunc()
in the TypeInfo
structure of a static type is invalid, because classes of static types
will never be finalized (they are artificially kept alive when their
reference count drops to zero).
dynamic_ClassFinalizeFunc Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_ClassFinalizeFunc | |
-> TypeClass |
|
-> Ptr () |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ClassFinalizeFunc :: MonadIO m => ClassFinalizeFunc -> m (GClosure C_ClassFinalizeFunc) Source #
Wrap the callback into a GClosure
.
mk_ClassFinalizeFunc :: C_ClassFinalizeFunc -> IO (FunPtr C_ClassFinalizeFunc) Source #
Generate a function pointer callable from C code, from a C_ClassFinalizeFunc
.
noClassFinalizeFunc :: Maybe ClassFinalizeFunc Source #
A convenience synonym for
.Nothing
:: Maybe
ClassFinalizeFunc
wrap_ClassFinalizeFunc :: Maybe (Ptr (FunPtr C_ClassFinalizeFunc)) -> ClassFinalizeFunc -> C_ClassFinalizeFunc Source #
Wrap a ClassFinalizeFunc
into a C_ClassFinalizeFunc
.
ClassInitFunc
type C_ClassInitFunc = Ptr TypeClass -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ClassInitFunc Source #
= TypeClass |
|
-> Ptr () |
|
-> IO () |
A callback function used by the type system to initialize the class of a specific type. This function should initialize all static class members.
The initialization process of a class involves:
- Copying common members from the parent class over to the derived class structure.
- Zero initialization of the remaining members not copied over from the parent class.
- Invocation of the
GBaseInitFunc()
initializers of all parent types and the class' type. - Invocation of the class'
GClassInitFunc()
initializer.
Since derived classes are partially initialized through a memory copy
of the parent class, the general rule is that GBaseInitFunc()
and
GBaseFinalizeFunc()
should take care of necessary reinitialization
and release of those class members that were introduced by the type
that specified these GBaseInitFunc()
/GBaseFinalizeFunc()
.
GClassInitFunc()
should only care about initializing static
class members, while dynamic class members (such as allocated strings
or reference counted resources) are better handled by a GBaseInitFunc()
for this type, so proper initialization of the dynamic class members
is performed for class initialization of derived types as well.
An example may help to correspond the intend of the different class initializers:
C code
typedef struct { GObjectClass parent_class; gint static_integer; gchar *dynamic_string; } TypeAClass; static void type_a_base_class_init (TypeAClass *class) { class->dynamic_string = g_strdup ("some string"); } static void type_a_base_class_finalize (TypeAClass *class) { g_free (class->dynamic_string); } static void type_a_class_init (TypeAClass *class) { class->static_integer = 42; } typedef struct { TypeAClass parent_class; gfloat static_float; GString *dynamic_gstring; } TypeBClass; static void type_b_base_class_init (TypeBClass *class) { class->dynamic_gstring = g_string_new ("some other string"); } static void type_b_base_class_finalize (TypeBClass *class) { g_string_free (class->dynamic_gstring); } static void type_b_class_init (TypeBClass *class) { class->static_float = 3.14159265358979323846; }
Initialization of TypeBClass will first cause initialization of
TypeAClass (derived classes reference their parent classes, see
typeClassRef
on this).
Initialization of TypeAClass roughly involves zero-initializing its fields,
then calling its GBaseInitFunc()
type_a_base_class_init()
to allocate
its dynamic members (dynamic_string), and finally calling its GClassInitFunc()
type_a_class_init()
to initialize its static members (static_integer).
The first step in the initialization process of TypeBClass is then
a plain memory copy of the contents of TypeAClass into TypeBClass and
zero-initialization of the remaining fields in TypeBClass.
The dynamic members of TypeAClass within TypeBClass now need
reinitialization which is performed by calling type_a_base_class_init()
with an argument of TypeBClass.
After that, the GBaseInitFunc()
of TypeBClass, type_b_base_class_init()
is called to allocate the dynamic members of TypeBClass (dynamic_gstring),
and finally the GClassInitFunc()
of TypeBClass, type_b_class_init()
,
is called to complete the initialization process with the static members
(static_float).
Corresponding finalization counter parts to the GBaseInitFunc()
functions
have to be provided to release allocated resources at class finalization
time.
dynamic_ClassInitFunc Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_ClassInitFunc | |
-> TypeClass |
|
-> Ptr () |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ClassInitFunc :: MonadIO m => ClassInitFunc -> m (GClosure C_ClassInitFunc) Source #
Wrap the callback into a GClosure
.
mk_ClassInitFunc :: C_ClassInitFunc -> IO (FunPtr C_ClassInitFunc) Source #
Generate a function pointer callable from C code, from a C_ClassInitFunc
.
noClassInitFunc :: Maybe ClassInitFunc Source #
A convenience synonym for
.Nothing
:: Maybe
ClassInitFunc
wrap_ClassInitFunc :: Maybe (Ptr (FunPtr C_ClassInitFunc)) -> ClassInitFunc -> C_ClassInitFunc Source #
Wrap a ClassInitFunc
into a C_ClassInitFunc
.
ClosureMarshal
type C_ClosureMarshal = Ptr (GClosure ()) -> Ptr GValue -> Word32 -> Ptr GValue -> Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ClosureMarshal Source #
= GClosure () |
|
-> Maybe GValue |
|
-> [GValue] |
|
-> Ptr () |
|
-> Ptr () |
|
-> IO () |
The type used for marshaller functions.
dynamic_ClosureMarshal Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_ClosureMarshal | |
-> GClosure a |
|
-> Maybe GValue |
|
-> [GValue] |
|
-> Ptr () |
|
-> Ptr () |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ClosureMarshal :: MonadIO m => ClosureMarshal -> m (GClosure C_ClosureMarshal) Source #
Wrap the callback into a GClosure
.
mk_ClosureMarshal :: C_ClosureMarshal -> IO (FunPtr C_ClosureMarshal) Source #
Generate a function pointer callable from C code, from a C_ClosureMarshal
.
noClosureMarshal :: Maybe ClosureMarshal Source #
A convenience synonym for
.Nothing
:: Maybe
ClosureMarshal
wrap_ClosureMarshal :: Maybe (Ptr (FunPtr C_ClosureMarshal)) -> ClosureMarshal -> C_ClosureMarshal Source #
Wrap a ClosureMarshal
into a C_ClosureMarshal
.
ClosureMarshalFieldCallback
type C_ClosureMarshalFieldCallback = Ptr (GClosure ()) -> Ptr GValue -> Word32 -> Ptr GValue -> Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ClosureMarshalFieldCallback = GClosure () -> GValue -> Word32 -> GValue -> Ptr () -> Ptr () -> IO () Source #
No description available in the introspection data.
dynamic_ClosureMarshalFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ClosureMarshalFieldCallback -> GClosure a -> GValue -> Word32 -> GValue -> Ptr () -> Ptr () -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ClosureMarshalFieldCallback :: MonadIO m => ClosureMarshalFieldCallback -> m (GClosure C_ClosureMarshalFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ClosureMarshalFieldCallback :: C_ClosureMarshalFieldCallback -> IO (FunPtr C_ClosureMarshalFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ClosureMarshalFieldCallback
.
noClosureMarshalFieldCallback :: Maybe ClosureMarshalFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ClosureMarshalFieldCallback
wrap_ClosureMarshalFieldCallback :: Maybe (Ptr (FunPtr C_ClosureMarshalFieldCallback)) -> ClosureMarshalFieldCallback -> C_ClosureMarshalFieldCallback Source #
Wrap a ClosureMarshalFieldCallback
into a C_ClosureMarshalFieldCallback
.
ClosureNotify
type C_ClosureNotify = Ptr () -> Ptr (GClosure ()) -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ClosureNotify Source #
= Ptr () |
|
-> GClosure () |
|
-> IO () |
The type used for the various notification callbacks which can be registered on closures.
dynamic_ClosureNotify Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_ClosureNotify | |
-> Ptr () |
|
-> GClosure a |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ClosureNotify :: MonadIO m => ClosureNotify -> m (GClosure C_ClosureNotify) Source #
Wrap the callback into a GClosure
.
mk_ClosureNotify :: C_ClosureNotify -> IO (FunPtr C_ClosureNotify) Source #
Generate a function pointer callable from C code, from a C_ClosureNotify
.
noClosureNotify :: Maybe ClosureNotify Source #
A convenience synonym for
.Nothing
:: Maybe
ClosureNotify
wrap_ClosureNotify :: Maybe (Ptr (FunPtr C_ClosureNotify)) -> ClosureNotify -> C_ClosureNotify Source #
Wrap a ClosureNotify
into a C_ClosureNotify
.
InitiallyUnownedClassConstructedFieldCallback
type C_InitiallyUnownedClassConstructedFieldCallback = Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type InitiallyUnownedClassConstructedFieldCallback = Object -> IO () Source #
No description available in the introspection data.
dynamic_InitiallyUnownedClassConstructedFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassConstructedFieldCallback -> a -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_InitiallyUnownedClassConstructedFieldCallback :: MonadIO m => InitiallyUnownedClassConstructedFieldCallback -> m (GClosure C_InitiallyUnownedClassConstructedFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_InitiallyUnownedClassConstructedFieldCallback :: C_InitiallyUnownedClassConstructedFieldCallback -> IO (FunPtr C_InitiallyUnownedClassConstructedFieldCallback) Source #
Generate a function pointer callable from C code, from a C_InitiallyUnownedClassConstructedFieldCallback
.
noInitiallyUnownedClassConstructedFieldCallback :: Maybe InitiallyUnownedClassConstructedFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
InitiallyUnownedClassConstructedFieldCallback
wrap_InitiallyUnownedClassConstructedFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassConstructedFieldCallback)) -> InitiallyUnownedClassConstructedFieldCallback -> C_InitiallyUnownedClassConstructedFieldCallback Source #
InitiallyUnownedClassDispatchPropertiesChangedFieldCallback
type C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback = Ptr Object -> Word32 -> Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type InitiallyUnownedClassDispatchPropertiesChangedFieldCallback = Object -> Word32 -> GParamSpec -> IO () Source #
No description available in the introspection data.
dynamic_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback -> a -> Word32 -> GParamSpec -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback :: MonadIO m => InitiallyUnownedClassDispatchPropertiesChangedFieldCallback -> m (GClosure C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback :: C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback -> IO (FunPtr C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback) Source #
Generate a function pointer callable from C code, from a C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback
.
noInitiallyUnownedClassDispatchPropertiesChangedFieldCallback :: Maybe InitiallyUnownedClassDispatchPropertiesChangedFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
InitiallyUnownedClassDispatchPropertiesChangedFieldCallback
wrap_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback)) -> InitiallyUnownedClassDispatchPropertiesChangedFieldCallback -> C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback Source #
InitiallyUnownedClassDisposeFieldCallback
type C_InitiallyUnownedClassDisposeFieldCallback = Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type InitiallyUnownedClassDisposeFieldCallback = Object -> IO () Source #
No description available in the introspection data.
dynamic_InitiallyUnownedClassDisposeFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassDisposeFieldCallback -> a -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_InitiallyUnownedClassDisposeFieldCallback :: MonadIO m => InitiallyUnownedClassDisposeFieldCallback -> m (GClosure C_InitiallyUnownedClassDisposeFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_InitiallyUnownedClassDisposeFieldCallback :: C_InitiallyUnownedClassDisposeFieldCallback -> IO (FunPtr C_InitiallyUnownedClassDisposeFieldCallback) Source #
Generate a function pointer callable from C code, from a C_InitiallyUnownedClassDisposeFieldCallback
.
noInitiallyUnownedClassDisposeFieldCallback :: Maybe InitiallyUnownedClassDisposeFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
InitiallyUnownedClassDisposeFieldCallback
wrap_InitiallyUnownedClassDisposeFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassDisposeFieldCallback)) -> InitiallyUnownedClassDisposeFieldCallback -> C_InitiallyUnownedClassDisposeFieldCallback Source #
InitiallyUnownedClassFinalizeFieldCallback
type C_InitiallyUnownedClassFinalizeFieldCallback = Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type InitiallyUnownedClassFinalizeFieldCallback = Object -> IO () Source #
No description available in the introspection data.
dynamic_InitiallyUnownedClassFinalizeFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassFinalizeFieldCallback -> a -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_InitiallyUnownedClassFinalizeFieldCallback :: MonadIO m => InitiallyUnownedClassFinalizeFieldCallback -> m (GClosure C_InitiallyUnownedClassFinalizeFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_InitiallyUnownedClassFinalizeFieldCallback :: C_InitiallyUnownedClassFinalizeFieldCallback -> IO (FunPtr C_InitiallyUnownedClassFinalizeFieldCallback) Source #
Generate a function pointer callable from C code, from a C_InitiallyUnownedClassFinalizeFieldCallback
.
noInitiallyUnownedClassFinalizeFieldCallback :: Maybe InitiallyUnownedClassFinalizeFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
InitiallyUnownedClassFinalizeFieldCallback
wrap_InitiallyUnownedClassFinalizeFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassFinalizeFieldCallback)) -> InitiallyUnownedClassFinalizeFieldCallback -> C_InitiallyUnownedClassFinalizeFieldCallback Source #
InitiallyUnownedClassGetPropertyFieldCallback
type C_InitiallyUnownedClassGetPropertyFieldCallback = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type InitiallyUnownedClassGetPropertyFieldCallback = Object -> Word32 -> GValue -> GParamSpec -> IO () Source #
No description available in the introspection data.
dynamic_InitiallyUnownedClassGetPropertyFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassGetPropertyFieldCallback -> a -> Word32 -> GValue -> GParamSpec -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_InitiallyUnownedClassGetPropertyFieldCallback :: MonadIO m => InitiallyUnownedClassGetPropertyFieldCallback -> m (GClosure C_InitiallyUnownedClassGetPropertyFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_InitiallyUnownedClassGetPropertyFieldCallback :: C_InitiallyUnownedClassGetPropertyFieldCallback -> IO (FunPtr C_InitiallyUnownedClassGetPropertyFieldCallback) Source #
Generate a function pointer callable from C code, from a C_InitiallyUnownedClassGetPropertyFieldCallback
.
noInitiallyUnownedClassGetPropertyFieldCallback :: Maybe InitiallyUnownedClassGetPropertyFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
InitiallyUnownedClassGetPropertyFieldCallback
wrap_InitiallyUnownedClassGetPropertyFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassGetPropertyFieldCallback)) -> InitiallyUnownedClassGetPropertyFieldCallback -> C_InitiallyUnownedClassGetPropertyFieldCallback Source #
InitiallyUnownedClassNotifyFieldCallback
type C_InitiallyUnownedClassNotifyFieldCallback = Ptr Object -> Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type InitiallyUnownedClassNotifyFieldCallback Source #
No description available in the introspection data.
dynamic_InitiallyUnownedClassNotifyFieldCallback Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> FunPtr C_InitiallyUnownedClassNotifyFieldCallback | |
-> a |
|
-> GParamSpec | |
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_InitiallyUnownedClassNotifyFieldCallback :: MonadIO m => InitiallyUnownedClassNotifyFieldCallback -> m (GClosure C_InitiallyUnownedClassNotifyFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_InitiallyUnownedClassNotifyFieldCallback :: C_InitiallyUnownedClassNotifyFieldCallback -> IO (FunPtr C_InitiallyUnownedClassNotifyFieldCallback) Source #
Generate a function pointer callable from C code, from a C_InitiallyUnownedClassNotifyFieldCallback
.
noInitiallyUnownedClassNotifyFieldCallback :: Maybe InitiallyUnownedClassNotifyFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
InitiallyUnownedClassNotifyFieldCallback
wrap_InitiallyUnownedClassNotifyFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassNotifyFieldCallback)) -> InitiallyUnownedClassNotifyFieldCallback -> C_InitiallyUnownedClassNotifyFieldCallback Source #
InitiallyUnownedClassSetPropertyFieldCallback
type C_InitiallyUnownedClassSetPropertyFieldCallback = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type InitiallyUnownedClassSetPropertyFieldCallback = Object -> Word32 -> GValue -> GParamSpec -> IO () Source #
No description available in the introspection data.
dynamic_InitiallyUnownedClassSetPropertyFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_InitiallyUnownedClassSetPropertyFieldCallback -> a -> Word32 -> GValue -> GParamSpec -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_InitiallyUnownedClassSetPropertyFieldCallback :: MonadIO m => InitiallyUnownedClassSetPropertyFieldCallback -> m (GClosure C_InitiallyUnownedClassSetPropertyFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_InitiallyUnownedClassSetPropertyFieldCallback :: C_InitiallyUnownedClassSetPropertyFieldCallback -> IO (FunPtr C_InitiallyUnownedClassSetPropertyFieldCallback) Source #
Generate a function pointer callable from C code, from a C_InitiallyUnownedClassSetPropertyFieldCallback
.
noInitiallyUnownedClassSetPropertyFieldCallback :: Maybe InitiallyUnownedClassSetPropertyFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
InitiallyUnownedClassSetPropertyFieldCallback
wrap_InitiallyUnownedClassSetPropertyFieldCallback :: Maybe (Ptr (FunPtr C_InitiallyUnownedClassSetPropertyFieldCallback)) -> InitiallyUnownedClassSetPropertyFieldCallback -> C_InitiallyUnownedClassSetPropertyFieldCallback Source #
InstanceInitFunc
type C_InstanceInitFunc = Ptr TypeInstance -> Ptr TypeClass -> IO () Source #
Type for the callback on the (unwrapped) C side.
type InstanceInitFunc Source #
= TypeInstance |
|
-> TypeClass |
|
-> IO () |
A callback function used by the type system to initialize a new instance of a type. This function initializes all instance members and allocates any resources required by it.
Initialization of a derived instance involves calling all its parent types instance initializers, so the class member of the instance is altered during its initialization to always point to the class that belongs to the type the current initializer was introduced for.
The extended members of instance
are guaranteed to have been filled with
zeros before this function is called.
dynamic_InstanceInitFunc Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_InstanceInitFunc | |
-> TypeInstance |
|
-> TypeClass |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_InstanceInitFunc :: MonadIO m => InstanceInitFunc -> m (GClosure C_InstanceInitFunc) Source #
Wrap the callback into a GClosure
.
mk_InstanceInitFunc :: C_InstanceInitFunc -> IO (FunPtr C_InstanceInitFunc) Source #
Generate a function pointer callable from C code, from a C_InstanceInitFunc
.
noInstanceInitFunc :: Maybe InstanceInitFunc Source #
A convenience synonym for
.Nothing
:: Maybe
InstanceInitFunc
wrap_InstanceInitFunc :: Maybe (Ptr (FunPtr C_InstanceInitFunc)) -> InstanceInitFunc -> C_InstanceInitFunc Source #
Wrap a InstanceInitFunc
into a C_InstanceInitFunc
.
InterfaceFinalizeFunc
type C_InterfaceFinalizeFunc = Ptr TypeInterface -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type InterfaceFinalizeFunc Source #
= TypeInterface |
|
-> Ptr () |
|
-> IO () |
A callback function used by the type system to finalize an interface.
This function should destroy any internal data and release any resources
allocated by the corresponding GInterfaceInitFunc()
function.
dynamic_InterfaceFinalizeFunc Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_InterfaceFinalizeFunc | |
-> TypeInterface |
|
-> Ptr () |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_InterfaceFinalizeFunc :: MonadIO m => InterfaceFinalizeFunc -> m (GClosure C_InterfaceFinalizeFunc) Source #
Wrap the callback into a GClosure
.
mk_InterfaceFinalizeFunc :: C_InterfaceFinalizeFunc -> IO (FunPtr C_InterfaceFinalizeFunc) Source #
Generate a function pointer callable from C code, from a C_InterfaceFinalizeFunc
.
noInterfaceFinalizeFunc :: Maybe InterfaceFinalizeFunc Source #
A convenience synonym for
.Nothing
:: Maybe
InterfaceFinalizeFunc
wrap_InterfaceFinalizeFunc :: Maybe (Ptr (FunPtr C_InterfaceFinalizeFunc)) -> InterfaceFinalizeFunc -> C_InterfaceFinalizeFunc Source #
Wrap a InterfaceFinalizeFunc
into a C_InterfaceFinalizeFunc
.
InterfaceInitFunc
type C_InterfaceInitFunc = Ptr TypeInterface -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type InterfaceInitFunc Source #
= TypeInterface |
|
-> Ptr () |
|
-> IO () |
A callback function used by the type system to initialize a new interface. This function should initialize all internal data and allocate any resources required by the interface.
The members of ifaceData
are guaranteed to have been filled with
zeros before this function is called.
dynamic_InterfaceInitFunc Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_InterfaceInitFunc | |
-> TypeInterface |
|
-> Ptr () |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_InterfaceInitFunc :: MonadIO m => InterfaceInitFunc -> m (GClosure C_InterfaceInitFunc) Source #
Wrap the callback into a GClosure
.
mk_InterfaceInitFunc :: C_InterfaceInitFunc -> IO (FunPtr C_InterfaceInitFunc) Source #
Generate a function pointer callable from C code, from a C_InterfaceInitFunc
.
noInterfaceInitFunc :: Maybe InterfaceInitFunc Source #
A convenience synonym for
.Nothing
:: Maybe
InterfaceInitFunc
wrap_InterfaceInitFunc :: Maybe (Ptr (FunPtr C_InterfaceInitFunc)) -> InterfaceInitFunc -> C_InterfaceInitFunc Source #
Wrap a InterfaceInitFunc
into a C_InterfaceInitFunc
.
ObjectClassConstructedFieldCallback
type C_ObjectClassConstructedFieldCallback = Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassConstructedFieldCallback = Object -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassConstructedFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassConstructedFieldCallback -> a -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassConstructedFieldCallback :: MonadIO m => ObjectClassConstructedFieldCallback -> m (GClosure C_ObjectClassConstructedFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassConstructedFieldCallback :: C_ObjectClassConstructedFieldCallback -> IO (FunPtr C_ObjectClassConstructedFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassConstructedFieldCallback
.
noObjectClassConstructedFieldCallback :: Maybe ObjectClassConstructedFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassConstructedFieldCallback
wrap_ObjectClassConstructedFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassConstructedFieldCallback)) -> ObjectClassConstructedFieldCallback -> C_ObjectClassConstructedFieldCallback Source #
ObjectClassDispatchPropertiesChangedFieldCallback
type C_ObjectClassDispatchPropertiesChangedFieldCallback = Ptr Object -> Word32 -> Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassDispatchPropertiesChangedFieldCallback = Object -> Word32 -> GParamSpec -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassDispatchPropertiesChangedFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassDispatchPropertiesChangedFieldCallback -> a -> Word32 -> GParamSpec -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassDispatchPropertiesChangedFieldCallback :: MonadIO m => ObjectClassDispatchPropertiesChangedFieldCallback -> m (GClosure C_ObjectClassDispatchPropertiesChangedFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassDispatchPropertiesChangedFieldCallback :: C_ObjectClassDispatchPropertiesChangedFieldCallback -> IO (FunPtr C_ObjectClassDispatchPropertiesChangedFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassDispatchPropertiesChangedFieldCallback
.
noObjectClassDispatchPropertiesChangedFieldCallback :: Maybe ObjectClassDispatchPropertiesChangedFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassDispatchPropertiesChangedFieldCallback
wrap_ObjectClassDispatchPropertiesChangedFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassDispatchPropertiesChangedFieldCallback)) -> ObjectClassDispatchPropertiesChangedFieldCallback -> C_ObjectClassDispatchPropertiesChangedFieldCallback Source #
ObjectClassDisposeFieldCallback
type C_ObjectClassDisposeFieldCallback = Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassDisposeFieldCallback = Object -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassDisposeFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassDisposeFieldCallback -> a -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassDisposeFieldCallback :: MonadIO m => ObjectClassDisposeFieldCallback -> m (GClosure C_ObjectClassDisposeFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassDisposeFieldCallback :: C_ObjectClassDisposeFieldCallback -> IO (FunPtr C_ObjectClassDisposeFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassDisposeFieldCallback
.
noObjectClassDisposeFieldCallback :: Maybe ObjectClassDisposeFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassDisposeFieldCallback
wrap_ObjectClassDisposeFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassDisposeFieldCallback)) -> ObjectClassDisposeFieldCallback -> C_ObjectClassDisposeFieldCallback Source #
Wrap a ObjectClassDisposeFieldCallback
into a C_ObjectClassDisposeFieldCallback
.
ObjectClassFinalizeFieldCallback
type C_ObjectClassFinalizeFieldCallback = Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassFinalizeFieldCallback = Object -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassFinalizeFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassFinalizeFieldCallback -> a -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassFinalizeFieldCallback :: MonadIO m => ObjectClassFinalizeFieldCallback -> m (GClosure C_ObjectClassFinalizeFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassFinalizeFieldCallback :: C_ObjectClassFinalizeFieldCallback -> IO (FunPtr C_ObjectClassFinalizeFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassFinalizeFieldCallback
.
noObjectClassFinalizeFieldCallback :: Maybe ObjectClassFinalizeFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassFinalizeFieldCallback
wrap_ObjectClassFinalizeFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassFinalizeFieldCallback)) -> ObjectClassFinalizeFieldCallback -> C_ObjectClassFinalizeFieldCallback Source #
ObjectClassGetPropertyFieldCallback
type C_ObjectClassGetPropertyFieldCallback = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassGetPropertyFieldCallback = Object -> Word32 -> GValue -> GParamSpec -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassGetPropertyFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassGetPropertyFieldCallback -> a -> Word32 -> GValue -> GParamSpec -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassGetPropertyFieldCallback :: MonadIO m => ObjectClassGetPropertyFieldCallback -> m (GClosure C_ObjectClassGetPropertyFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassGetPropertyFieldCallback :: C_ObjectClassGetPropertyFieldCallback -> IO (FunPtr C_ObjectClassGetPropertyFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassGetPropertyFieldCallback
.
noObjectClassGetPropertyFieldCallback :: Maybe ObjectClassGetPropertyFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassGetPropertyFieldCallback
wrap_ObjectClassGetPropertyFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassGetPropertyFieldCallback)) -> ObjectClassGetPropertyFieldCallback -> C_ObjectClassGetPropertyFieldCallback Source #
ObjectClassNotifyFieldCallback
type C_ObjectClassNotifyFieldCallback = Ptr Object -> Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassNotifyFieldCallback Source #
No description available in the introspection data.
dynamic_ObjectClassNotifyFieldCallback Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> FunPtr C_ObjectClassNotifyFieldCallback | |
-> a |
|
-> GParamSpec | |
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassNotifyFieldCallback :: MonadIO m => ObjectClassNotifyFieldCallback -> m (GClosure C_ObjectClassNotifyFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassNotifyFieldCallback :: C_ObjectClassNotifyFieldCallback -> IO (FunPtr C_ObjectClassNotifyFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassNotifyFieldCallback
.
noObjectClassNotifyFieldCallback :: Maybe ObjectClassNotifyFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassNotifyFieldCallback
wrap_ObjectClassNotifyFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassNotifyFieldCallback)) -> ObjectClassNotifyFieldCallback -> C_ObjectClassNotifyFieldCallback Source #
Wrap a ObjectClassNotifyFieldCallback
into a C_ObjectClassNotifyFieldCallback
.
ObjectClassSetPropertyFieldCallback
type C_ObjectClassSetPropertyFieldCallback = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectClassSetPropertyFieldCallback = Object -> Word32 -> GValue -> GParamSpec -> IO () Source #
No description available in the introspection data.
dynamic_ObjectClassSetPropertyFieldCallback :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ObjectClassSetPropertyFieldCallback -> a -> Word32 -> GValue -> GParamSpec -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectClassSetPropertyFieldCallback :: MonadIO m => ObjectClassSetPropertyFieldCallback -> m (GClosure C_ObjectClassSetPropertyFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectClassSetPropertyFieldCallback :: C_ObjectClassSetPropertyFieldCallback -> IO (FunPtr C_ObjectClassSetPropertyFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectClassSetPropertyFieldCallback
.
noObjectClassSetPropertyFieldCallback :: Maybe ObjectClassSetPropertyFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectClassSetPropertyFieldCallback
wrap_ObjectClassSetPropertyFieldCallback :: Maybe (Ptr (FunPtr C_ObjectClassSetPropertyFieldCallback)) -> ObjectClassSetPropertyFieldCallback -> C_ObjectClassSetPropertyFieldCallback Source #
ObjectFinalizeFunc
type C_ObjectFinalizeFunc = Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectFinalizeFunc Source #
The type of the finalize
function of ObjectClass
.
dynamic_ObjectFinalizeFunc Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> FunPtr C_ObjectFinalizeFunc | |
-> a |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectFinalizeFunc :: MonadIO m => ObjectFinalizeFunc -> m (GClosure C_ObjectFinalizeFunc) Source #
Wrap the callback into a GClosure
.
mk_ObjectFinalizeFunc :: C_ObjectFinalizeFunc -> IO (FunPtr C_ObjectFinalizeFunc) Source #
Generate a function pointer callable from C code, from a C_ObjectFinalizeFunc
.
noObjectFinalizeFunc :: Maybe ObjectFinalizeFunc Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectFinalizeFunc
wrap_ObjectFinalizeFunc :: Maybe (Ptr (FunPtr C_ObjectFinalizeFunc)) -> ObjectFinalizeFunc -> C_ObjectFinalizeFunc Source #
Wrap a ObjectFinalizeFunc
into a C_ObjectFinalizeFunc
.
ObjectGetPropertyFunc
type C_ObjectGetPropertyFunc = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectGetPropertyFunc Source #
= Object |
|
-> Word32 |
|
-> GValue |
|
-> GParamSpec |
|
-> IO () |
The type of the getProperty
function of ObjectClass
.
dynamic_ObjectGetPropertyFunc Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> FunPtr C_ObjectGetPropertyFunc | |
-> a |
|
-> Word32 |
|
-> GValue |
|
-> GParamSpec |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectGetPropertyFunc :: MonadIO m => ObjectGetPropertyFunc -> m (GClosure C_ObjectGetPropertyFunc) Source #
Wrap the callback into a GClosure
.
mk_ObjectGetPropertyFunc :: C_ObjectGetPropertyFunc -> IO (FunPtr C_ObjectGetPropertyFunc) Source #
Generate a function pointer callable from C code, from a C_ObjectGetPropertyFunc
.
noObjectGetPropertyFunc :: Maybe ObjectGetPropertyFunc Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectGetPropertyFunc
wrap_ObjectGetPropertyFunc :: Maybe (Ptr (FunPtr C_ObjectGetPropertyFunc)) -> ObjectGetPropertyFunc -> C_ObjectGetPropertyFunc Source #
Wrap a ObjectGetPropertyFunc
into a C_ObjectGetPropertyFunc
.
ObjectSetPropertyFunc
type C_ObjectSetPropertyFunc = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectSetPropertyFunc Source #
= Object |
|
-> Word32 |
|
-> GValue |
|
-> GParamSpec |
|
-> IO () |
The type of the setProperty
function of ObjectClass
.
dynamic_ObjectSetPropertyFunc Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> FunPtr C_ObjectSetPropertyFunc | |
-> a |
|
-> Word32 |
|
-> GValue |
|
-> GParamSpec |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ObjectSetPropertyFunc :: MonadIO m => ObjectSetPropertyFunc -> m (GClosure C_ObjectSetPropertyFunc) Source #
Wrap the callback into a GClosure
.
mk_ObjectSetPropertyFunc :: C_ObjectSetPropertyFunc -> IO (FunPtr C_ObjectSetPropertyFunc) Source #
Generate a function pointer callable from C code, from a C_ObjectSetPropertyFunc
.
noObjectSetPropertyFunc :: Maybe ObjectSetPropertyFunc Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectSetPropertyFunc
wrap_ObjectSetPropertyFunc :: Maybe (Ptr (FunPtr C_ObjectSetPropertyFunc)) -> ObjectSetPropertyFunc -> C_ObjectSetPropertyFunc Source #
Wrap a ObjectSetPropertyFunc
into a C_ObjectSetPropertyFunc
.
ParamSpecTypeInfoFinalizeFieldCallback
type C_ParamSpecTypeInfoFinalizeFieldCallback = Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ParamSpecTypeInfoFinalizeFieldCallback = GParamSpec -> IO () Source #
No description available in the introspection data.
dynamic_ParamSpecTypeInfoFinalizeFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ParamSpecTypeInfoFinalizeFieldCallback -> GParamSpec -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ParamSpecTypeInfoFinalizeFieldCallback :: MonadIO m => ParamSpecTypeInfoFinalizeFieldCallback -> m (GClosure C_ParamSpecTypeInfoFinalizeFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ParamSpecTypeInfoFinalizeFieldCallback :: C_ParamSpecTypeInfoFinalizeFieldCallback -> IO (FunPtr C_ParamSpecTypeInfoFinalizeFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ParamSpecTypeInfoFinalizeFieldCallback
.
noParamSpecTypeInfoFinalizeFieldCallback :: Maybe ParamSpecTypeInfoFinalizeFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ParamSpecTypeInfoFinalizeFieldCallback
wrap_ParamSpecTypeInfoFinalizeFieldCallback :: Maybe (Ptr (FunPtr C_ParamSpecTypeInfoFinalizeFieldCallback)) -> ParamSpecTypeInfoFinalizeFieldCallback -> C_ParamSpecTypeInfoFinalizeFieldCallback Source #
ParamSpecTypeInfoInstanceInitFieldCallback
type C_ParamSpecTypeInfoInstanceInitFieldCallback = Ptr GParamSpec -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ParamSpecTypeInfoInstanceInitFieldCallback = GParamSpec -> IO () Source #
No description available in the introspection data.
dynamic_ParamSpecTypeInfoInstanceInitFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ParamSpecTypeInfoInstanceInitFieldCallback -> GParamSpec -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ParamSpecTypeInfoInstanceInitFieldCallback :: MonadIO m => ParamSpecTypeInfoInstanceInitFieldCallback -> m (GClosure C_ParamSpecTypeInfoInstanceInitFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ParamSpecTypeInfoInstanceInitFieldCallback :: C_ParamSpecTypeInfoInstanceInitFieldCallback -> IO (FunPtr C_ParamSpecTypeInfoInstanceInitFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ParamSpecTypeInfoInstanceInitFieldCallback
.
noParamSpecTypeInfoInstanceInitFieldCallback :: Maybe ParamSpecTypeInfoInstanceInitFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ParamSpecTypeInfoInstanceInitFieldCallback
wrap_ParamSpecTypeInfoInstanceInitFieldCallback :: Maybe (Ptr (FunPtr C_ParamSpecTypeInfoInstanceInitFieldCallback)) -> ParamSpecTypeInfoInstanceInitFieldCallback -> C_ParamSpecTypeInfoInstanceInitFieldCallback Source #
ParamSpecTypeInfoValueSetDefaultFieldCallback
type C_ParamSpecTypeInfoValueSetDefaultFieldCallback = Ptr GParamSpec -> Ptr GValue -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ParamSpecTypeInfoValueSetDefaultFieldCallback = GParamSpec -> GValue -> IO () Source #
No description available in the introspection data.
dynamic_ParamSpecTypeInfoValueSetDefaultFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ParamSpecTypeInfoValueSetDefaultFieldCallback -> GParamSpec -> GValue -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ParamSpecTypeInfoValueSetDefaultFieldCallback :: MonadIO m => ParamSpecTypeInfoValueSetDefaultFieldCallback -> m (GClosure C_ParamSpecTypeInfoValueSetDefaultFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ParamSpecTypeInfoValueSetDefaultFieldCallback :: C_ParamSpecTypeInfoValueSetDefaultFieldCallback -> IO (FunPtr C_ParamSpecTypeInfoValueSetDefaultFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ParamSpecTypeInfoValueSetDefaultFieldCallback
.
noParamSpecTypeInfoValueSetDefaultFieldCallback :: Maybe ParamSpecTypeInfoValueSetDefaultFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ParamSpecTypeInfoValueSetDefaultFieldCallback
wrap_ParamSpecTypeInfoValueSetDefaultFieldCallback :: Maybe (Ptr (FunPtr C_ParamSpecTypeInfoValueSetDefaultFieldCallback)) -> ParamSpecTypeInfoValueSetDefaultFieldCallback -> C_ParamSpecTypeInfoValueSetDefaultFieldCallback Source #
ParamSpecTypeInfoValueValidateFieldCallback
type C_ParamSpecTypeInfoValueValidateFieldCallback = Ptr GParamSpec -> Ptr GValue -> IO CInt Source #
Type for the callback on the (unwrapped) C side.
type ParamSpecTypeInfoValueValidateFieldCallback = GParamSpec -> GValue -> IO Bool Source #
No description available in the introspection data.
dynamic_ParamSpecTypeInfoValueValidateFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ParamSpecTypeInfoValueValidateFieldCallback -> GParamSpec -> GValue -> m Bool Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ParamSpecTypeInfoValueValidateFieldCallback :: MonadIO m => ParamSpecTypeInfoValueValidateFieldCallback -> m (GClosure C_ParamSpecTypeInfoValueValidateFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ParamSpecTypeInfoValueValidateFieldCallback :: C_ParamSpecTypeInfoValueValidateFieldCallback -> IO (FunPtr C_ParamSpecTypeInfoValueValidateFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ParamSpecTypeInfoValueValidateFieldCallback
.
noParamSpecTypeInfoValueValidateFieldCallback :: Maybe ParamSpecTypeInfoValueValidateFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ParamSpecTypeInfoValueValidateFieldCallback
wrap_ParamSpecTypeInfoValueValidateFieldCallback :: Maybe (Ptr (FunPtr C_ParamSpecTypeInfoValueValidateFieldCallback)) -> ParamSpecTypeInfoValueValidateFieldCallback -> C_ParamSpecTypeInfoValueValidateFieldCallback Source #
ParamSpecTypeInfoValuesCmpFieldCallback
type C_ParamSpecTypeInfoValuesCmpFieldCallback = Ptr GParamSpec -> Ptr GValue -> Ptr GValue -> IO Int32 Source #
Type for the callback on the (unwrapped) C side.
type ParamSpecTypeInfoValuesCmpFieldCallback = GParamSpec -> GValue -> GValue -> IO Int32 Source #
No description available in the introspection data.
dynamic_ParamSpecTypeInfoValuesCmpFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_ParamSpecTypeInfoValuesCmpFieldCallback -> GParamSpec -> GValue -> GValue -> m Int32 Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ParamSpecTypeInfoValuesCmpFieldCallback :: MonadIO m => ParamSpecTypeInfoValuesCmpFieldCallback -> m (GClosure C_ParamSpecTypeInfoValuesCmpFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_ParamSpecTypeInfoValuesCmpFieldCallback :: C_ParamSpecTypeInfoValuesCmpFieldCallback -> IO (FunPtr C_ParamSpecTypeInfoValuesCmpFieldCallback) Source #
Generate a function pointer callable from C code, from a C_ParamSpecTypeInfoValuesCmpFieldCallback
.
noParamSpecTypeInfoValuesCmpFieldCallback :: Maybe ParamSpecTypeInfoValuesCmpFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ParamSpecTypeInfoValuesCmpFieldCallback
wrap_ParamSpecTypeInfoValuesCmpFieldCallback :: Maybe (Ptr (FunPtr C_ParamSpecTypeInfoValuesCmpFieldCallback)) -> ParamSpecTypeInfoValuesCmpFieldCallback -> C_ParamSpecTypeInfoValuesCmpFieldCallback Source #
SignalAccumulator
type C_SignalAccumulator = Ptr SignalInvocationHint -> Ptr GValue -> Ptr GValue -> Ptr () -> IO CInt Source #
Type for the callback on the (unwrapped) C side.
type SignalAccumulator Source #
= SignalInvocationHint |
|
-> GValue |
|
-> GValue |
|
-> Ptr () |
|
-> IO Bool | Returns: The accumulator function returns whether the signal emission
should be aborted. Returning |
The signal accumulator is a special callback function that can be used
to collect return values of the various callbacks that are called
during a signal emission. The signal accumulator is specified at signal
creation time, if it is left Nothing
, no accumulation of callback return
values is performed. The return value of signal emissions is then the
value returned by the last callback.
dynamic_SignalAccumulator Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_SignalAccumulator | |
-> SignalInvocationHint |
|
-> GValue |
|
-> GValue |
|
-> Ptr () |
|
-> m Bool | Returns: The accumulator function returns whether the signal emission
should be aborted. Returning |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_SignalAccumulator :: MonadIO m => SignalAccumulator -> m (GClosure C_SignalAccumulator) Source #
Wrap the callback into a GClosure
.
mk_SignalAccumulator :: C_SignalAccumulator -> IO (FunPtr C_SignalAccumulator) Source #
Generate a function pointer callable from C code, from a C_SignalAccumulator
.
noSignalAccumulator :: Maybe SignalAccumulator Source #
A convenience synonym for
.Nothing
:: Maybe
SignalAccumulator
wrap_SignalAccumulator :: Maybe (Ptr (FunPtr C_SignalAccumulator)) -> SignalAccumulator -> C_SignalAccumulator Source #
Wrap a SignalAccumulator
into a C_SignalAccumulator
.
SignalEmissionHook
type C_SignalEmissionHook = Ptr SignalInvocationHint -> Word32 -> Ptr GValue -> Ptr () -> IO CInt Source #
Type for the callback on the (unwrapped) C side.
type SignalEmissionHook Source #
= SignalInvocationHint |
|
-> [GValue] |
|
-> Ptr () |
|
-> IO Bool | Returns: whether it wants to stay connected. If it returns |
A simple function pointer to get invoked when the signal is emitted. This allows you to tie a hook to the signal type, so that it will trap all emissions of that signal, from any object.
You may not attach these to signals created with the G_SIGNAL_NO_HOOKS
flag.
dynamic_SignalEmissionHook Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_SignalEmissionHook | |
-> SignalInvocationHint |
|
-> [GValue] |
|
-> Ptr () |
|
-> m Bool | Returns: whether it wants to stay connected. If it returns |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_SignalEmissionHook :: MonadIO m => SignalEmissionHook -> m (GClosure C_SignalEmissionHook) Source #
Wrap the callback into a GClosure
.
mk_SignalEmissionHook :: C_SignalEmissionHook -> IO (FunPtr C_SignalEmissionHook) Source #
Generate a function pointer callable from C code, from a C_SignalEmissionHook
.
noSignalEmissionHook :: Maybe SignalEmissionHook Source #
A convenience synonym for
.Nothing
:: Maybe
SignalEmissionHook
wrap_SignalEmissionHook :: Maybe (Ptr (FunPtr C_SignalEmissionHook)) -> SignalEmissionHook -> C_SignalEmissionHook Source #
Wrap a SignalEmissionHook
into a C_SignalEmissionHook
.
ToggleNotify
type C_ToggleNotify = Ptr () -> Ptr Object -> CInt -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ToggleNotify Source #
= Ptr () |
|
-> Object |
|
-> Bool |
|
-> IO () |
A callback function used for notification when the state
of a toggle reference changes. See g_object_add_toggle_ref()
.
:: (HasCallStack, MonadIO m, IsObject a) | |
=> FunPtr C_ToggleNotify | |
-> Ptr () |
|
-> a |
|
-> Bool |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ToggleNotify :: MonadIO m => ToggleNotify -> m (GClosure C_ToggleNotify) Source #
Wrap the callback into a GClosure
.
mk_ToggleNotify :: C_ToggleNotify -> IO (FunPtr C_ToggleNotify) Source #
Generate a function pointer callable from C code, from a C_ToggleNotify
.
noToggleNotify :: Maybe ToggleNotify Source #
A convenience synonym for
.Nothing
:: Maybe
ToggleNotify
wrap_ToggleNotify :: Maybe (Ptr (FunPtr C_ToggleNotify)) -> ToggleNotify -> C_ToggleNotify Source #
Wrap a ToggleNotify
into a C_ToggleNotify
.
TypeClassCacheFunc
type C_TypeClassCacheFunc = Ptr () -> Ptr TypeClass -> IO CInt Source #
Type for the callback on the (unwrapped) C side.
type TypeClassCacheFunc Source #
= Ptr () |
|
-> TypeClass |
|
-> IO Bool | Returns: |
A callback function which is called when the reference count of a class
drops to zero. It may use typeClassRef
to prevent the class from
being freed. You should not call typeClassUnref
from a
TypeClassCacheFunc
function to prevent infinite recursion, use
g_type_class_unref_uncached()
instead.
The functions have to check the class id passed in to figure
whether they actually want to cache the class of this type, since all
classes are routed through the same TypeClassCacheFunc
chain.
dynamic_TypeClassCacheFunc Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_TypeClassCacheFunc | |
-> Ptr () |
|
-> TypeClass |
|
-> m Bool | Returns: |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypeClassCacheFunc :: MonadIO m => TypeClassCacheFunc -> m (GClosure C_TypeClassCacheFunc) Source #
Wrap the callback into a GClosure
.
mk_TypeClassCacheFunc :: C_TypeClassCacheFunc -> IO (FunPtr C_TypeClassCacheFunc) Source #
Generate a function pointer callable from C code, from a C_TypeClassCacheFunc
.
noTypeClassCacheFunc :: Maybe TypeClassCacheFunc Source #
A convenience synonym for
.Nothing
:: Maybe
TypeClassCacheFunc
wrap_TypeClassCacheFunc :: Maybe (Ptr (FunPtr C_TypeClassCacheFunc)) -> TypeClassCacheFunc -> C_TypeClassCacheFunc Source #
Wrap a TypeClassCacheFunc
into a C_TypeClassCacheFunc
.
TypeInterfaceCheckFunc
type C_TypeInterfaceCheckFunc = Ptr () -> Ptr TypeInterface -> IO () Source #
Type for the callback on the (unwrapped) C side.
type TypeInterfaceCheckFunc Source #
= Ptr () |
|
-> TypeInterface |
|
-> IO () |
A callback called after an interface vtable is initialized.
See g_type_add_interface_check()
.
Since: 2.4
dynamic_TypeInterfaceCheckFunc Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_TypeInterfaceCheckFunc | |
-> Ptr () |
|
-> TypeInterface |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypeInterfaceCheckFunc :: MonadIO m => TypeInterfaceCheckFunc -> m (GClosure C_TypeInterfaceCheckFunc) Source #
Wrap the callback into a GClosure
.
mk_TypeInterfaceCheckFunc :: C_TypeInterfaceCheckFunc -> IO (FunPtr C_TypeInterfaceCheckFunc) Source #
Generate a function pointer callable from C code, from a C_TypeInterfaceCheckFunc
.
noTypeInterfaceCheckFunc :: Maybe TypeInterfaceCheckFunc Source #
A convenience synonym for
.Nothing
:: Maybe
TypeInterfaceCheckFunc
wrap_TypeInterfaceCheckFunc :: Maybe (Ptr (FunPtr C_TypeInterfaceCheckFunc)) -> TypeInterfaceCheckFunc -> C_TypeInterfaceCheckFunc Source #
Wrap a TypeInterfaceCheckFunc
into a C_TypeInterfaceCheckFunc
.
TypePluginCompleteInterfaceInfo
type C_TypePluginCompleteInterfaceInfo = Ptr TypePlugin -> CGType -> CGType -> Ptr InterfaceInfo -> IO () Source #
Type for the callback on the (unwrapped) C side.
type TypePluginCompleteInterfaceInfo Source #
= TypePlugin |
|
-> GType |
|
-> GType |
|
-> InterfaceInfo |
|
-> IO () |
The type of the completeInterfaceInfo
function of GTypePluginClass
.
dynamic_TypePluginCompleteInterfaceInfo Source #
:: (HasCallStack, MonadIO m, IsTypePlugin a) | |
=> FunPtr C_TypePluginCompleteInterfaceInfo | |
-> a |
|
-> GType |
|
-> GType |
|
-> InterfaceInfo |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypePluginCompleteInterfaceInfo :: MonadIO m => TypePluginCompleteInterfaceInfo -> m (GClosure C_TypePluginCompleteInterfaceInfo) Source #
Wrap the callback into a GClosure
.
mk_TypePluginCompleteInterfaceInfo :: C_TypePluginCompleteInterfaceInfo -> IO (FunPtr C_TypePluginCompleteInterfaceInfo) Source #
Generate a function pointer callable from C code, from a C_TypePluginCompleteInterfaceInfo
.
noTypePluginCompleteInterfaceInfo :: Maybe TypePluginCompleteInterfaceInfo Source #
A convenience synonym for
.Nothing
:: Maybe
TypePluginCompleteInterfaceInfo
wrap_TypePluginCompleteInterfaceInfo :: Maybe (Ptr (FunPtr C_TypePluginCompleteInterfaceInfo)) -> TypePluginCompleteInterfaceInfo -> C_TypePluginCompleteInterfaceInfo Source #
Wrap a TypePluginCompleteInterfaceInfo
into a C_TypePluginCompleteInterfaceInfo
.
TypePluginCompleteTypeInfo
type C_TypePluginCompleteTypeInfo = Ptr TypePlugin -> CGType -> Ptr TypeInfo -> Ptr TypeValueTable -> IO () Source #
Type for the callback on the (unwrapped) C side.
type TypePluginCompleteTypeInfo Source #
= TypePlugin |
|
-> GType |
|
-> TypeInfo |
|
-> TypeValueTable |
|
-> IO () |
The type of the completeTypeInfo
function of GTypePluginClass
.
dynamic_TypePluginCompleteTypeInfo Source #
:: (HasCallStack, MonadIO m, IsTypePlugin a) | |
=> FunPtr C_TypePluginCompleteTypeInfo | |
-> a |
|
-> GType |
|
-> TypeInfo |
|
-> TypeValueTable |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypePluginCompleteTypeInfo :: MonadIO m => TypePluginCompleteTypeInfo -> m (GClosure C_TypePluginCompleteTypeInfo) Source #
Wrap the callback into a GClosure
.
mk_TypePluginCompleteTypeInfo :: C_TypePluginCompleteTypeInfo -> IO (FunPtr C_TypePluginCompleteTypeInfo) Source #
Generate a function pointer callable from C code, from a C_TypePluginCompleteTypeInfo
.
noTypePluginCompleteTypeInfo :: Maybe TypePluginCompleteTypeInfo Source #
A convenience synonym for
.Nothing
:: Maybe
TypePluginCompleteTypeInfo
wrap_TypePluginCompleteTypeInfo :: Maybe (Ptr (FunPtr C_TypePluginCompleteTypeInfo)) -> TypePluginCompleteTypeInfo -> C_TypePluginCompleteTypeInfo Source #
Wrap a TypePluginCompleteTypeInfo
into a C_TypePluginCompleteTypeInfo
.
TypePluginUnuse
type C_TypePluginUnuse = Ptr TypePlugin -> IO () Source #
Type for the callback on the (unwrapped) C side.
type TypePluginUnuse Source #
= TypePlugin |
|
-> IO () |
The type of the unusePlugin
function of GTypePluginClass
.
dynamic_TypePluginUnuse Source #
:: (HasCallStack, MonadIO m, IsTypePlugin a) | |
=> FunPtr C_TypePluginUnuse | |
-> a |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypePluginUnuse :: MonadIO m => TypePluginUnuse -> m (GClosure C_TypePluginUnuse) Source #
Wrap the callback into a GClosure
.
mk_TypePluginUnuse :: C_TypePluginUnuse -> IO (FunPtr C_TypePluginUnuse) Source #
Generate a function pointer callable from C code, from a C_TypePluginUnuse
.
noTypePluginUnuse :: Maybe TypePluginUnuse Source #
A convenience synonym for
.Nothing
:: Maybe
TypePluginUnuse
wrap_TypePluginUnuse :: Maybe (Ptr (FunPtr C_TypePluginUnuse)) -> TypePluginUnuse -> C_TypePluginUnuse Source #
Wrap a TypePluginUnuse
into a C_TypePluginUnuse
.
TypePluginUse
type C_TypePluginUse = Ptr TypePlugin -> IO () Source #
Type for the callback on the (unwrapped) C side.
type TypePluginUse Source #
= TypePlugin |
|
-> IO () |
The type of the usePlugin
function of GTypePluginClass
, which gets called
to increase the use count of plugin
.
dynamic_TypePluginUse Source #
:: (HasCallStack, MonadIO m, IsTypePlugin a) | |
=> FunPtr C_TypePluginUse | |
-> a |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypePluginUse :: MonadIO m => TypePluginUse -> m (GClosure C_TypePluginUse) Source #
Wrap the callback into a GClosure
.
mk_TypePluginUse :: C_TypePluginUse -> IO (FunPtr C_TypePluginUse) Source #
Generate a function pointer callable from C code, from a C_TypePluginUse
.
noTypePluginUse :: Maybe TypePluginUse Source #
A convenience synonym for
.Nothing
:: Maybe
TypePluginUse
wrap_TypePluginUse :: Maybe (Ptr (FunPtr C_TypePluginUse)) -> TypePluginUse -> C_TypePluginUse Source #
Wrap a TypePluginUse
into a C_TypePluginUse
.
TypeValueTableCollectValueFieldCallback
type C_TypeValueTableCollectValueFieldCallback = Ptr GValue -> Word32 -> Ptr TypeCValue -> Word32 -> IO CString Source #
Type for the callback on the (unwrapped) C side.
type TypeValueTableCollectValueFieldCallback = GValue -> Word32 -> TypeCValue -> Word32 -> IO Text Source #
No description available in the introspection data.
dynamic_TypeValueTableCollectValueFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableCollectValueFieldCallback -> GValue -> Word32 -> TypeCValue -> Word32 -> m Text Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypeValueTableCollectValueFieldCallback :: MonadIO m => TypeValueTableCollectValueFieldCallback -> m (GClosure C_TypeValueTableCollectValueFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_TypeValueTableCollectValueFieldCallback :: C_TypeValueTableCollectValueFieldCallback -> IO (FunPtr C_TypeValueTableCollectValueFieldCallback) Source #
Generate a function pointer callable from C code, from a C_TypeValueTableCollectValueFieldCallback
.
noTypeValueTableCollectValueFieldCallback :: Maybe TypeValueTableCollectValueFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
TypeValueTableCollectValueFieldCallback
wrap_TypeValueTableCollectValueFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableCollectValueFieldCallback)) -> TypeValueTableCollectValueFieldCallback -> C_TypeValueTableCollectValueFieldCallback Source #
TypeValueTableLcopyValueFieldCallback
type C_TypeValueTableLcopyValueFieldCallback = Ptr GValue -> Word32 -> Ptr TypeCValue -> Word32 -> IO CString Source #
Type for the callback on the (unwrapped) C side.
type TypeValueTableLcopyValueFieldCallback = GValue -> Word32 -> TypeCValue -> Word32 -> IO Text Source #
No description available in the introspection data.
dynamic_TypeValueTableLcopyValueFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableLcopyValueFieldCallback -> GValue -> Word32 -> TypeCValue -> Word32 -> m Text Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypeValueTableLcopyValueFieldCallback :: MonadIO m => TypeValueTableLcopyValueFieldCallback -> m (GClosure C_TypeValueTableLcopyValueFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_TypeValueTableLcopyValueFieldCallback :: C_TypeValueTableLcopyValueFieldCallback -> IO (FunPtr C_TypeValueTableLcopyValueFieldCallback) Source #
Generate a function pointer callable from C code, from a C_TypeValueTableLcopyValueFieldCallback
.
noTypeValueTableLcopyValueFieldCallback :: Maybe TypeValueTableLcopyValueFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
TypeValueTableLcopyValueFieldCallback
wrap_TypeValueTableLcopyValueFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableLcopyValueFieldCallback)) -> TypeValueTableLcopyValueFieldCallback -> C_TypeValueTableLcopyValueFieldCallback Source #
TypeValueTableValueCopyFieldCallback
type C_TypeValueTableValueCopyFieldCallback = Ptr GValue -> Ptr GValue -> IO () Source #
Type for the callback on the (unwrapped) C side.
type TypeValueTableValueCopyFieldCallback = GValue -> GValue -> IO () Source #
No description available in the introspection data.
dynamic_TypeValueTableValueCopyFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableValueCopyFieldCallback -> GValue -> GValue -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypeValueTableValueCopyFieldCallback :: MonadIO m => TypeValueTableValueCopyFieldCallback -> m (GClosure C_TypeValueTableValueCopyFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_TypeValueTableValueCopyFieldCallback :: C_TypeValueTableValueCopyFieldCallback -> IO (FunPtr C_TypeValueTableValueCopyFieldCallback) Source #
Generate a function pointer callable from C code, from a C_TypeValueTableValueCopyFieldCallback
.
noTypeValueTableValueCopyFieldCallback :: Maybe TypeValueTableValueCopyFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
TypeValueTableValueCopyFieldCallback
wrap_TypeValueTableValueCopyFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableValueCopyFieldCallback)) -> TypeValueTableValueCopyFieldCallback -> C_TypeValueTableValueCopyFieldCallback Source #
TypeValueTableValueFreeFieldCallback
type C_TypeValueTableValueFreeFieldCallback = Ptr GValue -> IO () Source #
Type for the callback on the (unwrapped) C side.
type TypeValueTableValueFreeFieldCallback = GValue -> IO () Source #
No description available in the introspection data.
dynamic_TypeValueTableValueFreeFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableValueFreeFieldCallback -> GValue -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypeValueTableValueFreeFieldCallback :: MonadIO m => TypeValueTableValueFreeFieldCallback -> m (GClosure C_TypeValueTableValueFreeFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_TypeValueTableValueFreeFieldCallback :: C_TypeValueTableValueFreeFieldCallback -> IO (FunPtr C_TypeValueTableValueFreeFieldCallback) Source #
Generate a function pointer callable from C code, from a C_TypeValueTableValueFreeFieldCallback
.
noTypeValueTableValueFreeFieldCallback :: Maybe TypeValueTableValueFreeFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
TypeValueTableValueFreeFieldCallback
wrap_TypeValueTableValueFreeFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableValueFreeFieldCallback)) -> TypeValueTableValueFreeFieldCallback -> C_TypeValueTableValueFreeFieldCallback Source #
TypeValueTableValueInitFieldCallback
type C_TypeValueTableValueInitFieldCallback = Ptr GValue -> IO () Source #
Type for the callback on the (unwrapped) C side.
type TypeValueTableValueInitFieldCallback = GValue -> IO () Source #
No description available in the introspection data.
dynamic_TypeValueTableValueInitFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableValueInitFieldCallback -> GValue -> m () Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypeValueTableValueInitFieldCallback :: MonadIO m => TypeValueTableValueInitFieldCallback -> m (GClosure C_TypeValueTableValueInitFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_TypeValueTableValueInitFieldCallback :: C_TypeValueTableValueInitFieldCallback -> IO (FunPtr C_TypeValueTableValueInitFieldCallback) Source #
Generate a function pointer callable from C code, from a C_TypeValueTableValueInitFieldCallback
.
noTypeValueTableValueInitFieldCallback :: Maybe TypeValueTableValueInitFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
TypeValueTableValueInitFieldCallback
wrap_TypeValueTableValueInitFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableValueInitFieldCallback)) -> TypeValueTableValueInitFieldCallback -> C_TypeValueTableValueInitFieldCallback Source #
TypeValueTableValuePeekPointerFieldCallback
type C_TypeValueTableValuePeekPointerFieldCallback = Ptr GValue -> IO (Ptr ()) Source #
Type for the callback on the (unwrapped) C side.
type TypeValueTableValuePeekPointerFieldCallback = GValue -> IO (Ptr ()) Source #
No description available in the introspection data.
dynamic_TypeValueTableValuePeekPointerFieldCallback :: (HasCallStack, MonadIO m) => FunPtr C_TypeValueTableValuePeekPointerFieldCallback -> GValue -> m (Ptr ()) Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_TypeValueTableValuePeekPointerFieldCallback :: MonadIO m => TypeValueTableValuePeekPointerFieldCallback -> m (GClosure C_TypeValueTableValuePeekPointerFieldCallback) Source #
Wrap the callback into a GClosure
.
mk_TypeValueTableValuePeekPointerFieldCallback :: C_TypeValueTableValuePeekPointerFieldCallback -> IO (FunPtr C_TypeValueTableValuePeekPointerFieldCallback) Source #
Generate a function pointer callable from C code, from a C_TypeValueTableValuePeekPointerFieldCallback
.
noTypeValueTableValuePeekPointerFieldCallback :: Maybe TypeValueTableValuePeekPointerFieldCallback Source #
A convenience synonym for
.Nothing
:: Maybe
TypeValueTableValuePeekPointerFieldCallback
wrap_TypeValueTableValuePeekPointerFieldCallback :: Maybe (Ptr (FunPtr C_TypeValueTableValuePeekPointerFieldCallback)) -> TypeValueTableValuePeekPointerFieldCallback -> C_TypeValueTableValuePeekPointerFieldCallback Source #
ValueTransform
type C_ValueTransform = Ptr GValue -> Ptr GValue -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ValueTransform Source #
= GValue |
|
-> GValue |
|
-> IO () |
The type of value transformation functions which can be registered with
g_value_register_transform_func()
.
destValue
will be initialized to the correct destination type.
dynamic_ValueTransform Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_ValueTransform | |
-> GValue |
|
-> GValue |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ValueTransform :: MonadIO m => ValueTransform -> m (GClosure C_ValueTransform) Source #
Wrap the callback into a GClosure
.
mk_ValueTransform :: C_ValueTransform -> IO (FunPtr C_ValueTransform) Source #
Generate a function pointer callable from C code, from a C_ValueTransform
.
noValueTransform :: Maybe ValueTransform Source #
A convenience synonym for
.Nothing
:: Maybe
ValueTransform
wrap_ValueTransform :: Maybe (Ptr (FunPtr C_ValueTransform)) -> ValueTransform -> C_ValueTransform Source #
Wrap a ValueTransform
into a C_ValueTransform
.
WeakNotify
type C_WeakNotify = Ptr () -> Ptr Object -> IO () Source #
Type for the callback on the (unwrapped) C side.
type WeakNotify Source #
= Ptr () |
|
-> Object |
|
-> IO () |
A WeakNotify
function can be added to an object as a callback that gets
triggered when the object is finalized. Since the object is already being
finalized when the WeakNotify
is called, there's not much you could do
with the object, apart from e.g. using its address as hash-index or the like.
:: (HasCallStack, MonadIO m, IsObject a) | |
=> FunPtr C_WeakNotify | |
-> Ptr () |
|
-> a |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_WeakNotify :: MonadIO m => WeakNotify -> m (GClosure C_WeakNotify) Source #
Wrap the callback into a GClosure
.
mk_WeakNotify :: C_WeakNotify -> IO (FunPtr C_WeakNotify) Source #
Generate a function pointer callable from C code, from a C_WeakNotify
.
noWeakNotify :: Maybe WeakNotify Source #
A convenience synonym for
.Nothing
:: Maybe
WeakNotify
wrap_WeakNotify :: Maybe (Ptr (FunPtr C_WeakNotify)) -> WeakNotify -> C_WeakNotify Source #
Wrap a WeakNotify
into a C_WeakNotify
.