Looking for wizard-like widget

I don’t know wxGlade (usually writing wx code manually) but making 3 panels and using Andrea’s WidgetStack should be very simple.

A Notebook or FlatNotebook sounds like a great option and work well in wxGlade only the user can still switch tabs using the tab-bar, even to tabs which I don’t want to be enabled (even after calling EnableTab(False) on FlatNotebook).

Trying the FlatNotebook demo, It seems like I can’t switch to disabled tabs.

···

On 11/04/2008, Tim van der Leeuw tnleeuw@gmail.com wrote:

Hi,

I’m looking for a widget which works kind of like a wizard: multiple panes, which are hidden and shown under control of the application, only 1 of them visible at a time.

I know that there’s the Wizard - but that’s a TopLevel frame, I would like something like it, but as a widget within my frame.

Something like a Notebook where the row with tab-buttons can be hidden, and where I can excersize programmatic control over which page is displayed to the user.

I’m using wxGlade for building the GUI. Drawback of the Wizard is that it’s not available in wxGlade, so I’ll have to design standalone-panels and integration will be more effort (the panels have a number of interdependancies and will depend on a lot of code in the outer window managing the whole show).

Putting multiple panels in 1 window and hiding/showing them when it suits me is a bit cumbersome for editing the GUI in wxGlade, but since it’s only 3 panels it might be an option still.

A Notebook or FlatNotebook sounds like a great option and work well in wxGlade only the user can still switch tabs using the tab-bar, even to tabs which I don’t want to be enabled (even after calling EnableTab(False) on FlatNotebook).

What would people recommend me?

Kind regards,

–Tim


wxpython-users mailing list
wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users