public protocol ParamSpecOverrideProtocol : ParamSpecProtocol

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

This is a type of GParamSpec type that simply redirects operations to another paramspec. All operations other than getting or setting the value are redirected, including accessing the nick and blurb, validating a value, and so forth. See g_param_spec_get_redirect_target() for retrieving the overidden property. GParamSpecOverride is used in implementing g_object_class_override_property(), and will not be directly useful unless you are implementing a new base type similar to GObject.

  • ptr

    Untyped pointer to the underlying GParamSpecOverride instance.



    var ptr: UnsafeMutableRawPointer { get }
  • param_spec_override_ptr Default implementation

    Typed pointer to the underlying GParamSpecOverride instance.

    Default Implementation

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



    var param_spec_override_ptr: UnsafeMutablePointer<GParamSpecOverride> { get }