MCPcopy
hub / github.com/g3n/engine / SetSelected

Method SetSelected

gui/list.go:497–501  ·  view source on GitHub ↗

SetSelected sets this item selected state

(state bool)

Source from the content-addressed store, hash-verified

495
496// SetSelected sets this item selected state
497func (litem *ListItem) SetSelected(state bool) {
498
499 litem.selected = state
500 //litem.item.SetSelected2(state)
501}
502
503// SetHighlighted sets this item selected state
504func (litem *ListItem) SetHighlighted(state bool) {

Callers 2

selNextMethod · 0.95
selPrevMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected