RegionFlags

public struct RegionFlags : OptionSet

Describes a region within a widget.

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • Region has an even number within a set.

    Declaration

    Swift

    public static let even: RegionFlags
  • odd

    Region has an odd number within a set.

    Declaration

    Swift

    public static let odd: RegionFlags
  • Region is the first one within a set.

    Declaration

    Swift

    public static let first: RegionFlags
  • Region is the last one within a set.

    Declaration

    Swift

    public static let last: RegionFlags
  • Region is the only one within a set.

    Declaration

    Swift

    public static let only: RegionFlags
  • Region is part of a sorted area.

    Declaration

    Swift

    public static let sorted: RegionFlags