more standard gui functions
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
c555147ebc
commit
8057295409
|
@ -8,7 +8,7 @@ func makeCloudInfoBox(gw *gui.GuiWindow) {
|
|||
log.Println("makeCloudInfoBox() START gw =", gw)
|
||||
// box := gui.AddMainTab(gw)
|
||||
|
||||
gw = gui.InitGuiWindow(gui.Data.Config, "Box23", nil, gw.UiWindow, gw.UiTab)
|
||||
gw = gui.InitGuiWindow(gui.Data.Config, "Box23", gw)
|
||||
box := gui.AddGenericBox(gw, "makeCloudInfoBox")
|
||||
|
||||
log.Println("makeCloudInfoBox() START GW IS NOW: gw =", gw)
|
||||
|
|
|
@ -70,7 +70,7 @@ func splashClick(b *gui.GuiButton) {
|
|||
return
|
||||
}
|
||||
// if there is not an account, then go to 'make account'
|
||||
gw = gui.InitGuiWindow(gui.Data.Config, "Box22", gw.MakeWindow, gw.UiWindow, gw.UiTab)
|
||||
gw = gui.InitGuiWindow(config, "Box22", gw)
|
||||
gw.UiTab.Delete(0)
|
||||
|
||||
log.Println("addSubdomainQuestionBox() START")
|
||||
|
|
|
@ -91,7 +91,7 @@ func createAddVmBox(b *gui.GuiButton) {
|
|||
|
||||
// gw.BoxMap["ADD VM" + name] = box
|
||||
|
||||
box := gui.CreateGenericBox(gw, b, name)
|
||||
box := gui.AddGenericBox(gw, name)
|
||||
|
||||
// Add hostname entry box
|
||||
hostname := gui.MakeEntryHbox(box, "Hostname:", "testhost", true, "Hostname")
|
||||
|
@ -114,7 +114,7 @@ func createVmBox(gw *gui.GuiWindow, vm *pb.Event_VM) {
|
|||
log.Println("CreateVmBox() vm.Name =", vm.Name)
|
||||
log.Println("CreateVmBox() gw =", gw)
|
||||
|
||||
box := gui.CreateBox(gw, vm.Name)
|
||||
box := gui.AddGenericBox(gw, vm.Name)
|
||||
|
||||
// Add hostname entry box
|
||||
gui.MakeEntryVbox(box, "hostname:", vm.Hostname, true, "Hostname")
|
||||
|
|
Loading…
Reference in New Issue