home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.open-look
- Path: sparky!uunet!ornl!utkcs2!darwin.sura.net!mojo.eng.umd.edu!kelso
- From: kelso@eng.umd.edu (John Kelso)
- Subject: Devguide's term pane
- Message-ID: <1992Nov12.160251.1527@eng.umd.edu>
- Date: Thu, 12 Nov 92 16:02:51 GMT
- Organization: University of Maryland, College Park
- Lines: 47
-
-
- Greetings,
-
- I'm writing a program using Devguide 3.0. I'd like to have the program
- open a window and allow the user to enter some Unix commands, and have
- the program capture the window's contents.
-
- Devguide's term pane seems like the obvious choice for this. The problem
- is that there is almost no documentation about term panes.
-
- I looked at the code that was generated, and can see that it uses an object
- called TERMSW. My O'Reilly books make no mention of this type of object.
-
- Here's the code:
-
- /*
- * Create object `termpane1' in the specified instance.
- */
- Xv_opaque
- Untitled1_popup1_termpane1_create(ip, owner)
- Untitled1_popup1_objects *ip;
- Xv_opaque owner;
- {
- Xv_opaque obj;
-
- obj = xv_create(owner, TERMSW,
- XV_KEY_DATA, INSTANCE, ip,
- XV_X, 0,
- XV_Y, 0,
- XV_WIDTH, WIN_EXTEND_TO_EDGE,
- XV_HEIGHT, 192,
- OPENWIN_SHOW_BORDERS, TRUE,
- NULL);
- return obj;
- }
-
- Can anyone out there tell me where I can get some documentation about this,
- or some alternative method to do what I'm trying to do?
-
- Many thanks,
-
- John
- --
- John Kelso, Applications Manager
- University of Maryland College of Engineering, College Park MD 20742
- kelso@eng.umd.edu -or- uunet!eng.umd.edu!kelso
- --
-