MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / SetCurrentItem

Method SetCurrentItem

internal/ui/components/vm_list.go:45–47  ·  view source on GitHub ↗

SetCurrentItem wraps the list method to match the interface.

(index int)

Source from the content-addressed store, hash-verified

43
44// SetCurrentItem wraps the list method to match the interface.
45func (vl *VMList) SetCurrentItem(index int) *tview.List {
46 return vl.List.SetCurrentItem(index)
47}
48
49// SetApp sets the parent app reference for focus management.
50func (vl *VMList) SetApp(app *App) {

Callers

nothing calls this directly

Calls 1

SetCurrentItemMethod · 0.65

Tested by

no test coverage detected