ParamSpecEnumProtocol

public protocol ParamSpecEnumProtocol : ParamSpecProtocol

The ParamSpecEnumProtocol protocol exposes the methods and properties of an underlying GParamSpecEnum 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 ParamSpecEnum. Alternatively, use ParamSpecEnumRef 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 enum properties.

  • ptr

    Untyped pointer to the underlying GParamSpecEnum instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GParamSpecEnum instance.

    Default Implementation

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

    Declaration

    Swift

    var param_spec_enum_ptr: UnsafeMutablePointer<GParamSpecEnum>! { get }

ParamSpecEnum Class: ParamSpecEnumProtocol extension (methods and fields)