diff options
Diffstat (limited to 'box.go')
| -rw-r--r-- | box.go | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -27,6 +27,17 @@ func (parent *Node) Box() *Node { return newNode } +// this is an experiment. I like to think of this package like 'Sierpinski' +// It's like it's in a fractional dimension because it doesn't exist +// the toolkits are the things that make it visible to us. Here, we can +// think abstractly about how the data is formed +// make something that can't be seen at all +func RawBox() *Node { + newNode := me.rootNode.newNode("BOX", widget.Box) + + return newNode +} + func (n *Node) Vertical() *Node { n.direction = widget.Horizontal return n |
