About all my projects
Gnome::Gtk4::T-sorter

Gnome::Gtk4::T-sorter

Enumerations

GtkSorterChange

Describes changes in a sorter in more detail and allows users to optimize resorting.

  • GTK_SORTER_CHANGE_DIFFERENT; The sorter change cannot be described by any of the other enumeration values

  • GTK_SORTER_CHANGE_INVERTED; The sort order was inverted. Comparisons that returned GTK_ORDERING_SMALLER now return GTK_ORDERING_LARGER and vice versa. Other comparisons return the same values as before.

  • GTK_SORTER_CHANGE_LESS_STRICT; The sorter is less strict: Comparisons may now return GTK_ORDERING_EQUAL that did not do so before.

  • GTK_SORTER_CHANGE_MORE_STRICT; The sorter is more strict: Comparisons that did return GTK_ORDERING_EQUAL may not do so anymore.

GtkSorterOrder

Describes the type of order that a Gnome::Gtk4::Sorter may produce.

  • GTK_SORTER_ORDER_PARTIAL; A partial order. Any enumeration GtkOrdering defined in Gnome::Gtk4::T-enums is possible.

  • GTK_SORTER_ORDER_NONE; No order, all elements are considered equal. .compare() will only return GTK_ORDERING_EQUAL.

  • GTK_SORTER_ORDER_TOTAL; A total order. .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.