home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Python 1.1 / Demo / stdwin / TestTextEdit.py < prev    next >
Encoding:
Python Source  |  1992-12-14  |  263 b   |  14 lines  |  [TEXT/R*ch]

  1. #! /usr/local/bin/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.