summaryrefslogtreecommitdiff
path: root/asciifarm/client/display/switcher.py
diff options
context:
space:
mode:
Diffstat (limited to 'asciifarm/client/display/switcher.py')
-rw-r--r--asciifarm/client/display/switcher.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/asciifarm/client/display/switcher.py b/asciifarm/client/display/switcher.py
deleted file mode 100644
index 6e64fd0..0000000
--- a/asciifarm/client/display/switcher.py
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-from .inventory import Inventory
-
-class Switcher(Inventory):
- """An area that can contain multiple widgets but only shows one at a time.
- There is a function to switch between the displayed widgets.
- """
-
- #def __init__(self, widgets, initial=0):
- #Inventory.__init__(self, "", "", "=")
- #self.setInventory(widgets)
-
- #for wid in widgets:
- #wid.hidden = True
-
- #self.select(initial)
-
- #def doSelect(self, value):
- #self.getSelectedItem().hidden = True
- #self.selector = value
- #self.change()
- #newWid = self.getSelectedItem()
- #newWid.hidden = False
- #newWid.change()
-
- def itemName(self, item):
- return item.getImpl().title
-