home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / windows / openloo / 4474 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.5 KB  |  57 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!ornl!utkcs2!darwin.sura.net!mojo.eng.umd.edu!kelso
  3. From: kelso@eng.umd.edu (John Kelso)
  4. Subject: Devguide's term pane
  5. Message-ID: <1992Nov12.160251.1527@eng.umd.edu>
  6. Date: Thu, 12 Nov 92 16:02:51 GMT
  7. Organization: University of Maryland, College Park
  8. Lines: 47
  9.  
  10.  
  11. Greetings,
  12.  
  13. I'm writing a program using Devguide 3.0.  I'd like to have the program
  14. open a window and allow the user to enter some Unix commands, and have
  15. the program capture the window's contents.
  16.  
  17. Devguide's term pane seems like the obvious choice for this.  The problem
  18. is that there is almost no documentation about term panes.
  19.  
  20. I looked at the code that was generated, and can see that it uses an object
  21. called TERMSW.  My O'Reilly books make no mention of this type of object.
  22.  
  23. Here's the code:
  24.  
  25. /*
  26.  * Create object `termpane1' in the specified instance.
  27.  */
  28. Xv_opaque
  29. Untitled1_popup1_termpane1_create(ip, owner)
  30.     Untitled1_popup1_objects    *ip;
  31.     Xv_opaque    owner;
  32. {
  33.     Xv_opaque    obj;
  34.     
  35.     obj = xv_create(owner, TERMSW,
  36.         XV_KEY_DATA, INSTANCE, ip,
  37.         XV_X, 0,
  38.         XV_Y, 0,
  39.         XV_WIDTH, WIN_EXTEND_TO_EDGE,
  40.         XV_HEIGHT, 192,
  41.         OPENWIN_SHOW_BORDERS, TRUE,
  42.         NULL);
  43.     return obj;
  44. }
  45.  
  46. Can anyone out there tell me where I can get some documentation about this,
  47. or some alternative method to do what I'm trying to do?
  48.  
  49. Many thanks,
  50.  
  51. John
  52. -- 
  53.             John Kelso, Applications Manager
  54.       University of Maryland College of Engineering, College Park MD 20742
  55.          kelso@eng.umd.edu -or- uunet!eng.umd.edu!kelso
  56. --
  57.