Gets the index of the selected item in its [iface@Gio.
ListModel].
a combo row
the index of the selected item, or -1 if no item is selected