gtk.custom_sorter

Module for [CustomSorter] class

Types 3

[gtk.custom_sorter.CustomSorter] is a [gtk.sorter.Sorter] implementation that sorts via a callback function.

Methods
GType _gType() @property
CustomSorter self()Returns `this`, for use in `with` statements.
CustomSorterGidBuilder builder()Get builder for [gtk.custom_sorter.CustomSorter] Returns: New builder object
void setSortFunc(CustomSortDelegate sortFunc)Sets (or unsets) the function used for sorting items. If sortfunc is %NULL, all items are considered equal. If the sort func changes its sorting behavior, [Gtk.Sorter.changed] needs to be called. I...
Constructors
this(void * ptr, Flag!"Take" take)
this(CustomSortDelegate sortFunc)Creates a new `GtkSorter` that works by calling sortFunc to compare items. If sortFunc is null, all items are considered equal. Params: sortFunc = the callback delegate to use for sorting Returns: ...

Fluent builder for [gtk.custom_sorter.CustomSorter]