try a table with 700 rows. very fast.

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-08 14:21:05 -07:00
parent 2107a4876e
commit 76bf66e1f9
1 changed files with 6 additions and 2 deletions

View File

@ -69,9 +69,13 @@ func main() {
// Not sure way. Otherwise it will hang GTK
//
log.Println("Sleep for 2 seconds, then try to add new tabs")
time.Sleep(2 * 1000 * 1000 * 1000)
time.Sleep(1 * 1000 * 1000 * 1000)
gui.AddChoosersDemo()
log.Println("Sleep for 2 seconds, then try to add new tabs")
time.Sleep(1 * 1000 * 1000 * 1000)
gui.AddTableTab("jcarr", 7, "fire")
/*
// THIS CRASHES FOR SOME REASON
log.Println("Sleep for 10 seconds, then try to add new tabs")
@ -90,7 +94,7 @@ func main() {
hostname := config.String("cloud." + account + ".hostname")
fmt.Println(hostname, port, proto)
gui.AddTableTab(account, rows, hostname)
rows += 4
rows = 700
log.Println("Sleep for 10 seconds, then add next table")
time.Sleep(10 * 1000 * 1000 * 1000)
}