mirror of
https://github.com/python/cpython.git
synced 2024-11-29 04:44:13 +08:00
14 lines
261 B
Python
Executable File
14 lines
261 B
Python
Executable File
#! /usr/bin/env 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()
|