file: sorter.aus

class: SorterChangedCallback

[213:7] extends: object

Generated low-level callback wrapper for GIR callback changed.

Members

Methods

class: Sorter

[25:7] extends: object

Describes sorting criteria for a [class@Gtk.SortListModel]. Its primary user is [class@Gtk.SortListModel] The model will use a sorter to determine the order in which its items should appear by calling [method@Gtk.Sorter.compare] for pairs of items. Sorters may change their sorting behavior through their lifetime. In that case, they will emit the [signal@Gtk.Sorter::changed] signal to notify that the sort order is no longer valid and should be updated by calling gtk_sorter_compare() again. GTK provides various pre-made sorter implementations for common sorting operations. [class@Gtk.ColumnView] has built-in support for sorting lists via the [property@Gtk.ColumnViewColumn:sorter] property, where the user can change the sorting by clicking on list headers. Of course, in particular for large lists, it is also possible to subclass GtkSorter and provide one's own sorter.

Members

Methods

class: SorterMeta

[284:14] static extends: object

Generated metadata helpers for Sorter class surfaces.

Methods