aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/InputBox.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-11-17 19:23:02 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-11-17 19:23:02 +0100
commit5eb41508927a7f48d09d52e158e136fa07252dac (patch)
treef5ce5ebbc380e903eda85d37b0a5ff503f4fea3d /lib/python/Screens/InputBox.py
parent94913d0f73c36623ae19916d79cee759b7f6bc98 (diff)
parent8cf7cff9fc9cde4d7add449478b8b35103325295 (diff)
downloadenigma2-5eb41508927a7f48d09d52e158e136fa07252dac.tar.gz
enigma2-5eb41508927a7f48d09d52e158e136fa07252dac.zip
Merge branch 'master' into async_picload
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"],
{