From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,88e7ef9008757431 X-Google-Attributes: gid103376,public From: Simon Wright Subject: Re: Function Calls by Address Date: 1999/09/01 Message-ID: #1/1 X-Deja-AN: 519891059 X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 References: <37CADE68.6AF06F5D@escmail.orl.lmco.com> X-Trace: news.demon.co.uk 936218914 nnrp-04:22625 NO-IDENT pogner.demon.co.uk:158.152.70.98 Organization: At Home Newsgroups: comp.lang.ada X-Complaints-To: abuse@demon.net Date: 1999-09-01T00:00:00+00:00 List-Id: Craig Jameson writes: > Does any one know how to make dynamic function calls in Ada83. > I am writing an application using AIX Motif bindings and I > need to create a dynamic list of functions to be called when > a particular X event is dispatched. Any ideas on how to > create and use such a list? Craig, I would have expected you to use the Xt functions for this; see XtAddCallback(), XtRemoveCallback(). They should be in your bindings. You can add several callbacks for the same event to the same widget. I expect you can remove them as you please, too, but I haven't tried this.