Try to dynamically add some of the other tabs

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-08 14:03:10 -07:00
parent 048c4f4b32
commit 2107a4876e
1 changed files with 15 additions and 0 deletions

15
main.go
View File

@ -64,6 +64,21 @@ func main() {
go gui.DoGUI()
//
// NOTE: This needs to be something long like 2 seconds.
// 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)
gui.AddChoosersDemo()
/*
// THIS CRASHES FOR SOME REASON
log.Println("Sleep for 10 seconds, then try to add new tabs")
time.Sleep(10 * 1000 * 1000 * 1000)
gui.AddEntriesDemo()
*/
log.Println("Sleep for 2 seconds, then try to add new tabs")
time.Sleep(2 * 1000 * 1000 * 1000)