ParamSpecUIntProtocol

public protocol ParamSpecUIntProtocol : ParamSpecProtocol

The ParamSpecUIntProtocol protocol exposes the methods and properties of an underlying GParamSpecUInt 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 ParamSpecUInt. Alternatively, use ParamSpecUIntRef 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 unsigned integer properties.

  • ptr

    Untyped pointer to the underlying GParamSpecUInt instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer { get }
  • param_spec_uint_ptr Default implementation

    Typed pointer to the underlying GParamSpecUInt instance.

    Default Implementation

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

    Declaration

    Swift

    var param_spec_uint_ptr: UnsafeMutablePointer<GParamSpecUInt> { get }

ParamSpecUInt Class: ParamSpecUIntProtocol extension (methods and fields)

  • parentInstance Extension method

    private GParamSpec portion

    Declaration

    Swift

    var parentInstance: GParamSpec { get }
  • minimum Extension method

    minimum value for the property specified

    Declaration

    Swift

    var minimum: Int { get }
  • maximum Extension method

    maximum value for the property specified

    Declaration

    Swift

    var maximum: Int { get }
  • defaultValue Extension method

    default value for the property specified

    Declaration

    Swift

    var defaultValue: Int { get }