diff options
| author | Jeff Carr <[email protected]> | 2024-02-07 08:47:06 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-07 08:47:06 -0600 |
| commit | 2d0c73f58e68d34cbd2ab85ba82507d159da28de (patch) | |
| tree | eed9475503049dfb1176fe12c4c07f0b94337cda /dropdown.go | |
| parent | 2aed14a60cbb9208f8f9a507c83a3dd297a93640 (diff) | |
use internal log flagsv0.20.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'dropdown.go')
| -rw-r--r-- | dropdown.go | 21 |
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) |
