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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3ed4c57426e16006 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GtkAda using Glade Date: Wed, 18 May 2011 20:27:18 +0200 Organization: A noiseless patient Spider Message-ID: <87liy3hnjt.fsf@ludovic-brenta.org> References: <15ff2ec1-5a2b-4d24-8aab-cf7985b6374f@t19g2000yql.googlegroups.com> <2e496d2c-f12f-4961-981b-2162fdf1ce1e@k3g2000prl.googlegroups.com> <1vakqa4gwjxry$.9j72428ewqp0.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx04.eternal-september.org; posting-host="XfA8Dy2nIKaq3bPofVQpXw"; logging-data="17742"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+GMwYFpDvORsM2TxV3VQN" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:g9oy7KXe2VqBhgnbY7MunvsbGnY= sha1:DTFFCjK66HHbCtBwi3r60nCOKdY= Xref: g2news2.google.com comp.lang.ada:20271 Date: 2011-05-18T20:27:18+02:00 List-Id: Gary writes: > BTW... through experimentation, I have learned that Gate seemingly > does not correctly convert the "delete_event" signal to a complete Ada > function. I had to add the "Gtk.Main.Main_Quit" code manually to get > the app to terminate properly. I don't think you can blame glade or gate for that. Neither knows the semantics of every signal; they emit only a skeleton implementation for the signal handler; it is always up to you to make the signal handlers actually do anything like, in this case, leaving the GTK+ main loop. -- Ludovic Brenta.