PackDirection

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • ltr

    Widgets are packed left-to-right

    Declaration

    Swift

    static let ltr: GtkPackDirection
  • rtl

    Widgets are packed right-to-left

    Declaration

    Swift

    static let rtl: GtkPackDirection
  • ttb

    Widgets are packed top-to-bottom

    Declaration

    Swift

    static let ttb: GtkPackDirection
  • btt

    Widgets are packed bottom-to-top

    Declaration

    Swift

    static let btt: GtkPackDirection