aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/InputBox.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-11-17 14:05:17 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-11-17 14:05:17 +0100
commit8cf7cff9fc9cde4d7add449478b8b35103325295 (patch)
tree45b2ddc136159655b2157eb047a620afca22fa5a /lib/python/Screens/InputBox.py
parent2a7b743b84bd9ef380af30b0f9f260bf386eed9a (diff)
parentb19b6c15482681e331f346acb56b1566102e1418 (diff)
downloadenigma2-8cf7cff9fc9cde4d7add449478b8b35103325295.tar.gz
enigma2-8cf7cff9fc9cde4d7add449478b8b35103325295.zip
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Screens/InputBox.py')
-rw-r--r--lib/python/Screens/InputBox.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Screens/InputBox.py b/lib/python/Screens/InputBox.py
index 43b8a8b8..61ce356a 100644
--- a/lib/python/Screens/InputBox.py
+++ b/lib/python/Screens/InputBox.py
@@ -8,12 +8,14 @@ from Tools.BoundFunction import boundFunction
from time import time
class InputBox(Screen):
- def __init__(self, session, title = "", windowTitle = _("Input"), **kwargs):
+ def __init__(self, session, title = "", windowTitle = _("Input"), useableChars = None, **kwargs):
Screen.__init__(self, session)
self["text"] = Label(title)
self["input"] = Input(**kwargs)
self.onShown.append(boundFunction(self.setTitle, windowTitle))
+ if useableChars is not None:
+ self["input"].setUseableChars(useableChars)
self["actions"] = NumberActionMap(["WizardActions", "InputBoxActions", "InputAsciiActions", "KeyboardInputActions"],
{