MCPcopy
hub / github.com/lxn/walk / CurrentIndex

Method CurrentIndex

tableview.go:1160–1162  ·  view source on GitHub ↗

CurrentIndex returns the index of the current item, or -1 if there is no current item.

()

Source from the content-addressed store, hash-verified

1158// CurrentIndex returns the index of the current item, or -1 if there is no
1159// current item.
1160func (tv *TableView) CurrentIndex() int {
1161 return tv.currentIndex
1162}
1163
1164// SetCurrentIndex sets the index of the current item.
1165//

Callers 2

NewTableViewWithCfgFunction · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected