comp.lang.ada
 help / color / mirror / Atom feed
From: ahlan.marriott@gmail.com
Subject: Re: OSX Quit is not the same as Close
Date: Fri, 21 Dec 2018 10:26:25 -0800 (PST)
Date: 2018-12-21T10:26:25-08:00	[thread overview]
Message-ID: <a25097e5-0734-4e7e-8a6d-c365f7cec7f6@googlegroups.com> (raw)
In-Reply-To: <9dde48ef-641e-449b-bce3-8a4300b55ca0@googlegroups.com>

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 closed.
> > On Windows, the main window is at the top and may contain a menu with a Quit command.
> > HTH
> > Gautier
> 
> All OSX applications have a menu, the first pulldown of which has the same name as the application and which contains a quit item. Selecting this does 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 quit 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

      reply	other threads:[~2018-12-21 18:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-15 11:23 OSX Quit is not the same as Close ahlan.marriott
2018-12-16 19:35 ` gautier_niouzes
2018-12-17  7:10   ` ahlan.marriott
2018-12-21 18:26     ` ahlan.marriott [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox