🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.graphics
Article #117

Re: motif and pipes

#117
From: Dave Shreiner
Date: Fri, 22 Jan 1993 19:19
39 lines
1959 bytes
In article <1992Dec31.234241.11797@vela.acs.oakland.edu>, sglanger@vela.acs.oakland.edu (LANGER STEVEN C) writes:
> Hi all;
>   Ihave 2 questions which I hope will not be that hard to answer.
> 
> 1. How do I attach a callback functon to the close button of a dialog win?
> 
>   ie XtAddCallback (dialog, XmN..., myfunction, NULL)
> 
> what goes in the ...?

   That depends on the type of dialog widget that your using.  If it happens
to be an XmMessageDialog ( or some variation ) then you might check out the
XmNokCallback.

> 
> 2. I have a forground Motif application which must launch and establish
> 2-way communcation with a non-graphic background application. I have the
> source for both and thus can make any modifications necessary.
> My man pages have holes where socket, pipe and socketpair are supposed to be.
> A code fragment showing both sides of the pipes would be highly appreciated.
> 

   I know this isn't exactly what you're looking for, but if you're for a
simple solution, you might check out an IRIX arena.  Check out the man page
for 'arena'.

> 
> --thanks in advance, steve
> .

Thanx,
Dave

  ---------------------------------------------------------------------------

   Dave Shreiner                                        <shreiner@sgi.com>
   Silicon Graphics, Inc.                                (415) 390 - 5063

  "There's never time to say all the things we need to say" - Fates Warning
Technical Details
Message-ID: <1993Jan22.191950.18240@odin.corp.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!odin!arioch.clubfed.sgi.com!shreiner
References: <1992Dec31.234241.11797@vela.acs.oakland.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!odin!arioch.clubfed.sgi.com!shreiner
From: shreiner@arioch.clubfed.sgi.com (Dave Shreiner)
Newsgroups: comp.sys.sgi.graphics
Subject: Re: motif and pipes
Message-ID: <1993Jan22.191950.18240@odin.corp.sgi.com>
Date: 22 Jan 93 19:19:50 GMT
References: <1992Dec31.234241.11797@vela.acs.oakland.edu>
Sender: news@odin.corp.sgi.com (Net News)
Distribution: usa
Organization: Silicon Graphics, Inc.
Lines: 39
Nntp-Posting-Host: arioch.clubfed.sgi.com