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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:294f:: with SMTP id p76mr2727250itp.34.1545416786176; Fri, 21 Dec 2018 10:26:26 -0800 (PST) X-Received: by 2002:a9d:148:: with SMTP id 66mr62426otu.5.1545416786087; Fri, 21 Dec 2018 10:26:26 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.215.MISMATCH!k10no73271itk.0!news-out.google.com!v71ni95ita.0!nntp.google.com!k10no73267itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 21 Dec 2018 10:26:25 -0800 (PST) In-Reply-To: <9dde48ef-641e-449b-bce3-8a4300b55ca0@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:1205:c691:8bf0:3524:99af:a4d3:7696; posting-account=Pm0FhgoAAAAiPscNT3etSZ15tHNZGXm_ NNTP-Posting-Host: 2a02:1205:c691:8bf0:3524:99af:a4d3:7696 References: <1ca19a21-adfc-45b6-afea-9f7665300ef3@googlegroups.com> <860dce58-13f0-4bbe-b5d2-3cdfc30aa22f@googlegroups.com> <9dde48ef-641e-449b-bce3-8a4300b55ca0@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: OSX Quit is not the same as Close From: ahlan.marriott@gmail.com Injection-Date: Fri, 21 Dec 2018 18:26:26 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:55098 Date: 2018-12-21T10:26:25-08:00 List-Id: On Monday, 17 December 2018 08:10:26 UTC+1, ahlan.m...@gmail.com wrote: > On Sunday, 16 December 2018 20:35:38 UTC+1, gautier...@hotmail.com wrote= : > > Hi Ahlan, > > Just wild-guessing: perhaps you need to see how to close the main menu? > > On Macs (GUI-wise) the Menu is the boss, even when all windows are clos= ed. > > On Windows, the main window is at the top and may contain a menu with a= Quit command. > > HTH > > Gautier >=20 > All OSX applications have a menu, the first pulldown of which has the sam= e name as the application and which contains a quit item. Selecting this do= es nothing. This may well be the same as the Quit in the dock. The question= still remains though on how to catch the event generated by selecting this= item because my program didn't create it. I guess that in order to do OSX specific things such as handle the menu qui= t or find out the filename that started the application (if the application= was associated to a file) then I will need to use GtkOsxApplication. Does anyone know if there are Ada bindings to GtkOsxApplication? MfG Ahlan