summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/grid.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
committerJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
commit4e7bbd89900a733593f0848778103c1cf1a7145d (patch)
tree22cd22124dd3ecba7c2a866b882d39aaf790d670 /toolkit/andlabs/grid.go
parent53ce3a8252090d5fb75d7fc1e3cd75a72c1415c6 (diff)
reorg to final resting place at go.wit.com/gui/guiv0.9.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/grid.go')
-rw-r--r--toolkit/andlabs/grid.go25
1 files changed, 0 insertions, 25 deletions
diff --git a/toolkit/andlabs/grid.go b/toolkit/andlabs/grid.go
deleted file mode 100644
index 6c47d1b..0000000
--- a/toolkit/andlabs/grid.go
+++ /dev/null
@@ -1,25 +0,0 @@
-package main
-
-import (
- "github.com/andlabs/ui"
- _ "github.com/andlabs/ui/winmanifest"
-)
-
-// Grid numbering by (X,Y)
-// -----------------------------
-// -- (1,1) -- (2,1) -- (3,1) --
-// -- (1,2) -- (2,1) -- (3,1) --
-// -----------------------------
-func (p *node) newGrid(n *node) {
- var newt *guiWidget
- log(debugToolkit, "newGrid()", n.WidgetId, "to", n.ParentId)
-
- newt = new(guiWidget)
-
- c := ui.NewGrid()
- newt.uiGrid = c
- newt.uiControl = c
-
- n.tk = newt
- p.place(n)
-}