SettingsValueProtocol
public protocol SettingsValueProtocol
The SettingsValueProtocol
protocol exposes the methods and properties of an underlying GtkSettingsValue
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 SettingsValue
.
Alternatively, use SettingsValueRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkSettingsValue
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
GtkSettingsValue
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkSettingsValue
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkSettingsValue>! { get }
-
Required Initialiser for types conforming to
SettingsValueProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
origin
Extension methodOrigin should be something like “filename:linenumber” for rc files, or e.g. “XProperty” for other sources.
Declaration
Swift
@inlinable var origin: UnsafeMutablePointer<gchar>! { get set }
-
value
Extension methodValid types are LONG, DOUBLE and STRING corresponding to the token parsed, or a GSTRING holding an unparsed statement
Declaration
Swift
@inlinable var value: GValue { get set }