Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!ucbvax!ISI.COM!tsang From: tsang@ISI.COM (Kam C. Tsang) Newsgroups: comp.windows.x.motif Subject: Calling actions from C Message-ID: <9104300229.AA11652@phecda> Date: 30 Apr 91 02:29:34 GMT References: <1991Apr29.001141.9717@m.cs.uiuc.edu> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 17 > I've looked all through the docs, but I can't find how to do this. If > I want to call an action on a widget from C (say, the Kselect on a > PushButton), how do I do that? Thanks! Use XtCallActionProc. Look in Intrinsic.h. It's documented in section 10.9 of the R4 Intrinsics manual. -kam ----------------------------+----------------------------- Kam Tsang | User Interface Group (408) 980-1590 x 275 | Integrated Systems, Inc. (408) 980-0400 [Fax] | 3620 Jay Street tsang@isi.com | Santa Clara, CA 94054 ----------------------------+-----------------------------