Orientation

public extension Orientation
  • Cast constructor, converting any binary integer to a Orientation.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • The element is in horizontal orientation.

    Declaration

    Swift

    static let horizontal: GtkOrientation
  • The element is in vertical orientation.

    Declaration

    Swift

    static let vertical: GtkOrientation