GOOD: read text from multi-line entrybox
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
2af6db4d6c
commit
f615feaf81
3
box.go
3
box.go
|
@ -42,6 +42,9 @@ func (n *Node) AddComboBox(title string, s ...string) *Node {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n *Node) GetText() string {
|
func (n *Node) GetText() string {
|
||||||
|
if (n.uiMultilineEntry != nil) {
|
||||||
|
return n.uiMultilineEntry.Text()
|
||||||
|
}
|
||||||
if (n.uiText == nil) {
|
if (n.uiText == nil) {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue