diff options
| -rw-r--r-- | gui.go | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -228,6 +228,7 @@ func setupUI() { tabcount = 0 maintab.SetMargined(tabcount, true) +/* maintab.Append("Choosers examples", makeDataChoosersPage()) tabcount += 1 maintab.SetMargined(tabcount, true) @@ -235,10 +236,24 @@ func setupUI() { maintab.Append("Group examples", makeGroupEntries()) tabcount += 1 maintab.SetMargined(tabcount, true) +*/ mainwin.Show() } +func AddChoosersDemo() { + maintab.Append("Choosers examples", makeDataChoosersPage()) + tabcount += 1 + maintab.SetMargined(tabcount, true) +} + +// This hangs on GTK +func AddEntriesDemo() { + maintab.Append("Group examples", makeGroupEntries()) + tabcount += 1 + maintab.SetMargined(tabcount, true) +} + func AddTableTab(name string, rowcount int, row1name string) { mh := new(tableData) |
