get_selected


Description:

public uint get_selected ()

Gets the index of the currently selected item.

See also: [method@Sidebar.get_selected_item].

Parameters:

this

a sidebar

Returns:

index of the currently selected item