From 2d4aa4f5d43842bc049752ab8d5ffa3d2880cbe6 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 6 Aug 1992 22:33:41 +0000 Subject: Removed *.libs (now in ./sgi); added gettext() method to TextEdit.py; fixed string.atoi() to ignore leading zeros. --- Lib/lib-stdwin/TextEdit.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Lib/lib-stdwin') diff --git a/Lib/lib-stdwin/TextEdit.py b/Lib/lib-stdwin/TextEdit.py index 540692ce24..698a7d5ca6 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): -- cgit v1.2.1