diff options
| author | Jeff Carr <[email protected]> | 2025-02-19 02:48:37 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-19 17:39:45 -0600 |
| commit | 2a277c147a7593640fc79192d6ae987ec3e4fea0 (patch) | |
| tree | addeaf268f7004d0980b89cbb3f723903548a7f2 /action.go | |
| parent | 27c9417a32cb704537037aacc727e53ff933b5f3 (diff) | |
string rows
Diffstat (limited to 'action.go')
| -rw-r--r-- | action.go | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -10,32 +10,6 @@ import ( "go.wit.com/widget" ) -// repeated string order = 1; -// -// repeated StringRow StringRows = 2; -// repeated IntRow IntRows = 3; -// repeated TimeRow TimeRows = 4; -// repeated BoolRow BoolRows = 5; -func (me *TreeInfo) doTable(a widget.Action) { - if a.TablePB == nil { - log.Log(TREE, "tree: action didn't have a Table PB") - return - } - pb := guipb.NewTables() - if err := pb.Unmarshal(a.TablePB); err != nil { - log.Info("unmarshal error", err, "data len =", len(a.TablePB)) - return - } - log.Info("dumpTables:") - all := pb.All() - for all.Scan() { - t := all.Next() - for i, o := range t.Order { - log.Info("got order:", t.Title, i, o) - } - } -} - // everything from the application goes through here func (me *TreeInfo) doAction(a widget.Action) { if a.TablePB != nil { |
