summaryrefslogtreecommitdiff
path: root/widget.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 03:19:08 -0600
committerJeff Carr <[email protected]>2024-02-05 03:19:08 -0600
commita15aea03ea4d0bc73d3773f7c77b380caa57153c (patch)
treee3da122003d900d5665f889b180bc4a3b7be0d5a /widget.go
parenta907a4418a1f1d027b288b1bbd91a43b103f29f9 (diff)
rename to drawView()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'widget.go')
-rw-r--r--widget.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/widget.go b/widget.go
index 923032b..8da42b6 100644
--- a/widget.go
+++ b/widget.go
@@ -104,7 +104,7 @@ func (tk *guiWidget) Visible() bool {
func (w *guiWidget) Show() {
// always should the dropdown widget
if w == me.dropdownV {
- me.dropdownV.recreateView()
+ me.dropdownV.drawView()
return
}
@@ -116,13 +116,13 @@ func (w *guiWidget) Show() {
// if this isn't in the binary tree
// it's some internal widget so always display those
if w.node == nil {
- w.recreateView()
+ w.drawView()
return
}
// always show window titles
if w.node.WidgetType != widget.Window {
- w.recreateView()
+ w.drawView()
return
}
@@ -143,7 +143,7 @@ func (w *guiWidget) Show() {
}
// okay, if you made it this far, then display the widget
- w.recreateView()
+ w.drawView()
}
func (tk *guiWidget) Hide() {