home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / OPENSTEP / Languages / Python / python-14-src / Demo / stdwin / TestTextEdit.py < prev    next >
Encoding:
Python Source  |  1997-01-17  |  263 b   |  14 lines

  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.