items


Description:

public SelectionModel items { owned get; }

A list model with the sidebar's items.

This can be used to keep an up-to-date view.

The model implements [iface@Gtk.SectionModel] and creates sections corresponding to the sidebar's sections.

The model also implements [iface@Gtk.SelectionModel] and can be used to track and change the selection.

To only track sections, use [property@Sidebar:sections] instead.