Re: [Gtk-osx-users] how does "NSApplicationOpenFile" work?
- From: John Ralls <jralls ceridwen us>
- To: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
- Subject: Re: [Gtk-osx-users] how does "NSApplicationOpenFile" work?
- Date: Fri, 11 Feb 2011 12:53:10 -0800
On Feb 11, 2011, at 4:22 AM, Olivier Sessink wrote:
> Hi all,
> I'm playing with the "NSApplicationOpenFile" signal. However, if I try
> to open a file form the finder right now a new process is started by
> the finder, but the signal is not trigerred. Is there a piece of
> example code somewhere that shows how this signal works?
If I remember correctly, the Delegate doesn't get set up quickly enough for the signal to be emitted if the app is opened by launchd on the File Open Apple Event, so the open event is handled only when the app is already active.
] [Thread Prev