()
| 392 | } |
| 393 | |
| 394 | func (lb *ListBase) SetSliceBase() { |
| 395 | lb.SelectMode = false |
| 396 | lb.MakeIter = 0 |
| 397 | lb.StartIndex = 0 |
| 398 | lb.VisibleRows = lb.MinRows |
| 399 | if !lb.IsReadOnly() { |
| 400 | lb.SelectedIndex = -1 |
| 401 | } |
| 402 | lb.ResetSelectedIndexes() |
| 403 | } |
| 404 | |
| 405 | // SetSlice sets the source slice that we are viewing. |
| 406 | // This ReMakes the view for this slice if different. |
no test coverage detected