home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / graphics / 186 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.9 KB

  1. Path: sparky!uunet!olivea!sgigate!odin!arioch.clubfed.sgi.com!shreiner
  2. From: shreiner@arioch.clubfed.sgi.com (Dave Shreiner)
  3. Newsgroups: comp.sys.sgi.graphics
  4. Subject: Re: motif and pipes
  5. Message-ID: <1993Jan22.191950.18240@odin.corp.sgi.com>
  6. Date: 22 Jan 93 19:19:50 GMT
  7. References: <1992Dec31.234241.11797@vela.acs.oakland.edu>
  8. Sender: news@odin.corp.sgi.com (Net News)
  9. Distribution: usa
  10. Organization: Silicon Graphics, Inc.
  11. Lines: 39
  12. Nntp-Posting-Host: arioch.clubfed.sgi.com
  13.  
  14. In article <1992Dec31.234241.11797@vela.acs.oakland.edu>, sglanger@vela.acs.oakland.edu (LANGER STEVEN C) writes:
  15. > Hi all;
  16. >   Ihave 2 questions which I hope will not be that hard to answer.
  17. > 1. How do I attach a callback functon to the close button of a dialog win?
  18. >   ie XtAddCallback (dialog, XmN..., myfunction, NULL)
  19. > what goes in the ...?
  20.  
  21.    That depends on the type of dialog widget that your using.  If it happens
  22. to be an XmMessageDialog ( or some variation ) then you might check out the
  23. XmNokCallback.
  24.  
  25. > 2. I have a forground Motif application which must launch and establish
  26. > 2-way communcation with a non-graphic background application. I have the
  27. > source for both and thus can make any modifications necessary.
  28. > My man pages have holes where socket, pipe and socketpair are supposed to be.
  29. > A code fragment showing both sides of the pipes would be highly appreciated.
  30.  
  31.    I know this isn't exactly what you're looking for, but if you're for a
  32. simple solution, you might check out an IRIX arena.  Check out the man page
  33. for 'arena'.
  34.  
  35. > --thanks in advance, steve
  36. > .
  37.  
  38. Thanx,
  39. Dave
  40.  
  41.   ---------------------------------------------------------------------------
  42.  
  43.    Dave Shreiner                                        <shreiner@sgi.com>
  44.    Silicon Graphics, Inc.                                (415) 390 - 5063
  45.  
  46.   "There's never time to say all the things we need to say" - Fates Warning
  47.