CClosure

A #GCClosure is a specialization of #GClosure for C function callbacks.

class CClosure {
GCClosure cInstance;
}

Members

Static functions

marshalBOOLEANBOXEDBOXED
void marshalBOOLEANBOXEDBOXED(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with handlers that take two boxed pointers as arguments and return a boolean. If you have such a signal, you will probably also need to use an accumulator, such as gobject.global.signalAccumulatorTrueHandled.

marshalBOOLEANFLAGS
void marshalBOOLEANFLAGS(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with handlers that take a flags type as an argument and return a boolean. If you have such a signal, you will probably also need to use an accumulator, such as gobject.global.signalAccumulatorTrueHandled.

marshalGeneric
void marshalGeneric(gobject.closure.Closure closure, gobject.value.Value returnGvalue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A generic marshaller function implemented via libffi.

marshalSTRINGOBJECTPOINTER
void marshalSTRINGOBJECTPOINTER(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with handlers that take a #GObject and a pointer and produce a string. It is highly unlikely that your signal handler fits this description.

marshalVOIDBOOLEAN
void marshalVOIDBOOLEAN(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single boolean argument.

marshalVOIDBOXED
void marshalVOIDBOXED(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single argument which is any boxed pointer type.

marshalVOIDCHAR
void marshalVOIDCHAR(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single character argument.

marshalVOIDDOUBLE
void marshalVOIDDOUBLE(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with one double-precision floating point argument.

marshalVOIDENUM
void marshalVOIDENUM(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single argument with an enumerated type.

marshalVOIDFLAGS
void marshalVOIDFLAGS(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single argument with a flags types.

marshalVOIDFLOAT
void marshalVOIDFLOAT(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with one single-precision floating point argument.

marshalVOIDINT
void marshalVOIDINT(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single integer argument.

marshalVOIDLONG
void marshalVOIDLONG(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with with a single long integer argument.

marshalVOIDOBJECT
void marshalVOIDOBJECT(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single #GObject argument.

marshalVOIDPARAM
void marshalVOIDPARAM(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single argument of type #GParamSpec.

marshalVOIDPOINTER
void marshalVOIDPOINTER(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single raw pointer argument type.

marshalVOIDSTRING
void marshalVOIDSTRING(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single string argument.

marshalVOIDUCHAR
void marshalVOIDUCHAR(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single unsigned character argument.

marshalVOIDUINT
void marshalVOIDUINT(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with with a single unsigned integer argument.

marshalVOIDUINTPOINTER
void marshalVOIDUINTPOINTER(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with an unsigned int and a pointer as arguments.

marshalVOIDULONG
void marshalVOIDULONG(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single unsigned long integer argument.

marshalVOIDVARIANT
void marshalVOIDVARIANT(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with a single #GVariant argument.

marshalVOIDVOID
void marshalVOIDVOID(gobject.closure.Closure closure, gobject.value.Value returnValue, uint nParamValues, gobject.value.Value paramValues, void* invocationHint, void* marshalData)

A #GClosureMarshal function for use with signals with no arguments.