Re: [Gtk-osx-users] Crash on "Quit" in menu.
- From: John Ralls <jralls ceridwen us>
- To: mikkel structura-it dk
- Cc: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
- Subject: Re: [Gtk-osx-users] Crash on "Quit" in menu.
- Date: Mon, 11 Apr 2011 13:27:49 -0700
On Apr 11, 2011, at 12:50 PM, Mikkel Kruse Johnsen wrote:
> Hi John
>
> Ahh, "gtk_application_set_use_quartz_accelerators" did the trick, now cmd-q works. Thanks
>
> I don't see the "NSApplicationShouldTerminate" you talk about, is it not in GtkOSXApplication ?
>
> I have attached the report, but I can see that the test program I send you, don't have a problem when quitting. So it must be Mono that has the problem.
>
> As you can see I use Mono on Mac and I wrap the GtkOSXApplication. Could you add the attached patch for easier wrapping to C# !!
>
NSApplicationShouldTerminate is the name of the notification that OSX sends; GNSApplicationDelegate receives it and in turn emits the NSApplicationBlockTermination event.
I don't think that it's a good idea to wrap Gtk inside of Mono (or vice-versa). Use one or the other.
And no, neither Gtk nor OSX support C#, so I'm not going to, either. Sorry.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]