TimeCoordProtocol
public protocol TimeCoordProtocol
The TimeCoordProtocol protocol exposes the methods and properties of an underlying GdkTimeCoord 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 TimeCoord.
Alternatively, use TimeCoordRef as a lighweight, unowned reference if you already have an instance you just want to use.
A GdkTimeCoord stores a single event in a motion history.
-
Untyped pointer to the underlying
GdkTimeCoordinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
GdkTimeCoordinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GdkTimeCoordinstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GdkTimeCoord>! { get } -
Required Initialiser for types conforming to
TimeCoordProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
timeExtension methodThe timestamp for this event.
Declaration
Swift
@inlinable var time: guint32 { get set } -
flagsExtension methodFlags indicating what axes are present
Declaration
Swift
@inlinable var flags: AxisFlags { get set } -
axesExtension methodaxis values
Declaration
Swift
@inlinable var axes: (CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble) { get set }
View on GitHub
Install in Dash
TimeCoordProtocol Protocol Reference