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

Method update

gui/menu.go:455–458  ·  view source on GitHub ↗

update updates the menu visual state

()

Source from the content-addressed store, hash-verified

453
454// update updates the menu visual state
455func (m *Menu) update() {
456
457 m.applyStyle(&m.styles.Body.Normal)
458}
459
460// applyStyle applies the specified menu body style
461func (m *Menu) applyStyle(mbs *MenuBodyStyle) {

Callers 7

NewMenuFunction · 0.45
AddMenuMethod · 0.45
onKeyMethod · 0.45
setSelectedPosMethod · 0.45
setSelectedItemMethod · 0.45
newMenuItemFunction · 0.45
SetStylesMethod · 0.45

Calls 1

applyStyleMethod · 0.95

Tested by

no test coverage detected