wxPython: Change Frame OnButtonPress
<p>I'm trying to develop a GUI in wxPython, but I would need some help. Here's what I'd like to achieve.
The app should have 3 frames, but the catch is that only one frame should be visible at a time. There should be buttons on each of these frames. These buttons should serve as a kind of menu and they should a( hide the currently visible frame; and b) show a different frame.
I know the common approach is to just use one frame with multiple panels, but for some reason this approach doesn't work too good for me.
The application must be completely accessible to screen reader users and it seems that in some cases showing and hiding panels is not enough. I'm a screen reader user myself and it appears to me that screen readers don't always realize that the contents of the frame has changed if you only show and hide panels. I'm guessing that showing different frames alltogether could solve the problem.
I would be grateful for a little working example. I know some of the things I should use, but despite of this I was unable to come up with anything.
Many thanks.</p>