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,UTF8 Path: g2news2.google.com!news4.google.com!feeder.news-service.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 23:54:10 +0200 Organization: A noiseless patient Spider Message-ID: <87mxijeku5.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> <87liy3hnjt.fsf@ludovic-brenta.org> <266ef531-1873-4fae-8214-b743e30c7c9f@22g2000prx.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx04.eternal-september.org; posting-host="mAHu+WuR1izqqG3uxklGxw"; logging-data="9865"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lQKcQM6GWSLY3HzaIRw3h" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:iRvS66CIERVDXIKGP4DkkrqFI5w= sha1:AO3Hpwkf4dHttoG/0gUlocOIaZ8= Xref: g2news2.google.com comp.lang.ada:20277 Date: 2011-05-18T23:54:10+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. > > One of the docs I read stated that a directory named ".gate" is > created when Gate is first executed which maintains a record of the > changes you make to the generated Gate source code. Supposedly, this > allows you to make modifications to the generated source and it will > be re-inserted into the source files each time you modify your Glade > output. However, I can not find such a directory on my Windows XP > machine, and every time I rerun Glade and Gate, my changes are gone. > Any thoughts on that? Gate needs diff and patch to do that. Make sure you have them installed. Normally, the configure script of GtkAda tries to detect the presence of diff and patch; check the configure log to see what it found. If not, install diff and patch and re-run configure and the installation procedure of GtkAda. -- Ludovic Brenta.