TextDirection

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • No direction.

    Declaration

    Swift

    static let none: GtkTextDirection
  • ltr

    Left to right text direction.

    Declaration

    Swift

    static let ltr: GtkTextDirection
  • rtl

    Right to left text direction.

    Declaration

    Swift

    static let rtl: GtkTextDirection