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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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 Path: g2news2.google.com!postnews.google.com!22g2000prx.googlegroups.com!not-for-mail From: Gary Newsgroups: comp.lang.ada Subject: Re: GtkAda using Glade Date: Wed, 18 May 2011 11:42:58 -0700 (PDT) Organization: http://groups.google.com Message-ID: <266ef531-1873-4fae-8214-b743e30c7c9f@22g2000prx.googlegroups.com> 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> NNTP-Posting-Host: 98.88.179.222 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1305744179 15217 127.0.0.1 (18 May 2011 18:42:59 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 18 May 2011 18:42:59 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 22g2000prx.googlegroups.com; posting-host=98.88.179.222; posting-account=0XWPhwoAAADr6lww5Nx1mZKUCofb0j1i User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:20272 Date: 2011-05-18T11:42:58-07:00 List-Id: > > 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. =A0Neither 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?