Control 3 Frames from Main Menu

Hi,

I created three frames separately. I need to call these child frames
from the click events of buttons located in a main frame. And when a
child frame is open, I want the main frame to be hidden or disabled
until the child frame is closed. How can I do this?

Thanks in advance.

Use wx.Dialog instead of wx.Frame and ShowModal() instead of Show().

Alternatively, you can just use the main frame as a parent for the
child frames and just call
child.GetParent().Hide()

ยทยทยท

On Tue, Mar 15, 2011 at 8:29 AM, Shansal <sansal.birbas@gmail.com> wrote:

Hi,

I created three frames separately. I need to call these child frames
from the click events of buttons located in a main frame. And when a
child frame is open, I want the main frame to be hidden or disabled
until the child frame is closed. How can I do this?

Thanks in advance.

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

--
There is NO FATE, we are the creators.
blog: http://damoc.ro/