get_item


Description:

public unowned SidebarItem? get_item (uint index)

Gets the item at index within this.

The index starts from 0 at the top of the sidebar, and is same as the one returned by [method@SidebarItem.get_index].

Can return `NULL` if index is larger or equal to the number of items.

Parameters:

this

a sidebar

index

index of the item

Returns:

the item at index