Re: Gnome "Quit" menu is like clicking a button in a wxPython modal dialog

Karsten Hilbert <[email protected]> Sun, 13 Dec 2020 18:42:41 +0100
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
Am Sun, Dec 13, 2020 at 04:47:06PM +0100 schrieb Matthias Brennwald:

> I don't quite get how this would work. Where and how would I add a delay?
> I want the "Quit" menu to do NOTHING with a modal dialog, or with a MessageBox. In
> particular, the "Quit" menu should not close a modal dialog or a MessageBox.

You may need to do a special kind of nothing: _Do_ catch the
event (as if to do something) but then do your nothing within
the handler.

Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/X9ZSkaThJfwwcOWD%40hermes.hilbert.loc.