ParamSpecStringProtocol
public protocol ParamSpecStringProtocol : ParamSpecProtocol
A GParamSpec
derived structure that contains the meta data for string
properties.
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.
-
Untyped pointer to the underlying
GParamSpecString
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
param_spec_string_ptr
Default implementationTyped 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 }
-
Required Initialiser for types conforming to
ParamSpecStringProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
parentInstance
Extension methodprivate
GParamSpec
portionDeclaration
Swift
@inlinable var parentInstance: GParamSpec { get }
-
defaultValue
Extension methoddefault value for the property specified
Declaration
Swift
@inlinable var defaultValue: UnsafeMutablePointer<gchar>! { get }
-
csetFirst
Extension methoda string containing the allowed values for the first byte
Declaration
Swift
@inlinable var csetFirst: UnsafeMutablePointer<gchar>! { get }
-
csetNth
Extension methoda string containing the allowed values for the subsequent bytes
Declaration
Swift
@inlinable var csetNth: UnsafeMutablePointer<gchar>! { get }
-
substitutor
Extension methodthe replacement byte for bytes which don’t match
cset_first
orcset_nth
.Declaration
Swift
@inlinable var substitutor: gchar { get }
-
nullFoldIfEmpty
Extension methodreplace empty string by
nil
Declaration
Swift
@inlinable var nullFoldIfEmpty: guint { get }
-
ensureNonNull
Extension methodreplace
nil
strings by an empty stringDeclaration
Swift
@inlinable var ensureNonNull: guint { get }