diff options
| author | Jeff Carr <[email protected]> | 2024-02-07 15:11:03 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-07 15:11:03 -0600 |
| commit | b777dc2b39bf1fadc292b646ae6afde9f0d0c392 (patch) | |
| tree | c1adeff64d9b20377e16fb84b938ee685689303a | |
| parent | 2d0c73f58e68d34cbd2ab85ba82507d159da28de (diff) | |
try to debug box direction
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | box.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -19,6 +19,14 @@ func (parent *Node) NewBox(progname string, b bool) *Node { return newNode } +func (parent *Node) Box() *Node { + newNode := parent.newNode("BOX", widget.Box) + + // inform the toolkits + sendAction(newNode, widget.Add) + return newNode +} + func (n *Node) Vertical() *Node { n.direction = widget.Horizontal return n |
