summaryrefslogtreecommitdiff
path: root/dropdown.go
diff options
context:
space:
mode:
Diffstat (limited to 'dropdown.go')
-rw-r--r--dropdown.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/dropdown.go b/dropdown.go
index e7ee980..5ec5f51 100644
--- a/dropdown.go
+++ b/dropdown.go
@@ -1,30 +1,9 @@
package gui
-// functions to create 'Dropdown' and 'Combobox'
-// Combobox is a Dropdown you can edit
-// Thererfore, AddDropdownName() is used on both combobox and dropdown nodes
-// since it is the same. confusing names? maybe...
-
import (
"go.wit.com/widget"
)
-/*
-// add a new entry to the dropdown name
-func (n *Node) AddDropdownName(name string) {
- if ! n.Ready() { return }
- log.Warn("AddDropdownName() deprecated")
- n.AddText(name)
-}
-
-// Set the dropdown menu to 'name'
-func (n *Node) SetDropdownName(name string) {
- if ! n.Ready() { return }
- log.Warn("SetDropdownName() deprecated")
- n.SetText(name)
-}
-*/
-
func (parent *Node) NewDropdown() *Node {
newNode := parent.newNode("dropdown", widget.Dropdown)