summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui.go b/gui.go
index 2978958..d494c45 100644
--- a/gui.go
+++ b/gui.go
@@ -248,6 +248,12 @@ func AddChoosersDemo() {
tabcount += 1
}
+func AddNewTab(newbox ui.Control) {
+ maintab.Append("Cloud Info", newbox)
+ maintab.SetMargined(tabcount, true)
+ tabcount += 1
+}
+
// This hangs on GTK
func AddEntriesDemo() {
maintab.Append("Group examples", makeGroupEntries())