开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜