diff options
author | Guido van Rossum <guido@python.org> | 1992-08-06 22:33:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-08-06 22:33:41 (GMT) |
commit | 2d4aa4f5d43842bc049752ab8d5ffa3d2880cbe6 (patch) | |
tree | e29f64650143fa734fd2b9f29029f2d88e7ba530 /Lib/stdwin/TextEdit.py | |
parent | de126a6ff8d3ac2432ca2e117d269916041203ad (diff) | |
download | cpython-2d4aa4f5d43842bc049752ab8d5ffa3d2880cbe6.zip cpython-2d4aa4f5d43842bc049752ab8d5ffa3d2880cbe6.tar.gz cpython-2d4aa4f5d43842bc049752ab8d5ffa3d2880cbe6.tar.bz2 |
Removed *.libs (now in ./sgi);
added gettext() method to TextEdit.py;
fixed string.atoi() to ignore leading zeros.
Diffstat (limited to 'Lib/stdwin/TextEdit.py')
-rwxr-xr-x | Lib/stdwin/TextEdit.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/stdwin/TextEdit.py b/Lib/stdwin/TextEdit.py index 540692c..698a7d5 100755 --- a/Lib/stdwin/TextEdit.py +++ b/Lib/stdwin/TextEdit.py @@ -27,6 +27,9 @@ class TextEdit: def settext(self, text): self.editor.settext(text) # + def gettext(self): + return self.editor.gettext(text) + # # Downcalls from parent to child # def destroy(self): |