Bind self.Close() to Ctrl-Q

Using Ctrl-W to close one of multiple open windows in a application is
standard, while Ctrl-Q is commonly used to exit the entire application. I
find no self.Quit() in my web search. Is there a way to bind wx.Close() to
Ctrl-Q?

Rich

https://wxpython.org/Phoenix/docs/html/wx.CloseEvent.html

···

On Sun, Apr 29, 2018 at 3:08 PM, Rich Shepard rshepard@appl-ecosys.com wrote:

Using Ctrl-W to close one of multiple open windows in a application is

standard, while Ctrl-Q is commonly used to exit the entire application. I

find no self.Quit() in my web search. Is there a way to bind wx.Close() to

Ctrl-Q?

https://wxpython.org/Phoenix/docs/html/wx.CloseEvent.html

–Matt

Thanks, Matt. I searched for wx.Close() and wx.Quit() and didn't find this
page.

Regards,

Rich

···

On Sun, 29 Apr 2018, Matt Newville wrote:

wx.CloseEvent — wxPython Phoenix 4.2.3a1 documentation