ParamSpecGTypeProtocol

public protocol ParamSpecGTypeProtocol : ParamSpecProtocol

The ParamSpecGTypeProtocol protocol exposes the methods and properties of an underlying GParamSpecGType 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 ParamSpecGType. Alternatively, use ParamSpecGTypeRef as a lighweight, unowned reference if you already have an instance you just want to use.

A GParamSpec derived structure that contains the meta data for GType properties.

  • ptr

    Untyped pointer to the underlying GParamSpecGType instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer { get }
  • param_spec_gtype_ptr Default implementation

    Typed pointer to the underlying GParamSpecGType instance.

    Default Implementation

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

    Declaration

    Swift

    var param_spec_gtype_ptr: UnsafeMutablePointer<GParamSpecGType> { get }

ParamSpecGType Class: ParamSpecGTypeProtocol extension (methods and fields)

  • parentInstance Extension method

    private GParamSpec portion

    Declaration

    Swift

    var parentInstance: GParamSpec { get }
  • isAType Extension method

    a GType whose subtypes can occur as values

    Declaration

    Swift

    var isAType: GType { get }