get_selected_index


Description:

public int get_selected_index ()

Gets the index of the selected item in its [iface@Gio.

ListModel].

Parameters:

this

a combo row

Returns:

the index of the selected item, or -1 if no item is selected