PaintableFlags

public struct PaintableFlags : OptionSet

Flags about a paintable object.

Implementations use these for optimizations such as caching.

  • 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 GdkPaintableFlags enum value

    Declaration

    Swift

    @inlinable
    public var value: GdkPaintableFlags { 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 GdkPaintableFlags enum value

    Declaration

    Swift

    @inlinable
    public init(_ enumValue: GdkPaintableFlags)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • The size is immutable. The [signalGdkPaintable::invalidate-size] signal will never be emitted.

    Declaration

    Swift

    public static let size: PaintableFlags
  • The content is immutable. The [signalGdkPaintable::invalidate-contents] signal will never be emitted.

    Declaration

    Swift

    public static let contents: PaintableFlags