add a "test table" button

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-10 01:35:20 -07:00
parent 6f149c2706
commit 5f8efcb81d
1 changed files with 9 additions and 0 deletions

View File

@ -38,6 +38,15 @@ func makeCloudInfoBox() ui.Control {
vbox.Append(mybutton, false)
vbox.Append(ui.NewLabel("Hostname:"), false)
// ATTEMPT TO ADD THE TABLE HERE
add2button := ui.NewButton("Add a Test Table")
add2button.OnClicked(func(*ui.Button) {
log.Println("send over socket")
add2()
})
vbox.Append(add2button, false)
// ATTEMPT TO ADD THE TABLE HERE END
hbox.Append(ui.NewVerticalSeparator(), false)
vbox = ui.NewVerticalBox()