summaryrefslogtreecommitdiff
path: root/textbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'textbox.go')
-rw-r--r--textbox.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/textbox.go b/textbox.go
index 782c705..2b28fae 100644
--- a/textbox.go
+++ b/textbox.go
@@ -20,6 +20,10 @@ func (parent *Node) NewTextbox(name string) *Node {
return newNode
}
+func (parent *Node) NewEntrybox(name string) *Node {
+ return parent.NewEntryLine(name)
+}
+
func (parent *Node) NewEntryLine(name string) *Node {
newNode := parent.newNode(name, widget.Textbox)
newNode.defaultS = name