From: Kevin W. <kw...@co...> - 2015-05-01 20:25:15
|
You may need to read Apple's docs about configuring the info.plist file to identify the document types your app can handle. Without that the open event is ignored. > On May 1, 2015, at 4:15 PM, Damon Courtney <da...@tc...> wrote: > > I had already read through your tutorial, but it didn’t have what I needed. The ‘make embedded’ is what I was looking for. :) > > Now, for another one. I’ve created the ::tk::mac::OpenDocument proc in my app, and it opens files properly when I right-click and open with the application, but my app is not responding to drag-and-drop events. I can’t drop a file on the app, and the Tk docs seem to imply that you can. > > Does that still work? I’m using the latest Tk tip, so I should be using the new Cocoa stuff (though I’m not sure how I would know). > > Damon > > >> On Apr 30, 2015, at 8:21 PM, Kevin Walzer <kw...@co...> wrote: >> >> On 4/30/15 4:46 PM, Damon Courtney wrote: >>> So, once you have a build from source, how do you build a standalone .app on the Mac? build/tk/ contains all the necessary pieces, but I’m not sure where they should all go. It would seem that the frameworks need to inside the .app bundle, but Wish.app itself is a symlink into Tk.framework. >>> >>> Seems there’s a lot of recursion here, and I’m not sure how to unravel this snake. :) >> Here's a general tutorial on prepping an app bundle: >> >> http://opensource.codebykevin.com/tutorial.html >> >> To build a standalone version of Wish with the frameworks embedded, see http://wiki.tcl.tk/12987. You'll need to scroll down the page and look for "embedded." >> >> Hope that helps, >> Kevin >> >> -- >> Kevin Walzer >> Code by Kevin/Mobile Code by Kevin >> http://www.codebykevin.com >> http://www.wtmobilesoftware.com > |