Re: app won't quit?

Charles Hartman <[email protected]>
Newsgroups gmane.comp.python.apple
Message-ID <CAJCj7-wZnY8p7+h0aOJLuXZsTZAJLhc351GSraXOM+_D2+oT1Q@mail.gmail.com>
Thanks, but no.  My app never touches EV_CLOSE, and it doesn't do threading
at all.


On Tue, May 28, 2013 at 7:34 AM, Paul Wiseman <[email protected]> wrote:

> On 27 May 2013 16:26, Charles Hartman <[email protected]> wrote:
>
>> I'm coming back to all of this after years away, so I'm sure I'm missing
>> something simple.  I've brought an old app into the current world:
>>
>>    Python 2.7.5
>>    OS 10.8.3
>>    wxPython 2.9.4.0
>>    py2app 0.7.3
>>
>> and I rebuilt my setup.py to current specifications.  The resulting app
>> works fine (though it's enormous!), but it won't respond to a Quit command
>> (keyboard or menu).  The menu-bar header (with my app's name) flashes, but
>> nothing else happens.
>>
>> Thanks for any help.
>>
>>
> In wx the app will close if all top level frames are closed, so if some
> are left open it wont, did you override some close event handlers possibly
> by binding to EVT_CLOSE?
>
> Also the app will stay running as long as any non-daemon threads are
> running- are you using any threading in the app?
>
>
>>
>> --
>>
>> Charles O. Hartman
>> Poet in Residence
>> Lucy Marsh Haskell '19 Professor of Literatures in English
>> oak.conncoll.edu/cohar
>>
>>
>> _______________________________________________
>> Pythonmac-SIG maillist  -  [email protected]
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
>>
>>
>


-- 

Charles O. Hartman
Poet in Residence
Lucy Marsh Haskell '19 Professor of Literatures in English
oak.conncoll.edu/cohar

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.