diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-17 14:05:17 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-17 14:05:17 +0100 |
| commit | 8cf7cff9fc9cde4d7add449478b8b35103325295 (patch) | |
| tree | 45b2ddc136159655b2157eb047a620afca22fa5a /lib/python/Screens/InputBox.py | |
| parent | 2a7b743b84bd9ef380af30b0f9f260bf386eed9a (diff) | |
| parent | b19b6c15482681e331f346acb56b1566102e1418 (diff) | |
| download | enigma2-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.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"], { |
