get_sections


Description:

public ListModel get_sections ()

Gets a list model with this's sections.

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

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

Parameters:

this

a sidebar

Returns:

a model containing the sections