Xref: utzoo comp.windows.x:33664 comp.windows.x.motif:2111 Path: utzoo!news-server.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!asuvax!ncar!ico!attc!marbru From: marbru@attc.UUCP (Martin Brunecky) Newsgroups: comp.windows.x,comp.windows.x.motif Subject: Re: Callback Arguements in WCL Message-ID: <1225@attc.UUCP> Date: 6 Mar 91 00:45:27 GMT References: <499@shrike.AUSTIN.LOCKHEED.COM> Reply-To: marbru@auto-trol.UUCP (Martin Brunecky) Distribution: usa Organization: Auto-trol Technology, Denver Lines: 22 In article <499@shrike.AUSTIN.LOCKHEED.COM> lossau@AUSTIN.LOCKHEED.COM (Kathleen O Lossau) writes: > >Is there anyone familar enough with the WCL (Widget Creation Library) >to tell me if there is a way to pass information to a callback from >WCL. WCL seems to handle the passing of all information. The resource >file cannot specify any call-data. > Mhmmm. Dave's examples and tons of .PS files seem to be inadequate.... Try: *button.activateCallback: YourCallback(Your_call_data_string) The routine YourCallback should be called with a pointer to the string "Your_call_data_string" in the call_data. -- =*= Opinions presented here are solely of my own and not those of Auto-trol =*= Martin Brunecky {...}sunpeaks!auto-trol!marbru (303) 252-2499 (sometimes also: marbru@auto-trol.COM ) Auto-trol Technology Corp. 12500 North Washington St., Denver, CO 80241-2404