gi-gobject-2.0.10: GObject bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GObject.Callbacks

Contents

Description

 

Synopsis

Signals

BaseFinalizeFunc

BaseInitFunc

BindingTransformFunc

type BindingTransformFunc = Binding -> GValue -> GValue -> IO Bool Source #

type BindingTransformFunc_WithClosures = Binding -> GValue -> GValue -> Ptr () -> IO Bool Source #

type C_BindingTransformFunc = Ptr Binding -> Ptr GValue -> Ptr GValue -> Ptr () -> IO CInt Source #

BoxedCopyFunc

type BoxedCopyFunc = Ptr () -> IO (Ptr ()) Source #

type C_BoxedCopyFunc = Ptr () -> IO (Ptr ()) Source #

BoxedFreeFunc

type BoxedFreeFunc = Ptr () -> IO () Source #

type C_BoxedFreeFunc = Ptr () -> IO () Source #

Callback

type C_Callback = IO () Source #

type Callback = IO () Source #

ClassFinalizeFunc

ClassInitFunc

type ClassInitFunc = TypeClass -> Ptr () -> IO () Source #

ClosureMarshalFieldCallback

type C_ClosureMarshalFieldCallback = Ptr Closure -> Ptr GValue -> Word32 -> Ptr GValue -> Ptr () -> Ptr () -> IO () Source #

type ClosureMarshalFieldCallback = Closure -> GValue -> Word32 -> GValue -> Ptr () -> Ptr () -> IO () Source #

dynamic_ClosureMarshalFieldCallback :: MonadIO m => FunPtr C_ClosureMarshalFieldCallback -> Closure -> GValue -> Word32 -> GValue -> Ptr () -> Ptr () -> m () Source #

ClosureNotify

type C_ClosureNotify = Ptr () -> Ptr Closure -> IO () Source #

type ClosureNotify = Ptr () -> Closure -> IO () Source #

InstanceInitFunc

InterfaceFinalizeFunc

InterfaceInitFunc

ObjectFinalizeFunc

ObjectGetPropertyFunc

type C_ObjectGetPropertyFunc = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO () Source #

type ObjectGetPropertyFunc = Object -> Word32 -> GValue -> GParamSpec -> IO () Source #

dynamic_ObjectGetPropertyFunc :: (MonadIO m, IsObject a) => FunPtr C_ObjectGetPropertyFunc -> a -> Word32 -> GValue -> GParamSpec -> m () Source #

ObjectSetPropertyFunc

type C_ObjectSetPropertyFunc = Ptr Object -> Word32 -> Ptr GValue -> Ptr GParamSpec -> IO () Source #

type ObjectSetPropertyFunc = Object -> Word32 -> GValue -> GParamSpec -> IO () Source #

dynamic_ObjectSetPropertyFunc :: (MonadIO m, IsObject a) => FunPtr C_ObjectSetPropertyFunc -> a -> Word32 -> GValue -> GParamSpec -> m () Source #

ParamSpecTypeInfoFinalizeFieldCallback

ParamSpecTypeInfoInstanceInitFieldCallback

ParamSpecTypeInfoValueSetDefaultFieldCallback

type ParamSpecTypeInfoValueSetDefaultFieldCallback = GParamSpec -> GValue -> IO () Source #

ParamSpecTypeInfoValueValidateFieldCallback

ParamSpecTypeInfoValuesCmpFieldCallback

type C_ParamSpecTypeInfoValuesCmpFieldCallback = Ptr GParamSpec -> Ptr GValue -> Ptr GValue -> IO Int32 Source #

type ParamSpecTypeInfoValuesCmpFieldCallback = GParamSpec -> GValue -> GValue -> IO Int32 Source #

SignalAccumulator

type C_SignalAccumulator = Ptr SignalInvocationHint -> Ptr GValue -> Ptr GValue -> Ptr () -> IO CInt Source #

type SignalAccumulator = SignalInvocationHint -> GValue -> GValue -> Ptr () -> IO Bool Source #

SignalEmissionHook

ToggleNotify

type C_ToggleNotify = Ptr () -> Ptr Object -> CInt -> IO () Source #

type ToggleNotify = Ptr () -> Object -> Bool -> IO () Source #

TypeClassCacheFunc

TypeInterfaceCheckFunc

TypeValueTableCollectValueFieldCallback

TypeValueTableLcopyValueFieldCallback

TypeValueTableValueCopyFieldCallback

type TypeValueTableValueCopyFieldCallback = GValue -> GValue -> IO () Source #

TypeValueTableValueFreeFieldCallback

TypeValueTableValueInitFieldCallback

TypeValueTableValuePeekPointerFieldCallback

ValueTransform

type C_ValueTransform = Ptr GValue -> Ptr GValue -> IO () Source #

type ValueTransform = GValue -> GValue -> IO () Source #

dynamic_ValueTransform :: MonadIO m => FunPtr C_ValueTransform -> GValue -> GValue -> m () Source #

WeakNotify

type C_WeakNotify = Ptr () -> Ptr Object -> IO () Source #

type WeakNotify = Ptr () -> Object -> IO () Source #