SorterOrder

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • A partial order. Any GtkOrdering is possible.

    Declaration

    Swift

    static let partial: GtkSorterOrder
  • No order, all elements are considered equal. gtk_sorter_compare() will only return GTK_ORDERING_EQUAL.

    Declaration

    Swift

    static let none: GtkSorterOrder
  • A total order. gtk_sorter_compare() will only return GTK_ORDERING_EQUAL if an item is compared with itself. Two different items will never cause this value to be returned.

    Declaration

    Swift

    static let total: GtkSorterOrder