| Issue 256: | Add numeric keyboard (numpad is the term for it) to the code base | |
| 4 people starred this issue and may be notified of changes. | Back to list |
see summary
Aug 19, 2010
(No comment was entered for this change.)
Labels:
Component-Widgets
|
--- from pymt import * import re m = MTTextInput() m.old_value = '' @m.event def on_text_change(value): try: if value != '': float(value) m.old_value = value except ValueError: m.keyboard.text = m.value = m.old_value runTouchApp(m) --- Adapt that for keyboard