mirror of
https://github.com/python/cpython.git
synced 2025-10-24 02:13:49 +00:00
14 lines
259 B
Python
14 lines
259 B
Python
|
|
#! /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()
|