summaryrefslogtreecommitdiff
path: root/treeWidget.go
diff options
context:
space:
mode:
Diffstat (limited to 'treeWidget.go')
-rw-r--r--treeWidget.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/treeWidget.go b/treeWidget.go
index 784aac4..bd9c947 100644
--- a/treeWidget.go
+++ b/treeWidget.go
@@ -73,21 +73,6 @@ func (w *guiWidget) deleteView() {
w.v = nil
}
-func (w *guiWidget) IsCurrent() bool {
- if w.node.WidgetType == widget.Tab {
- return w.isCurrent
- }
- if w.node.WidgetType == widget.Window {
- // log.Log(GOCUI, "IsCurrent() found current window", w.cuiName, w.String())
- // log.Log(GOCUI, "IsCurrent() window w.isCurrent =", w.isCurrent)
- return w.isCurrent
- }
- if w.node.WidgetType == widget.Root {
- return false
- }
- return w.parent.IsCurrent()
-}
-
func (tk *guiWidget) String() string {
return tk.node.String()
}