listbox.go
func (l *ListBox) SelectItem(id int) bool {
	if len(l.items) <= id || id < 0 {
		return false
	}

	l.currSelection = id
	l.EnsureVisible()
	return true
}
func (l *ListBox) SelectItem(id int) bool {
	if len(l.items) <= id || id < 0 {
		return false
	}

	l.currSelection = id
	l.EnsureVisible()
	return true
}
func ( l * ListBox ) SelectItem ( id int ) bool { if len ( l . items ) <= id || id < 0 { return false } l . currSelection = id l . EnsureVisible ( ) return true }
// SelectItem selects item which number in the list equals
// id. If the item exists the ListBox scrolls the list to
// make the item visible.
// Returns true if the item is selected successfully
SelectItem selects item which number in the list equals id . If the item exists the ListBox scrolls the list to make the item visible . Returns true if the item is selected successfully