InterfaceInfoProtocol

public protocol InterfaceInfoProtocol

The InterfaceInfoProtocol protocol exposes the methods and properties of an underlying GInterfaceInfo instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, see InterfaceInfo. Alternatively, use InterfaceInfoRef as a lighweight, unowned reference if you already have an instance you just want to use.

A structure that provides information to the type system which is used specifically for managing interface types.

  • ptr

    Untyped pointer to the underlying GInterfaceInfo instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer { get }
  • _ptr Default implementation

    Typed pointer to the underlying GInterfaceInfo instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GInterfaceInfo instance.

    Declaration

    Swift

    var _ptr: UnsafeMutablePointer<GInterfaceInfo> { get }

InterfaceInfo Record: InterfaceInfoProtocol extension (methods and fields)

  • Adds interface_type to the static instantiable_type. The information contained in the GInterfaceInfo structure pointed to by info is used to manage the relationship.

    Declaration

    Swift

    func typeAddInterfaceStatic(instanceType instance_type: GType, interfaceType interface_type: GType)
  • interfaceInit Extension method

    location of the interface initialization function

    Declaration

    Swift

    var interfaceInit: GInterfaceInitFunc { get set }
  • interfaceFinalize Extension method

    location of the interface finalization function

    Declaration

    Swift

    var interfaceFinalize: GInterfaceFinalizeFunc { get set }
  • interfaceData Extension method

    user-supplied data passed to the interface init/finalize functions

    Declaration

    Swift

    var interfaceData: UnsafeMutableRawPointer { get set }