[wxPython-users] changing focus from dialog
Cody Precord
codyprecord at gmail.com
Sat Jan 12 22:14:14 PST 2008
Hello,
If you want to be able to have both the dialog and main window usable
a the same time use wx.Dialog.Show() instead of wx.Dialog.ShowModal
(). ShowModal will block the other windows from being able to get the
focus
Regards,
Cody Precord
On Jan 12, 2008, at 10:26 PM, Paul Hartley wrote:
>
> I assume it is possible to switch between a custom-made wx.Dialog
> window and the parent window, but I'm having trouble figuring out
> the right way to do this. Basically, after I click on a button in
> the main application, a wx.Dialog window pops up, and I'd like to
> be able to click on the application window again to bring it into
> focus. Currently, the wx.Dialog window is brought up with ShowModal
> () and gets destroyed after closing it. Can anyone help with a
> description or point me in the right direction? thanks
>
More information about the wxpython-users
mailing list