diff options
| author | Jeff Carr <[email protected]> | 2024-02-17 14:21:25 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-17 14:21:25 -0600 |
| commit | 337a55eaac4ffc516c26286b04b039533adb157d (patch) | |
| tree | 9c4b676c255e2bfeb7c502105d6a60deaef2c29c /box.go | |
| parent | fd7abef300fe3d547bd383843c76268a44ba5184 (diff) | |
start thinking further about exact layouts & views
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 |
