FrameClockPhase
public struct FrameClockPhase : OptionSet
Used to represent the different paint clock phases that can be requested.
The elements of the enumeration correspond to the signals of GdkFrameClock
.
-
The corresponding value of the raw type
Declaration
Swift
public var rawValue: UInt32
-
The equivalent raw Int value
Declaration
Swift
@inlinable public var intValue: Int { get set }
-
The equivalent raw
gint
valueDeclaration
Swift
@inlinable public var int: gint { get set }
-
The equivalent underlying
GdkFrameClockPhase
enum valueDeclaration
Swift
@inlinable public var value: GdkFrameClockPhase { get set }
-
Creates a new instance with the specified raw value
Declaration
Swift
@inlinable public init(rawValue: UInt32)
-
Creates a new instance with the specified
GdkFrameClockPhase
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: GdkFrameClockPhase)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
no phase
Declaration
Swift
public static let none: FrameClockPhase
-
corresponds to GdkFrameClock
flush-events
. Should not be handled by applications.Declaration
Swift
public static let flushEvents: FrameClockPhase
-
corresponds to GdkFrameClock
before-paint
. Should not be handled by applications.Declaration
Swift
public static let beforePaint: FrameClockPhase
-
corresponds to GdkFrameClock
update
.Declaration
Swift
public static let update: FrameClockPhase
-
corresponds to GdkFrameClock
layout
. Should not be handled by applicatiosn.Declaration
Swift
public static let layout: FrameClockPhase
-
corresponds to GdkFrameClock
paint
.Declaration
Swift
public static let paint: FrameClockPhase
-
corresponds to GdkFrameClock
resume-events
. Should not be handled by applications.Declaration
Swift
public static let resumeEvents: FrameClockPhase
-
corresponds to GdkFrameClock
after-paint
. Should not be handled by applications.Declaration
Swift
public static let afterPaint: FrameClockPhase