Add GtkSectionModel
This MR adds sections to the listview:
It does:
-
Add GtkSectionModel, a rather simple interface to split lists into sections.
-
Implement GtkSectionModel on various listmodels: filterlistmodel passes them through, sortlistmodel adds a
section-sorter
property to sort into sections and flattenmodel creates 1 section per sublist. -
refactor GtkListItemManager to create tiles for sections.
-
Add the GtkListHeader object to be used in header factories.
-
implement
GtkListView::header-factory
to allow setting headers
Edited by Benjamin Otte