ParamSpecClassProtocol

public protocol ParamSpecClassProtocol

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

The class structure for the GParamSpec type. Normally, GParamSpec classes are filled by g_param_type_register_static().

  • ptr

    Untyped pointer to the underlying GParamSpecClass instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • _ptr Default implementation

    Typed pointer to the underlying GParamSpecClass instance.

    Default Implementation

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

    Declaration

    Swift

    var _ptr: UnsafeMutablePointer<GParamSpecClass>! { get }

ParamSpecClass Record: ParamSpecClassProtocol extension (methods and fields)

  • gTypeClass Extension method

    the parent class

    Declaration

    Swift

    @inlinable
    var gTypeClass: GTypeClass { get }
  • valueType Extension method

    the GValue type for this parameter

    Declaration

    Swift

    @inlinable
    var valueType: GType { get }