repo.or.cz
/
python
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix an amazing number of typos & malformed sentences reported by Detlef
[python/dscho.git]
/
Demo
/
stdwin
/
TestTextEdit.py
blob
b15b049c43dfd7f490cf56fa30b9dda058ebed87
1
#! /usr/bin/env python
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
()