MCPcopy Create free account
hub / github.com/SolarLune/masterplan / Close

Method Close

menu.go:708–715  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

706}
707
708func (menu *Menu) Close() {
709 menu.Opened = false
710 menu.PageThread = []string{}
711 menu.SetPage("root")
712 if menu.OnClose != nil {
713 menu.OnClose()
714 }
715}
716
717func (menu *Menu) Center() {
718

Callers 15

NewMenuFunction · 0.95
UpdateMethod · 0.95
ConstructMenusFunction · 0.95
handleScreenshotsFunction · 0.80
DestroyMethod · 0.80
SaveMethod · 0.80
GlobalShortcutsMethod · 0.80
SetPageMethod · 0.80
WriteImageToTempFunction · 0.80
loadThemesFunction · 0.80
NewBrowserTabFunction · 0.80
UpdateMethod · 0.80

Calls 1

SetPageMethod · 0.95

Tested by

no test coverage detected