Function

GObject-2.0GObjectsignal_type_cclosure_new

  • 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

    • itype: GType

      the GObject.GType identifier of an interface or classed type

    • struct_offset: number

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

    Returns Closure

    a floating reference to a new GObject.CClosure