summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-08-06 22:33:41 (GMT)
committerGuido van Rossum <guido@python.org>1992-08-06 22:33:41 (GMT)
commit2d4aa4f5d43842bc049752ab8d5ffa3d2880cbe6 (patch)
treee29f64650143fa734fd2b9f29029f2d88e7ba530 /Lib/lib-stdwin
parentde126a6ff8d3ac2432ca2e117d269916041203ad (diff)
downloadcpython-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/lib-stdwin')
-rw-r--r--Lib/lib-stdwin/TextEdit.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/lib-stdwin/TextEdit.py b/Lib/lib-stdwin/TextEdit.py
index 540692c..698a7d5 100644
--- a/Lib/lib-stdwin/TextEdit.py
+++ b/Lib/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):