summaryrefslogtreecommitdiffstats
path: root/Demo/stdwin/TestTextEdit.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/stdwin/TestTextEdit.py')
-rwxr-xr-xDemo/stdwin/TestTextEdit.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/Demo/stdwin/TestTextEdit.py b/Demo/stdwin/TestTextEdit.py
new file mode 100755
index 0000000..038e89b
--- /dev/null
+++ b/Demo/stdwin/TestTextEdit.py
@@ -0,0 +1,13 @@
+#! /usr/local/python
+
+# Test TextEdit widgets
+
+def main():
+ from TextEdit import TextEdit
+ from WindowParent import WindowParent, MainLoop
+ w = WindowParent().create('Test TextEdit', (0, 0))
+ t = TextEdit().create(w, (40, 4))
+ w.realize()
+ MainLoop()
+
+main()