package main import ( // "log" "git.wit.org/wit/gui" ) func mainWindow(w *gui.Node) *gui.Node { if (w == nil) { gui.Config.Title = "WIT Debian Control Panel" gui.Config.Width = 101 gui.Config.Height = 101 w = gui.NewWindow() } newTab := w.AddTab("Main Tab", nil) ////////////////////////// MAIN //////////////////////////////// g1 := newTab.AddGroup("unsorted") g1.AddButton("Generic SSH Window", func (*gui.Node) { sshGenericWindow(nil) }) g1.AddButton("update DNS (IPv6)", func (*gui.Node) { updateDNS(nil) }) tabResets(w) windowAddWWW(w) golangDebug(w) return newTab }