RecentSortType

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Do not sort the returned list of recently used resources.

    Declaration

    Swift

    static let none: GtkRecentSortType
  • mru

    Sort the returned list with the most recently used items first.

    Declaration

    Swift

    static let mru: GtkRecentSortType
  • lru

    Sort the returned list with the least recently used items first.

    Declaration

    Swift

    static let lru: GtkRecentSortType
  • Sort the returned list using a custom sorting function passed using gtk_recent_chooser_set_sort_func().

    Declaration

    Swift

    static let custom: GtkRecentSortType