diff options
| author | troido <troido@protonmail.com> | 2019-09-18 12:07:58 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2019-09-18 12:07:58 +0200 |
| commit | b95a08c303c08d955142312a72f0e51a5edcffdf (patch) | |
| tree | 891e612690f6618f85b48dda30a6b89bfa23bf56 /asciifarm/client/display/switcher.py | |
| parent | e2ecd2b2c5b6bc2bc1dbce6f669c96707683313d (diff) | |
cleanup!
Diffstat (limited to 'asciifarm/client/display/switcher.py')
| -rw-r--r-- | asciifarm/client/display/switcher.py | 29 |
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 - |
