On Fri, May 25, 2012 at 5:34 PM, Michael O'Donnell <mi...@wagsoft.com> wrote: > He found that if you set argv_emulation to False, the program > worked as expected. > > NOW, I need argv_emulation, since a user might open my application by > double clicking on a document associated with my program. I don't want to > lose > this functionality (which users are used to by now) just because of a bug.
Perhaps argv emulation isn't the only way to support this. Does tkInter on the Mac Support the Mac-specific events? For example, wxPython has mac-specific events you can catch for files dropped on the app, or selected at startup -- so argv emulation isn't required. Maybe Tk doesn't have those, but it's worth a look. > Now, I find it atrange that a bit of code which deals with passing > command line args to the program should mess up Tkinter's > windowing, just doesn't make sense. I agree -- though I suppose it could be interfering with the TK code to handle it -- so maybe it does exist. good luck, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG