home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / MacHacksBug / Python 1.5.2c1 / Demo / stdwin / TestTextEdit.py < prev    next >
Encoding:
Python Source  |  2000-06-23  |  261 b   |  14 lines

  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()
  14.