SnapshotProtocol
public protocol SnapshotProtocol : ObjectProtocol
The SnapshotProtocol protocol exposes the methods and properties of an underlying GdkSnapshot 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 Snapshot.
Alternatively, use SnapshotRef as a lighweight, unowned reference if you already have an instance you just want to use.
Base type for snapshot operations.
The subclass of GdkSnapshot used by GTK is [classGtk.Snapshot].
-
Untyped pointer to the underlying
GdkSnapshotinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
snapshot_ptrDefault implementationTyped pointer to the underlying
GdkSnapshotinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GdkSnapshotinstance.Declaration
Swift
var snapshot_ptr: UnsafeMutablePointer<GdkSnapshot>! { get } -
Required Initialiser for types conforming to
SnapshotProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
View on GitHub
Install in Dash
SnapshotProtocol Protocol Reference