diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-17 19:23:02 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-17 19:23:02 +0100 |
| commit | 5eb41508927a7f48d09d52e158e136fa07252dac (patch) | |
| tree | f5ce5ebbc380e903eda85d37b0a5ff503f4fea3d /lib/python/Screens/InputBox.py | |
| parent | 94913d0f73c36623ae19916d79cee759b7f6bc98 (diff) | |
| parent | 8cf7cff9fc9cde4d7add449478b8b35103325295 (diff) | |
| download | enigma2-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.py | 4 |
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"], { |
