ParamSpecGTypeProtocol

public protocol ParamSpecGTypeProtocol : ParamSpecProtocol

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

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.

  • 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 }
  • Required Initialiser for types conforming to ParamSpecGTypeProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

ParamSpecGType Class: ParamSpecGTypeProtocol extension (methods and fields)

  • parentInstance Extension method

    private GParamSpec portion

    Declaration

    Swift

    @inlinable
    var parentInstance: GParamSpec { get }
  • isAType Extension method

    a GType whose subtypes can occur as values

    Declaration

    Swift

    @inlinable
    var isAType: GType { get }