Mercurial > cpython-lru_cache-weakref
annotate Demo/stdwin/TestTextEdit.py @ 5817:48b94de85bf3 legacy-trunk
Extensive changes by AMK.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Jul 1997 16:29:42 +0000 |
| parents | 73758db2f464 |
| children |
| rev | line source |
|---|---|
|
4573
73758db2f464
/usr/local/bin/python -> /usr/bin/env python
Guido van Rossum <guido@python.org>
parents:
1120
diff
changeset
|
1 #! /usr/bin/env python |
| 752 | 2 |
| 3 # Test TextEdit widgets | |
| 4 | |
| 5 def main(): | |
| 6 from TextEdit import TextEdit | |
| 7 from WindowParent import WindowParent, MainLoop | |
| 8 w = WindowParent().create('Test TextEdit', (0, 0)) | |
| 9 t = TextEdit().create(w, (40, 4)) | |
| 10 w.realize() | |
| 11 MainLoop() | |
| 12 | |
| 13 main() |
