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
GtkSettingsValueinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
GtkSettingsValueinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkSettingsValueinstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkSettingsValue>! { get } -
Required Initialiser for types conforming to
SettingsValueProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
originExtension 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 } -
valueExtension 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 }
View on GitHub
Install in Dash
SettingsValueProtocol Protocol Reference