ParamSpecStringProtocol

public protocol ParamSpecStringProtocol : ParamSpecProtocol

The ParamSpecStringProtocol protocol exposes the methods and properties of an underlying GParamSpecString 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 ParamSpecString. Alternatively, use ParamSpecStringRef 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 string properties.

  • ptr

    Untyped pointer to the underlying GParamSpecString instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GParamSpecString instance.

    Default Implementation

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

    Declaration

    Swift

    var param_spec_string_ptr: UnsafeMutablePointer<GParamSpecString>! { get }

ParamSpecString Class: ParamSpecStringProtocol extension (methods and fields)

  • parentInstance Extension method

    private GParamSpec portion

    Declaration

    Swift

    @inlinable
    var parentInstance: GParamSpec { get }
  • defaultValue Extension method

    default value for the property specified

    Declaration

    Swift

    @inlinable
    var defaultValue: UnsafeMutablePointer<gchar>! { get }
  • csetFirst Extension method

    a string containing the allowed values for the first byte

    Declaration

    Swift

    @inlinable
    var csetFirst: UnsafeMutablePointer<gchar>! { get }
  • csetNth Extension method

    a string containing the allowed values for the subsequent bytes

    Declaration

    Swift

    @inlinable
    var csetNth: UnsafeMutablePointer<gchar>! { get }
  • substitutor Extension method

    the replacement byte for bytes which don’t match cset_first or cset_nth.

    Declaration

    Swift

    @inlinable
    var substitutor: gchar { get }
  • nullFoldIfEmpty Extension method

    replace empty string by nil

    Declaration

    Swift

    @inlinable
    var nullFoldIfEmpty: guint { get }
  • ensureNonNull Extension method

    replace nil strings by an empty string

    Declaration

    Swift

    @inlinable
    var ensureNonNull: guint { get }