ParamSpecFlagsProtocol

public protocol ParamSpecFlagsProtocol : ParamSpecProtocol

The ParamSpecFlagsProtocol protocol exposes the methods and properties of an underlying GParamSpecFlags 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 ParamSpecFlags. Alternatively, use ParamSpecFlagsRef 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 flags properties.

  • ptr

    Untyped pointer to the underlying GParamSpecFlags instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer { get }
  • param_spec_flags_ptr Default implementation

    Typed pointer to the underlying GParamSpecFlags instance.

    Default Implementation

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

    Declaration

    Swift

    var param_spec_flags_ptr: UnsafeMutablePointer<GParamSpecFlags> { get }

ParamSpecFlags Class: ParamSpecFlagsProtocol extension (methods and fields)

  • parentInstance Extension method

    private GParamSpec portion

    Declaration

    Swift

    var parentInstance: GParamSpec { get }
  • flagsClass Extension method

    the GFlagsClass for the flags

    Declaration

    Swift

    var flagsClass: UnsafeMutablePointer<GFlagsClass> { get }
  • defaultValue Extension method

    default value for the property specified

    Declaration

    Swift

    var defaultValue: Int { get }