MCPcopy Create free account
hub / github.com/cogentcore/core / setIndexView

Method setIndexView

plot/plotcore/ploteditor.go:135–139  ·  view source on GitHub ↗

setIndexView sets the table to view and does Update to update the Column list, which will also trigger a Layout and updating of the plot on next render pass. This is safe to call from a different goroutine.

(tab *table.IndexView)

Source from the content-addressed store, hash-verified

133// and updating of the plot on next render pass.
134// This is safe to call from a different goroutine.
135func (pl *PlotEditor) setIndexView(tab *table.IndexView) *PlotEditor {
136 pl.table = tab
137 pl.Update()
138 return pl
139}
140
141// SetTable sets the table to view and does Update
142// to update the Column list, which will also trigger a Layout

Callers 1

CopyFieldsFromMethod · 0.95

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected