Ok. I'm a bit confused about this. I've been playing with wxGlade and it
only seems to give me the option of creating wxFrames. However, I find
myself wanting one wxFrame, which I load different wxPanels into, based on
whats happening in the application.
Is one way better than the other? Thinking about it, it would actually be
easier to have multiple wxFrames, each with their own menu. But it just
doesn't "feel" right to do it this way. (Must be an MFC hangover or
something...)
Ok. I'm a bit confused about this. I've been playing with wxGlade and it
only seems to give me the option of creating wxFrames. However, I find
myself wanting one wxFrame, which I load different wxPanels into, based on
whats happening in the application.
Is one way better than the other? Thinking about it, it would actually be
easier to have multiple wxFrames, each with their own menu. But it just
doesn't "feel" right to do it this way. (Must be an MFC hangover or
something...)
Opinions?
Either way is fine. For the first approach you can have multiple panels, with all but one of the hidden. Then you just show the new one and hide the current when you want to switch. If you want to change menus around at the same time it gets a little more tricky, but is still doable.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!