window from menu

Hi. How can you make a new window appear when you click on one menu item?

It doesnt work. If you do that, you get a window inside the frame, but I want a floating window. Dialog is not worth for me, as I need it not to be modal

Any suggestions?

···

On 3/8/07, Robin Dunn robin@alldunn.com wrote:

fatima cabot wrote:

Hi. How can you make a new window appear when you click on one menu item?

The same way you create and show the original window. In that menu
item’s event handler create a new instance of the class defining the

window you want, and then Show() it.


Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!


To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org