#include <gdk/gdk.h>
#include <gtk/gtkenums.h>
Go to the source code of this file.
◆ GTK_TYPE_SORTER
#define GTK_TYPE_SORTER (gtk_sorter_get_type ()) |
◆ GtkSorterChange
GtkSorterChange: @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.
Describes changes in a sorter in more detail and allows users to optimize resorting.
Enumerator |
---|
GTK_SORTER_CHANGE_DIFFERENT | |
GTK_SORTER_CHANGE_INVERTED | |
GTK_SORTER_CHANGE_LESS_STRICT | |
GTK_SORTER_CHANGE_MORE_STRICT | |
Definition at line 63 of file gtksorter.h.
63 {
@ GTK_SORTER_CHANGE_MORE_STRICT
@ GTK_SORTER_CHANGE_LESS_STRICT
@ GTK_SORTER_CHANGE_INVERTED
@ GTK_SORTER_CHANGE_DIFFERENT
◆ GtkSorterOrder
GtkSorterOrder: @GTK_SORTER_ORDER_PARTIAL: A partial order. Any GtkOrdering
is possible. @GTK_SORTER_ORDER_NONE: No order, all elements are considered equal. gtk_sorter_compare() will only return GTK_ORDERING_EQUAL. @GTK_SORTER_ORDER_TOTAL: 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.
Describes the type of order that a GtkSorter
may produce.
Enumerator |
---|
GTK_SORTER_ORDER_PARTIAL | |
GTK_SORTER_ORDER_NONE | |
GTK_SORTER_ORDER_TOTAL | |
Definition at line 42 of file gtksorter.h.
42 {
@ GTK_SORTER_ORDER_PARTIAL
◆ gtk_sorter_changed()
◆ gtk_sorter_compare()
◆ gtk_sorter_get_order()