FrameClockPhase

public struct FrameClockPhase : OptionSet

GdkFrameClockPhase is 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 }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying GdkFrameClockPhase enum value

    Declaration

    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 value

    Declaration

    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 GdkFrameClockflush-events. Should not be handled by applications.

    Declaration

    Swift

    public static let flushEvents: FrameClockPhase
  • corresponds to GdkFrameClockbefore-paint. Should not be handled by applications.

    Declaration

    Swift

    public static let beforePaint: FrameClockPhase
  • corresponds to GdkFrameClockupdate.

    Declaration

    Swift

    public static let update: FrameClockPhase
  • corresponds to GdkFrameClocklayout.

    Declaration

    Swift

    public static let layout: FrameClockPhase
  • corresponds to GdkFrameClockpaint.

    Declaration

    Swift

    public static let paint: FrameClockPhase
  • corresponds to GdkFrameClockresume-events. Should not be handled by applications.

    Declaration

    Swift

    public static let resumeEvents: FrameClockPhase
  • corresponds to GdkFrameClockafter-paint. Should not be handled by applications.

    Declaration

    Swift

    public static let afterPaint: FrameClockPhase