From 201ec576bcd66035542cebf15b461b4a5d4efa39 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 10 Feb 2025 23:44:03 -0600 Subject: start something to make a Table() --- machine.gui.go | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 machine.gui.go (limited to 'machine.gui.go') diff --git a/machine.gui.go b/machine.gui.go new file mode 100644 index 0000000..9ef1f40 --- /dev/null +++ b/machine.gui.go @@ -0,0 +1,59 @@ +package zoopb + +/* +type RepoTable struct { + n *gui.Node + x *Repos + FullPath *repoTableFullPath + columns []*gui.NodeColumn + order []*gui.NodeColumn +} + +type RepoTableRow struct { + nodes []*gui.Node +} + + +type repoTableFullPath struct { +} + +func (x *repoTableFullPath) Add(s string) { +} + +func (x *RepoTable) FullPath() *RepoTableFullPath { +} + +func (x *Repos) NewTable() *RepoTable { + t := new(RepoTable) + t.n = gui.NewTable() + return *RepoTable +} + +func (x *RepoTable) AddFullPath() { + x.order = append(x.order, x.n.AddStringFunc( f() string { + return t.x.getRepoFullPath(rx *RepoTableRow) + })) + return *RepoTableRow +} + +func (x *RepoTable) Show() { + x.order.f() + ZZ +} + +func (x *RepoTable) AddMasterVersion() { + + all := x.x.SortByFullPath() + for all.Scan() { + repo := all.Next() + for x.order + + + return *RepoTableRow +} + +func (x *RepoTable) NewColumn() *RepoRow { + t := new(RepoTableRow) + return *RepoTableRow +} +*/ -- cgit v1.2.3