diff options
| author | troido <troido@hotmail.com> | 2018-01-15 23:12:11 +0100 |
|---|---|---|
| committer | troido <troido@hotmail.com> | 2018-01-15 23:12:11 +0100 |
| commit | d0a4b8dd97d960eaf1922e773f6dc376ec96f8d9 (patch) | |
| tree | b318d7edaae6d02e80438ecc42295d5dcc09ae14 /asciifarm/client/display/inventorypad.py | |
| parent | 450ed6d4064bf83a4630ecc017346c87d5133f2b (diff) | |
provided code to set title of list menu
Diffstat (limited to 'asciifarm/client/display/inventorypad.py')
| -rw-r--r-- | asciifarm/client/display/inventorypad.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/asciifarm/client/display/inventorypad.py b/asciifarm/client/display/inventorypad.py index cbfeff1..fd600e6 100644 --- a/asciifarm/client/display/inventorypad.py +++ b/asciifarm/client/display/inventorypad.py @@ -23,6 +23,9 @@ class InventoryPad: self.items = items self.widget.change() + def setTitle(self, title): + self.title = title + def getNumItems(self): return len(self.items) |
