Gets the currently selected item.
This is a convenience method, equivalent to calling [method@Sidebar.get_item] with [property@Sidebar:selected] provided as the index.
To change selection, use [method@Sidebar.set_selected].
| this |
a sidebar |
|
the selected item |