gtk.multi_sorter

Module for [MultiSorter] class

Types 3

gtk.multi_sorter.MultiSorter combines multiple sorters by trying them in turn.

If the first sorter compares two items as equal, the second is tried next, and so on.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
MultiSorter self() nothrowReturns `this`, for use in `with` statements.
MultiSorterGidBuilder builder() static nothrowGet builder for [gtk.multi_sorter.MultiSorter] Returns: New builder object
gobject.types.GType itemType() @property nothrowGet `itemType` property. Returns: The type of items. See [gio.list_model.ListModel.getItemType].
uint nItems() @property nothrowGet `nItems` property. Returns: The number of items. See [gio.list_model.ListModel.getNItems].
void append(gtk.sorter.Sorter sorter) nothrowAdd sorter to self to use for sorting at the end.
void remove(uint position) nothrowRemoves the sorter at the given position from the list of sorter used by self.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new multi sorter.

Fluent builder for gtk.multi_sorter.MultiSorter

Methods
MultiSorter build() nothrowCreate object from builder. Returns: New object