Signals.typeCclosureNew

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.

struct Signals
static
typeCclosureNew

Parameters

itype GType

the GType identifier of an interface or classed type

structOffset uint

the offset of the member function of itype's class structure which is to be invoked by the new closure

Return Value

Type: Closure

a floating reference to a new gobject.CClosure