signalTypeCclosureNew

fngobject.closure.Closure signalTypeCclosureNew(gobject.types.GType itype, uint structOffset)

Creates a new closure which invokes the function found at the offset struct_offset in the class structure of the interface or classed type identified by itype.

Parameters

itypethe #GType identifier of an interface or classed type
structOffsetthe offset of the member function of itype's class structure which is to be invoked by the new closure

Returns

a floating reference to a new #GCClosure