Preventing New Windows from Capturing Focus wxPython
How do I make a newly created window in 开发者_Python百科wxPython not take focus? I'd like to be able to create a new window, without focus jumping to it.
I've never tried it, but I've heard you can do
window.Disable()
window.Show()
window.Enable()
That seems a little counter-intuitive. However, you can also simulate this by creating and showing the second frame and then calling Raise() on the original frame.
精彩评论