Re: [Gtk-osx-users] Opening files in GTK app from Finder?
- From: John Ralls <jralls ceridwen fremont ca us>
- To: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
- Subject: Re: [Gtk-osx-users] Opening files in GTK app from Finder?
- Date: Thu, 24 Sep 2009 09:44:21 -0700
On Sep 24, 2009, at 1:14 AM, John Pye wrote:
> Hi all
>
> Does anyone have a solution in PyGTK (or C) for open files in a GTK
> app
> using Finder?
>
> Via the terminal, I can type
>
> open -a ASCEND models/johnpye/testlog10.a4c
>
> but this doesn't actually result in my file being opened.
>
> As far as I can tell, this 'open' thing sends some kind of even to my
> application, but I'm not sure what the correct way of dealing with
> that
> event might be. Is this something that's dealt with in
> ige-mac-integration, perhaps?
>
That's done with Apple events, which Gtk applications don't support
directly. It's on the To Do List [1] to implement a handler and pass-
through to Gtk actions in ige-mac-integration. Sorry.
Regards,
John Ralls
[1] http://sourceforge.net/apps/trac/gtk-osx/wiki/ToDo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]