Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: question: XToolkit - callbacks Message-ID: <8906161505.AA20565@LYRE.MIT.EDU> Date: 16 Jun 89 15:05:10 GMT References: <599@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 12 > static void ButtonPress(w, cl_data, ca_data) > Widget w; > caddr_t cl_data, ca_data; > { > XtCallCallbacks(XtParent(w), XtNcallback, cl_data); > } > > Is this correct, or is there a better solution, to call "my" callback > list. I don't think you can do any better than this and still hide the implementation of 'mywidget'.