Article View: comp.windows.x
Article #38249Re: XtActionsProc query ..
From: stephen l favor
Date: Thu, 16 Jul 1992 13:45
Date: Thu, 16 Jul 1992 13:45
16 lines
1560 bytes
1560 bytes
In article <1992Jul16.065331.15843@iitb.ernet.in>, vijay@iitb.ernet.in (Vijay J. Talati) writes:
|> What are the following arguments of the XtActionsProc proceudres..
|> String *params ;
|> Cardinal numparams ;
I'm aware of two ways these can be set.
1. XtCallAtcionProc()- in which you specify them directly.
2. In a translation table. That is, if your translation table contains:
<Key>o: o-pressed(first,second,third)
the action procedure associated with o-pressed will be called
with params pointing to an array of three strings ("first",
"second", "third") and *numparams == 3.
Note: the type of numparams is Cardinal *, not Cardinal.
Technical Details
Message-ID:
<BrHI77.3Gs@oryx.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!tamsun.tamu.edu!inetg1!news.oryx.com!decsrv!xcpslfReferences:
<1992Jul16.065331.15843@iitb.ernet.in>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b6ac,c4462010541f2b7 X-Google-Attributes: gid10b6ac,public X-Google-Thread: 103734,c4462010541f2b7 X-Google-Attributes: gid103734,public X-Google-Thread: 134180,c4462010541f2b7 X-Google-Attributes: gid134180,public X-Google-ArrivalTime: 1992-07-16 02:30:28 PST Newsgroups: comp.windows.x,comp.windows.x.motif,biz.sco.opendesktop Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!tamsun.tamu.edu!inetg1!news.oryx.com!decsrv!xcpslf From: xcpslf@decsrv.oryx.com (stephen l favor) Subject: Re: XtActionsProc query .. Message-ID: <BrHI77.3Gs@oryx.com> Sender: usenet@oryx.com (USENET News System) Reply-To: xcpslf@decsrv.oryx.com Organization: Oryx Energy Co., Dallas, Texas. References: <1992Jul16.065331.15843@iitb.ernet.in> Date: Thu, 16 Jul 1992 13:45:07 GMT Lines: 16