Function
GObjectsignal_type_cclosure_new
since: 2.0
Description
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.
Available since: 2.0
Parameters
itype-
Type:
GTypeThe
GTypeidentifier of an interface or classed type. struct_offset-
Type:
guintThe offset of the member function of
itype‘s class structure which is to be invoked by the new closure.
Return value
Type: GClosure
A floating reference to a new GCClosure.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |