gi-gobject 2.0.27 → 2.0.28
raw patch · 4 files changed
+13/−5 lines, 4 filesdep ~textsetup-changedPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: text
API changes (from Hackage documentation)
+ GI.GObject.Callbacks: drop_closures_ClosureMarshal :: ClosureMarshal -> ClosureMarshal_WithClosures
+ GI.GObject.Callbacks: drop_closures_SignalAccumulator :: SignalAccumulator -> SignalAccumulator_WithClosures
+ GI.GObject.Callbacks: drop_closures_SignalEmissionHook :: SignalEmissionHook -> SignalEmissionHook_WithClosures
+ GI.GObject.Callbacks: noClosureMarshal_WithClosures :: Maybe ClosureMarshal_WithClosures
+ GI.GObject.Callbacks: noSignalAccumulator_WithClosures :: Maybe SignalAccumulator_WithClosures
+ GI.GObject.Callbacks: noSignalEmissionHook_WithClosures :: Maybe SignalEmissionHook_WithClosures
+ GI.GObject.Callbacks: type ClosureMarshal_WithClosures = -- | /@closure@/: the t'GI.GObject.Structs.Closure.Closure' to which the marshaller belongs GClosure () -> -- | /@returnValue@/: a t'GI.GObject.Structs.Value.Value' to store the return -- value. May be 'P.Nothing' if the callback of /@closure@/ doesn\'t return a -- value. Maybe GValue -> -- | /@paramValues@/: an array of -- @/GValues/@ holding the arguments on which to invoke the -- callback of /@closure@/ [GValue] -> -- | /@invocationHint@/: the invocation hint given as the -- last argument to 'GI.GObject.Structs.Closure.closureInvoke' Ptr () -> -- | /@userData@/: additional data specified when -- registering the marshaller, see @/g_closure_set_marshal()/@ and -- @/g_closure_set_meta_marshal()/@ Ptr () -> IO ()
+ GI.GObject.Callbacks: type SignalAccumulator_WithClosures = -- | /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'. SignalInvocationHint -> -- | /@returnAccu@/: Accumulator to collect callback return values in, this -- is the return value of the current signal emission. GValue -> -- | /@handlerReturn@/: A t'GI.GObject.Structs.Value.Value' holding the return value of the signal handler. GValue -> -- | /@userData@/: Callback data that was specified when creating the signal. Ptr () -> -- | __Returns:__ The accumulator function returns whether the signal emission -- should be aborted. Returning 'P.True' will continue with -- the signal emission. Returning 'P.False' will abort the current emission. -- Since 2.62, returning 'P.False' will skip to the CLEANUP stage. In this case, -- emission will occur as normal in the CLEANUP stage and the handler\'s -- return value will be accumulated. IO Bool
+ GI.GObject.Callbacks: type SignalEmissionHook_WithClosures = -- | /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'. SignalInvocationHint -> -- | /@paramValues@/: the instance on which -- the signal was emitted, followed by the parameters of the emission. [GValue] -> -- | /@userData@/: user data associated with the hook. Ptr () -> -- | __Returns:__ whether it wants to stay connected. If it returns 'P.False', the signal -- hook is disconnected (and destroyed). IO Bool
+ GI.GObject.Flags: ConnectFlagsDefault :: ConnectFlags
+ GI.GObject.Flags: TypeFlagsNone :: TypeFlags
+ GI.GObject.Functions: paramValueIsValid :: (HasCallStack, MonadIO m) => GParamSpec -> GValue -> m Bool
+ GI.GObject.Objects.BindingGroup: BindingGroup :: ManagedPtr BindingGroup -> BindingGroup
+ GI.GObject.Objects.BindingGroup: bindingGroupBind :: (HasCallStack, MonadIO m, IsBindingGroup a, IsObject b) => a -> Text -> b -> Text -> [BindingFlags] -> m ()
+ GI.GObject.Objects.BindingGroup: bindingGroupBindFull :: (HasCallStack, MonadIO m, IsBindingGroup a, IsObject b) => a -> Text -> b -> Text -> [BindingFlags] -> Maybe (GClosure c) -> Maybe (GClosure d) -> m ()
+ GI.GObject.Objects.BindingGroup: bindingGroupDupSource :: (HasCallStack, MonadIO m, IsBindingGroup a) => a -> m (Maybe Object)
+ GI.GObject.Objects.BindingGroup: bindingGroupNew :: (HasCallStack, MonadIO m) => m BindingGroup
+ GI.GObject.Objects.BindingGroup: bindingGroupSetSource :: (HasCallStack, MonadIO m, IsBindingGroup a, IsObject b) => a -> Maybe b -> m ()
+ GI.GObject.Objects.BindingGroup: class (GObject o, IsDescendantOf BindingGroup o) => IsBindingGroup o
+ GI.GObject.Objects.BindingGroup: clearBindingGroupSource :: (MonadIO m, IsBindingGroup o) => o -> m ()
+ GI.GObject.Objects.BindingGroup: constructBindingGroupSource :: (IsBindingGroup o, MonadIO m, IsObject a) => a -> m (GValueConstruct o)
+ GI.GObject.Objects.BindingGroup: getBindingGroupSource :: (MonadIO m, IsBindingGroup o) => o -> m (Maybe Object)
+ GI.GObject.Objects.BindingGroup: instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GObject.Objects.BindingGroup.BindingGroup o) => GI.GObject.Objects.BindingGroup.IsBindingGroup o
+ GI.GObject.Objects.BindingGroup: instance Data.GI.Base.BasicTypes.GObject GI.GObject.Objects.BindingGroup.BindingGroup
+ GI.GObject.Objects.BindingGroup: instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GObject.Objects.BindingGroup.BindingGroup
+ GI.GObject.Objects.BindingGroup: instance Data.GI.Base.BasicTypes.TypedObject GI.GObject.Objects.BindingGroup.BindingGroup
+ GI.GObject.Objects.BindingGroup: instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GObject.Objects.BindingGroup.BindingGroup)
+ GI.GObject.Objects.BindingGroup: instance Data.GI.Base.Overloading.HasParentTypes GI.GObject.Objects.BindingGroup.BindingGroup
+ GI.GObject.Objects.BindingGroup: instance GHC.Classes.Eq GI.GObject.Objects.BindingGroup.BindingGroup
+ GI.GObject.Objects.BindingGroup: newtype BindingGroup
+ GI.GObject.Objects.BindingGroup: setBindingGroupSource :: (MonadIO m, IsBindingGroup o, IsObject a) => o -> a -> m ()
+ GI.GObject.Objects.BindingGroup: toBindingGroup :: (MonadIO m, IsBindingGroup o) => o -> m BindingGroup
+ GI.GObject.Objects.SignalGroup: SignalGroup :: ManagedPtr SignalGroup -> SignalGroup
+ GI.GObject.Objects.SignalGroup: afterSignalGroupBind :: (IsSignalGroup a, MonadIO m) => a -> ((?self :: a) => SignalGroupBindCallback) -> m SignalHandlerId
+ GI.GObject.Objects.SignalGroup: afterSignalGroupUnbind :: (IsSignalGroup a, MonadIO m) => a -> ((?self :: a) => SignalGroupUnbindCallback) -> m SignalHandlerId
+ GI.GObject.Objects.SignalGroup: class (GObject o, IsDescendantOf SignalGroup o) => IsSignalGroup o
+ GI.GObject.Objects.SignalGroup: clearSignalGroupTarget :: (MonadIO m, IsSignalGroup o) => o -> m ()
+ GI.GObject.Objects.SignalGroup: constructSignalGroupTarget :: (IsSignalGroup o, MonadIO m, IsObject a) => a -> m (GValueConstruct o)
+ GI.GObject.Objects.SignalGroup: constructSignalGroupTargetType :: (IsSignalGroup o, MonadIO m) => GType -> m (GValueConstruct o)
+ GI.GObject.Objects.SignalGroup: getSignalGroupTarget :: (MonadIO m, IsSignalGroup o) => o -> m (Maybe Object)
+ GI.GObject.Objects.SignalGroup: getSignalGroupTargetType :: (MonadIO m, IsSignalGroup o) => o -> m GType
+ GI.GObject.Objects.SignalGroup: instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GObject.Objects.SignalGroup.SignalGroup o) => GI.GObject.Objects.SignalGroup.IsSignalGroup o
+ GI.GObject.Objects.SignalGroup: instance Data.GI.Base.BasicTypes.GObject GI.GObject.Objects.SignalGroup.SignalGroup
+ GI.GObject.Objects.SignalGroup: instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GObject.Objects.SignalGroup.SignalGroup
+ GI.GObject.Objects.SignalGroup: instance Data.GI.Base.BasicTypes.TypedObject GI.GObject.Objects.SignalGroup.SignalGroup
+ GI.GObject.Objects.SignalGroup: instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GObject.Objects.SignalGroup.SignalGroup)
+ GI.GObject.Objects.SignalGroup: instance Data.GI.Base.Overloading.HasParentTypes GI.GObject.Objects.SignalGroup.SignalGroup
+ GI.GObject.Objects.SignalGroup: instance GHC.Classes.Eq GI.GObject.Objects.SignalGroup.SignalGroup
+ GI.GObject.Objects.SignalGroup: newtype SignalGroup
+ GI.GObject.Objects.SignalGroup: onSignalGroupBind :: (IsSignalGroup a, MonadIO m) => a -> ((?self :: a) => SignalGroupBindCallback) -> m SignalHandlerId
+ GI.GObject.Objects.SignalGroup: onSignalGroupUnbind :: (IsSignalGroup a, MonadIO m) => a -> ((?self :: a) => SignalGroupUnbindCallback) -> m SignalHandlerId
+ GI.GObject.Objects.SignalGroup: setSignalGroupTarget :: (MonadIO m, IsSignalGroup o, IsObject a) => o -> a -> m ()
+ GI.GObject.Objects.SignalGroup: signalGroupBlock :: (HasCallStack, MonadIO m, IsSignalGroup a) => a -> m ()
+ GI.GObject.Objects.SignalGroup: signalGroupConnectClosure :: (HasCallStack, MonadIO m, IsSignalGroup a) => a -> Text -> GClosure b -> Bool -> m ()
+ GI.GObject.Objects.SignalGroup: signalGroupConnectData :: (HasCallStack, MonadIO m, IsSignalGroup a) => a -> Text -> Callback -> [ConnectFlags] -> m ()
+ GI.GObject.Objects.SignalGroup: signalGroupConnectSwapped :: (HasCallStack, MonadIO m, IsSignalGroup a) => a -> Text -> Callback -> m ()
+ GI.GObject.Objects.SignalGroup: signalGroupDupTarget :: (HasCallStack, MonadIO m, IsSignalGroup a) => a -> m (Maybe Object)
+ GI.GObject.Objects.SignalGroup: signalGroupNew :: (HasCallStack, MonadIO m) => GType -> m SignalGroup
+ GI.GObject.Objects.SignalGroup: signalGroupSetTarget :: (HasCallStack, MonadIO m, IsSignalGroup a, IsObject b) => a -> Maybe b -> m ()
+ GI.GObject.Objects.SignalGroup: signalGroupUnblock :: (HasCallStack, MonadIO m, IsSignalGroup a) => a -> m ()
+ GI.GObject.Objects.SignalGroup: toSignalGroup :: (MonadIO m, IsSignalGroup o) => o -> m SignalGroup
+ GI.GObject.Objects.SignalGroup: type SignalGroupBindCallback = -- | /@instance@/: a t'GI.GObject.Objects.Object.Object' containing the new value for [SignalGroup:target]("GI.GObject.Objects.SignalGroup#g:attr:target") Object -> IO ()
+ GI.GObject.Objects.SignalGroup: type SignalGroupUnbindCallback = IO ()
- GI.GObject.Callbacks: type BaseFinalizeFunc = TypeClass " /@gClass@/: The t'GI.GObject.Structs.TypeClass.TypeClass' structure to finalize" -> IO ()
+ GI.GObject.Callbacks: type BaseFinalizeFunc = -- | /@gClass@/: The t'GI.GObject.Structs.TypeClass.TypeClass' structure to finalize TypeClass -> IO ()
- GI.GObject.Callbacks: type BaseInitFunc = TypeClass " /@gClass@/: The t'GI.GObject.Structs.TypeClass.TypeClass' structure to initialize" -> IO ()
+ GI.GObject.Callbacks: type BaseInitFunc = -- | /@gClass@/: The t'GI.GObject.Structs.TypeClass.TypeClass' structure to initialize TypeClass -> IO ()
- GI.GObject.Callbacks: type BindingTransformFunc = Binding " /@binding@/: a t'GI.GObject.Objects.Binding.Binding'" -> GValue " /@fromValue@/: the t'GI.GObject.Structs.Value.Value' containing the value to transform" -> GValue " /@toValue@/: the t'GI.GObject.Structs.Value.Value' in which to store the transformed value" -> IO Bool " __Returns:__ 'P.True' if the transformation was successful, and 'P.False' otherwise"
+ GI.GObject.Callbacks: type BindingTransformFunc = -- | /@binding@/: a t'GI.GObject.Objects.Binding.Binding' Binding -> -- | /@fromValue@/: the t'GI.GObject.Structs.Value.Value' containing the value to transform GValue -> -- | /@toValue@/: the t'GI.GObject.Structs.Value.Value' in which to store the transformed value GValue -> -- | __Returns:__ 'P.True' if the transformation was successful, and 'P.False' -- otherwise IO Bool
- GI.GObject.Callbacks: type BindingTransformFunc_WithClosures = Binding " /@binding@/: a t'GI.GObject.Objects.Binding.Binding'" -> GValue " /@fromValue@/: the t'GI.GObject.Structs.Value.Value' containing the value to transform" -> GValue " /@toValue@/: the t'GI.GObject.Structs.Value.Value' in which to store the transformed value" -> Ptr () " /@userData@/: data passed to the transform function" -> IO Bool " __Returns:__ 'P.True' if the transformation was successful, and 'P.False' otherwise"
+ GI.GObject.Callbacks: type BindingTransformFunc_WithClosures = -- | /@binding@/: a t'GI.GObject.Objects.Binding.Binding' Binding -> -- | /@fromValue@/: the t'GI.GObject.Structs.Value.Value' containing the value to transform GValue -> -- | /@toValue@/: the t'GI.GObject.Structs.Value.Value' in which to store the transformed value GValue -> -- | /@userData@/: data passed to the transform function Ptr () -> -- | __Returns:__ 'P.True' if the transformation was successful, and 'P.False' -- otherwise IO Bool
- GI.GObject.Callbacks: type BoxedCopyFunc = Ptr () " /@boxed@/: The boxed structure to be copied." -> IO (Ptr ()) " __Returns:__ The newly created copy of the boxed structure."
+ GI.GObject.Callbacks: type BoxedCopyFunc = -- | /@boxed@/: The boxed structure to be copied. Ptr () -> -- | __Returns:__ The newly created copy of the boxed structure. IO (Ptr ())
- GI.GObject.Callbacks: type BoxedFreeFunc = Ptr () " /@boxed@/: The boxed structure to be freed." -> IO ()
+ GI.GObject.Callbacks: type BoxedFreeFunc = -- | /@boxed@/: The boxed structure to be freed. Ptr () -> IO ()
- GI.GObject.Callbacks: type ClassFinalizeFunc = TypeClass " /@gClass@/: The t'GI.GObject.Structs.TypeClass.TypeClass' structure to finalize" -> Ptr () " /@classData@/: The /@classData@/ member supplied via the t'GI.GObject.Structs.TypeInfo.TypeInfo' structure" -> IO ()
+ GI.GObject.Callbacks: type ClassFinalizeFunc = -- | /@gClass@/: The t'GI.GObject.Structs.TypeClass.TypeClass' structure to finalize TypeClass -> -- | /@classData@/: The /@classData@/ member supplied via the t'GI.GObject.Structs.TypeInfo.TypeInfo' structure Ptr () -> IO ()
- GI.GObject.Callbacks: type ClassInitFunc = TypeClass " /@gClass@/: The t'GI.GObject.Structs.TypeClass.TypeClass' structure to initialize." -> Ptr () " /@classData@/: The /@classData@/ member supplied via the t'GI.GObject.Structs.TypeInfo.TypeInfo' structure." -> IO ()
+ GI.GObject.Callbacks: type ClassInitFunc = -- | /@gClass@/: The t'GI.GObject.Structs.TypeClass.TypeClass' structure to initialize. TypeClass -> -- | /@classData@/: The /@classData@/ member supplied via the t'GI.GObject.Structs.TypeInfo.TypeInfo' structure. Ptr () -> IO ()
- GI.GObject.Callbacks: type ClosureMarshal = GClosure () " /@closure@/: the t'GI.GObject.Structs.Closure.Closure' to which the marshaller belongs" -> Maybe GValue " /@returnValue@/: a t'GI.GObject.Structs.Value.Value' to store the return value. May be 'P.Nothing' if the callback of /@closure@/ doesn\'t return a value." -> [GValue] " /@paramValues@/: an array of @/GValues/@ holding the arguments on which to invoke the callback of /@closure@/" -> Ptr () " /@invocationHint@/: the invocation hint given as the last argument to 'GI.GObject.Structs.Closure.closureInvoke'" -> Ptr () " /@marshalData@/: additional data specified when registering the marshaller, see @/g_closure_set_marshal()/@ and @/g_closure_set_meta_marshal()/@" -> IO ()
+ GI.GObject.Callbacks: type ClosureMarshal = -- | /@closure@/: the t'GI.GObject.Structs.Closure.Closure' to which the marshaller belongs GClosure () -> -- | /@returnValue@/: a t'GI.GObject.Structs.Value.Value' to store the return -- value. May be 'P.Nothing' if the callback of /@closure@/ doesn\'t return a -- value. Maybe GValue -> -- | /@paramValues@/: an array of -- @/GValues/@ holding the arguments on which to invoke the -- callback of /@closure@/ [GValue] -> -- | /@invocationHint@/: the invocation hint given as the -- last argument to 'GI.GObject.Structs.Closure.closureInvoke' Ptr () -> IO ()
- GI.GObject.Callbacks: type ClosureNotify = Ptr () " /@data@/: data specified when registering the notification callback" -> GClosure () " /@closure@/: the t'GI.GObject.Structs.Closure.Closure' on which the notification is emitted" -> IO ()
+ GI.GObject.Callbacks: type ClosureNotify = -- | /@data@/: data specified when registering the notification callback Ptr () -> -- | /@closure@/: the t'GI.GObject.Structs.Closure.Closure' on which the notification is emitted GClosure () -> IO ()
- GI.GObject.Callbacks: type InitiallyUnownedClassNotifyFieldCallback = Object " /@object@/: a t'GI.GObject.Objects.Object.Object'" -> GParamSpec -> IO ()
+ GI.GObject.Callbacks: type InitiallyUnownedClassNotifyFieldCallback = -- | /@object@/: a t'GI.GObject.Objects.Object.Object' Object -> GParamSpec -> IO ()
- GI.GObject.Callbacks: type InstanceInitFunc = TypeInstance " /@instance@/: The instance to initialize" -> TypeClass " /@gClass@/: The class of the type the instance is created for" -> IO ()
+ GI.GObject.Callbacks: type InstanceInitFunc = -- | /@instance@/: The instance to initialize TypeInstance -> -- | /@gClass@/: The class of the type the instance is -- created for TypeClass -> IO ()
- GI.GObject.Callbacks: type InterfaceFinalizeFunc = TypeInterface " /@gIface@/: The interface structure to finalize" -> Ptr () " /@ifaceData@/: The /@interfaceData@/ supplied via the t'GI.GObject.Structs.InterfaceInfo.InterfaceInfo' structure" -> IO ()
+ GI.GObject.Callbacks: type InterfaceFinalizeFunc = -- | /@gIface@/: The interface structure to finalize TypeInterface -> -- | /@ifaceData@/: The /@interfaceData@/ supplied via the t'GI.GObject.Structs.InterfaceInfo.InterfaceInfo' structure Ptr () -> IO ()
- GI.GObject.Callbacks: type InterfaceInitFunc = TypeInterface " /@gIface@/: The interface structure to initialize" -> Ptr () " /@ifaceData@/: The /@interfaceData@/ supplied via the t'GI.GObject.Structs.InterfaceInfo.InterfaceInfo' structure" -> IO ()
+ GI.GObject.Callbacks: type InterfaceInitFunc = -- | /@gIface@/: The interface structure to initialize TypeInterface -> -- | /@ifaceData@/: The /@interfaceData@/ supplied via the t'GI.GObject.Structs.InterfaceInfo.InterfaceInfo' structure Ptr () -> IO ()
- GI.GObject.Callbacks: type ObjectClassNotifyFieldCallback = Object " /@object@/: a t'GI.GObject.Objects.Object.Object'" -> GParamSpec -> IO ()
+ GI.GObject.Callbacks: type ObjectClassNotifyFieldCallback = -- | /@object@/: a t'GI.GObject.Objects.Object.Object' Object -> GParamSpec -> IO ()
- GI.GObject.Callbacks: type ObjectFinalizeFunc = Object " /@object@/: the t'GI.GObject.Objects.Object.Object' being finalized" -> IO ()
+ GI.GObject.Callbacks: type ObjectFinalizeFunc = -- | /@object@/: the t'GI.GObject.Objects.Object.Object' being finalized Object -> IO ()
- GI.GObject.Callbacks: type ObjectGetPropertyFunc = Object " /@object@/: a t'GI.GObject.Objects.Object.Object'" -> Word32 " /@propertyId@/: the numeric id under which the property was registered with 'GI.GObject.Structs.ObjectClass.objectClassInstallProperty'." -> GValue " /@value@/: a t'GI.GObject.Structs.Value.Value' to return the property value in" -> GParamSpec " /@pspec@/: the t'GI.GObject.Objects.ParamSpec.ParamSpec' describing the property" -> IO ()
+ GI.GObject.Callbacks: type ObjectGetPropertyFunc = -- | /@object@/: a t'GI.GObject.Objects.Object.Object' Object -> -- | /@propertyId@/: the numeric id under which the property was registered with -- 'GI.GObject.Structs.ObjectClass.objectClassInstallProperty'. Word32 -> -- | /@value@/: a t'GI.GObject.Structs.Value.Value' to return the property value in GValue -> -- | /@pspec@/: the t'GI.GObject.Objects.ParamSpec.ParamSpec' describing the property GParamSpec -> IO ()
- GI.GObject.Callbacks: type ObjectSetPropertyFunc = Object " /@object@/: a t'GI.GObject.Objects.Object.Object'" -> Word32 " /@propertyId@/: the numeric id under which the property was registered with 'GI.GObject.Structs.ObjectClass.objectClassInstallProperty'." -> GValue " /@value@/: the new value for the property" -> GParamSpec " /@pspec@/: the t'GI.GObject.Objects.ParamSpec.ParamSpec' describing the property" -> IO ()
+ GI.GObject.Callbacks: type ObjectSetPropertyFunc = -- | /@object@/: a t'GI.GObject.Objects.Object.Object' Object -> -- | /@propertyId@/: the numeric id under which the property was registered with -- 'GI.GObject.Structs.ObjectClass.objectClassInstallProperty'. Word32 -> -- | /@value@/: the new value for the property GValue -> -- | /@pspec@/: the t'GI.GObject.Objects.ParamSpec.ParamSpec' describing the property GParamSpec -> IO ()
- GI.GObject.Callbacks: type SignalAccumulator = SignalInvocationHint " /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'." -> GValue " /@returnAccu@/: Accumulator to collect callback return values in, this is the return value of the current signal emission." -> GValue " /@handlerReturn@/: A t'GI.GObject.Structs.Value.Value' holding the return value of the signal handler." -> Ptr () " /@data@/: Callback data that was specified when creating the signal." -> IO Bool " __Returns:__ The accumulator function returns whether the signal emission should be aborted. Returning 'P.True' will continue with the signal emission. Returning 'P.False' will abort the current emission. Since 2.62, returning 'P.False' will skip to the CLEANUP stage. In this case, emission will occur as normal in the CLEANUP stage and the handler\'s return value will be accumulated."
+ GI.GObject.Callbacks: type SignalAccumulator = -- | /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'. SignalInvocationHint -> -- | /@returnAccu@/: Accumulator to collect callback return values in, this -- is the return value of the current signal emission. GValue -> -- | /@handlerReturn@/: A t'GI.GObject.Structs.Value.Value' holding the return value of the signal handler. GValue -> -- | __Returns:__ The accumulator function returns whether the signal emission -- should be aborted. Returning 'P.True' will continue with -- the signal emission. Returning 'P.False' will abort the current emission. -- Since 2.62, returning 'P.False' will skip to the CLEANUP stage. In this case, -- emission will occur as normal in the CLEANUP stage and the handler\'s -- return value will be accumulated. IO Bool
- GI.GObject.Callbacks: type SignalEmissionHook = SignalInvocationHint " /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'." -> [GValue] " /@paramValues@/: the instance on which the signal was emitted, followed by the parameters of the emission." -> Ptr () " /@data@/: user data associated with the hook." -> IO Bool " __Returns:__ whether it wants to stay connected. If it returns 'P.False', the signal hook is disconnected (and destroyed)."
+ GI.GObject.Callbacks: type SignalEmissionHook = -- | /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'. SignalInvocationHint -> -- | /@paramValues@/: the instance on which -- the signal was emitted, followed by the parameters of the emission. [GValue] -> -- | __Returns:__ whether it wants to stay connected. If it returns 'P.False', the signal -- hook is disconnected (and destroyed). IO Bool
- GI.GObject.Callbacks: type ToggleNotify = Ptr () " /@data@/: Callback data passed to @/g_object_add_toggle_ref()/@" -> Object " /@object@/: The object on which @/g_object_add_toggle_ref()/@ was called." -> Bool " /@isLastRef@/: 'P.True' if the toggle reference is now the last reference to the object. 'P.False' if the toggle reference was the last reference and there are now other references." -> IO ()
+ GI.GObject.Callbacks: type ToggleNotify = -- | /@data@/: Callback data passed to @/g_object_add_toggle_ref()/@ Ptr () -> -- | /@object@/: The object on which @/g_object_add_toggle_ref()/@ was called. Object -> -- | /@isLastRef@/: 'P.True' if the toggle reference is now the -- last reference to the object. 'P.False' if the toggle -- reference was the last reference and there are now other -- references. Bool -> IO ()
- GI.GObject.Callbacks: type TypeClassCacheFunc = Ptr () " /@cacheData@/: data that was given to the @/g_type_add_class_cache_func()/@ call" -> TypeClass " /@gClass@/: The t'GI.GObject.Structs.TypeClass.TypeClass' structure which is unreferenced" -> IO Bool " __Returns:__ 'P.True' to stop further @/GTypeClassCacheFuncs/@ from being called, 'P.False' to continue"
+ GI.GObject.Callbacks: type TypeClassCacheFunc = -- | /@cacheData@/: data that was given to the @/g_type_add_class_cache_func()/@ call Ptr () -> -- | /@gClass@/: The t'GI.GObject.Structs.TypeClass.TypeClass' structure which is -- unreferenced TypeClass -> -- | __Returns:__ 'P.True' to stop further @/GTypeClassCacheFuncs/@ from being -- called, 'P.False' to continue IO Bool
- GI.GObject.Callbacks: type TypeInterfaceCheckFunc = Ptr () " /@checkData@/: data passed to @/g_type_add_interface_check()/@" -> TypeInterface " /@gIface@/: the interface that has been initialized" -> IO ()
+ GI.GObject.Callbacks: type TypeInterfaceCheckFunc = -- | /@checkData@/: data passed to @/g_type_add_interface_check()/@ Ptr () -> -- | /@gIface@/: the interface that has been -- initialized TypeInterface -> IO ()
- GI.GObject.Callbacks: type TypePluginCompleteInterfaceInfo = TypePlugin " /@plugin@/: the t'GI.GObject.Interfaces.TypePlugin.TypePlugin'" -> GType " /@instanceType@/: the t'GType' of an instantiatable type to which the interface is added" -> GType " /@interfaceType@/: the t'GType' of the interface whose info is completed" -> InterfaceInfo " /@info@/: the t'GI.GObject.Structs.InterfaceInfo.InterfaceInfo' to fill in" -> IO ()
+ GI.GObject.Callbacks: type TypePluginCompleteInterfaceInfo = -- | /@plugin@/: the t'GI.GObject.Interfaces.TypePlugin.TypePlugin' TypePlugin -> -- | /@instanceType@/: the t'GType' of an instantiatable type to which the interface -- is added GType -> -- | /@interfaceType@/: the t'GType' of the interface whose info is completed GType -> -- | /@info@/: the t'GI.GObject.Structs.InterfaceInfo.InterfaceInfo' to fill in InterfaceInfo -> IO ()
- GI.GObject.Callbacks: type TypePluginCompleteTypeInfo = TypePlugin " /@plugin@/: the t'GI.GObject.Interfaces.TypePlugin.TypePlugin'" -> GType " /@gType@/: the t'GType' whose info is completed" -> TypeInfo " /@info@/: the t'GI.GObject.Structs.TypeInfo.TypeInfo' struct to fill in" -> TypeValueTable " /@valueTable@/: the t'GI.GObject.Structs.TypeValueTable.TypeValueTable' to fill in" -> IO ()
+ GI.GObject.Callbacks: type TypePluginCompleteTypeInfo = -- | /@plugin@/: the t'GI.GObject.Interfaces.TypePlugin.TypePlugin' TypePlugin -> -- | /@gType@/: the t'GType' whose info is completed GType -> -- | /@info@/: the t'GI.GObject.Structs.TypeInfo.TypeInfo' struct to fill in TypeInfo -> -- | /@valueTable@/: the t'GI.GObject.Structs.TypeValueTable.TypeValueTable' to fill in TypeValueTable -> IO ()
- GI.GObject.Callbacks: type TypePluginUnuse = TypePlugin " /@plugin@/: the t'GI.GObject.Interfaces.TypePlugin.TypePlugin' whose use count should be decreased" -> IO ()
+ GI.GObject.Callbacks: type TypePluginUnuse = -- | /@plugin@/: the t'GI.GObject.Interfaces.TypePlugin.TypePlugin' whose use count should be decreased TypePlugin -> IO ()
- GI.GObject.Callbacks: type TypePluginUse = TypePlugin " /@plugin@/: the t'GI.GObject.Interfaces.TypePlugin.TypePlugin' whose use count should be increased" -> IO ()
+ GI.GObject.Callbacks: type TypePluginUse = -- | /@plugin@/: the t'GI.GObject.Interfaces.TypePlugin.TypePlugin' whose use count should be increased TypePlugin -> IO ()
- GI.GObject.Callbacks: type ValueTransform = GValue " /@srcValue@/: Source value." -> GValue " /@destValue@/: Target value." -> IO ()
+ GI.GObject.Callbacks: type ValueTransform = -- | /@srcValue@/: Source value. GValue -> -- | /@destValue@/: Target value. GValue -> IO ()
- GI.GObject.Callbacks: type WeakNotify = Ptr () " /@data@/: data that was provided when the weak reference was established" -> Object " /@whereTheObjectWas@/: the object being disposed" -> IO ()
+ GI.GObject.Callbacks: type WeakNotify = -- | /@data@/: data that was provided when the weak reference was established Ptr () -> -- | /@whereTheObjectWas@/: the object being disposed Object -> IO ()
- GI.GObject.Callbacks: wrap_ClosureMarshal :: Maybe (Ptr (FunPtr C_ClosureMarshal)) -> ClosureMarshal -> C_ClosureMarshal
+ GI.GObject.Callbacks: wrap_ClosureMarshal :: Maybe (Ptr (FunPtr C_ClosureMarshal)) -> ClosureMarshal_WithClosures -> C_ClosureMarshal
- GI.GObject.Callbacks: wrap_SignalAccumulator :: Maybe (Ptr (FunPtr C_SignalAccumulator)) -> SignalAccumulator -> C_SignalAccumulator
+ GI.GObject.Callbacks: wrap_SignalAccumulator :: Maybe (Ptr (FunPtr C_SignalAccumulator)) -> SignalAccumulator_WithClosures -> C_SignalAccumulator
- GI.GObject.Callbacks: wrap_SignalEmissionHook :: Maybe (Ptr (FunPtr C_SignalEmissionHook)) -> SignalEmissionHook -> C_SignalEmissionHook
+ GI.GObject.Callbacks: wrap_SignalEmissionHook :: Maybe (Ptr (FunPtr C_SignalEmissionHook)) -> SignalEmissionHook_WithClosures -> C_SignalEmissionHook
- GI.GObject.Functions: paramSpecBoolean :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> Bool -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecBoolean :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> Bool -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecBoxed :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> GType -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecBoxed :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> GType -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecChar :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> Int8 -> Int8 -> Int8 -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecChar :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> Int8 -> Int8 -> Int8 -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecDouble :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> Double -> Double -> Double -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecDouble :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> Double -> Double -> Double -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecEnum :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> GType -> Int32 -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecEnum :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> GType -> Int32 -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecFlags :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> GType -> Word32 -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecFlags :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> GType -> Word32 -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecFloat :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> Float -> Float -> Float -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecFloat :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> Float -> Float -> Float -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecGtype :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> GType -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecGtype :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> GType -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecInt :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> Int32 -> Int32 -> Int32 -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecInt :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> Int32 -> Int32 -> Int32 -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecInt64 :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> Int64 -> Int64 -> Int64 -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecInt64 :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> Int64 -> Int64 -> Int64 -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecLong :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> CLong -> CLong -> CLong -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecLong :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> CLong -> CLong -> CLong -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecObject :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> GType -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecObject :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> GType -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecParam :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> GType -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecParam :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> GType -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecPointer :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecPointer :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecString :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> Maybe Text -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecString :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> Maybe Text -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecUchar :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> Word8 -> Word8 -> Word8 -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecUchar :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> Word8 -> Word8 -> Word8 -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecUint :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> Word32 -> Word32 -> Word32 -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecUint :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> Word32 -> Word32 -> Word32 -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecUint64 :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> Word64 -> Word64 -> Word64 -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecUint64 :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> Word64 -> Word64 -> Word64 -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecUlong :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> CULong -> CULong -> CULong -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecUlong :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> CULong -> CULong -> CULong -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecUnichar :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> Char -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecUnichar :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> Char -> [ParamFlags] -> m GParamSpec
- GI.GObject.Functions: paramSpecVariant :: (HasCallStack, MonadIO m) => Text -> Text -> Text -> VariantType -> Maybe GVariant -> [ParamFlags] -> m GParamSpec
+ GI.GObject.Functions: paramSpecVariant :: (HasCallStack, MonadIO m) => Text -> Maybe Text -> Maybe Text -> VariantType -> Maybe GVariant -> [ParamFlags] -> m GParamSpec
- GI.GObject.Objects.Object: type ObjectNotifyCallback = GParamSpec " /@pspec@/: the t'GI.GObject.Objects.ParamSpec.ParamSpec' of the property which changed." -> IO ()
+ GI.GObject.Objects.Object: type ObjectNotifyCallback = -- | /@pspec@/: the t'GI.GObject.Objects.ParamSpec.ParamSpec' of the property which changed. GParamSpec -> IO ()
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +1/−1
- gi-gobject.cabal +7/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+### 2.0.28+++ Relax constraint on text+ ### 2.0.27 + Update to haskell-gi(-base)-0.26
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-gobject-2.0.27/docs/GI-GObject.html](https://hackage.haskell.org/package/gi-gobject-2.0.27/docs/GI-GObject.html)+[https://hackage.haskell.org/package/gi-gobject-2.0.28/docs/GI-GObject.html](https://hackage.haskell.org/package/gi-gobject-2.0.28/docs/GI-GObject.html) For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -10,7 +10,7 @@ where name = "GObject" version = "2.0" pkgName = "gi-gobject"- pkgVersion = "2.0.27"+ pkgVersion = "2.0.28" overridesFile = Just "GObject.overrides" verbose = False outputDir = Nothing
gi-gobject.cabal view
@@ -1,5 +1,5 @@ name: gi-gobject-version: 2.0.27+version: 2.0.28 synopsis: GObject bindings description: Bindings for GObject, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -21,7 +21,7 @@ library default-language: Haskell2010- default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses+ default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses, TypeOperators other-extensions: PatternSynonyms, ViewPatterns, TypeApplications ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations @@ -33,7 +33,7 @@ gi-glib == 2.0.*, bytestring >= 0.10 && < 1, containers >= 0.5 && < 1,- text >= 1.0 && < 2,+ text >= 1.0 && < 3, transformers >= 0.4 && < 1 -- Disable overloading when compiling under GHC 8.2.x@@ -57,6 +57,7 @@ GI.GObject.Interfaces.TypePlugin, GI.GObject.Objects, GI.GObject.Objects.Binding,+ GI.GObject.Objects.BindingGroup, GI.GObject.Objects.InitiallyUnowned, GI.GObject.Objects.Object, GI.GObject.Objects.ParamSpec,@@ -83,6 +84,7 @@ GI.GObject.Objects.ParamSpecUnichar, GI.GObject.Objects.ParamSpecValueArray, GI.GObject.Objects.ParamSpecVariant,+ GI.GObject.Objects.SignalGroup, GI.GObject.Objects.TypeModule, GI.GObject.Structs, GI.GObject.Structs.CClosure,@@ -123,6 +125,7 @@ GI.GObject.Interfaces.TypePlugin, GI.GObject.Objects, GI.GObject.Objects.Binding,+ GI.GObject.Objects.BindingGroup, GI.GObject.Objects.InitiallyUnowned, GI.GObject.Objects.Object, GI.GObject.Objects.ParamSpec,@@ -149,6 +152,7 @@ GI.GObject.Objects.ParamSpecUnichar, GI.GObject.Objects.ParamSpecValueArray, GI.GObject.Objects.ParamSpecVariant,+ GI.GObject.Objects.SignalGroup, GI.GObject.Objects.TypeModule, GI.GObject.Structs, GI.GObject.Structs.CClosure,