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

Method ShowStatus

gui/table.go:566–574  ·  view source on GitHub ↗

ShowStatus sets the visibility of the status lines at the bottom of the table

(show bool)

Source from the content-addressed store, hash-verified

564
565// ShowStatus sets the visibility of the status lines at the bottom of the table
566func (t *Table) ShowStatus(show bool) {
567
568 if t.statusPanel.Visible() == show {
569 return
570 }
571 t.statusPanel.SetVisible(show)
572 t.recalcStatus()
573 t.recalc()
574}
575
576// SetStatusText sets the text of status line at the bottom of the table
577// It does not change its current visibility

Callers

nothing calls this directly

Calls 4

recalcStatusMethod · 0.95
recalcMethod · 0.95
VisibleMethod · 0.65
SetVisibleMethod · 0.65

Tested by

no test coverage detected