I need two controls to ocupy the same space. One control will be a 'details'
view and the other will be a 'grid/thumbnail' view. The frame should show
only one control at a time, letting the user to switch between the two
controls.
The first idea I've got is to use a notebook without tabs and put each view
on a notebook page. The problem is that I haven't found yet a way to hide
the tabs of the notebook. Is it possible to have a notebook without tabs ?
I need two controls to ocupy the same space. One control will be a 'details'
view and the other will be a 'grid/thumbnail' view. The frame should show
only one control at a time, letting the user to switch between the two
controls.
The first idea I've got is to use a notebook without tabs and put each view
on a notebook page. The problem is that I haven't found yet a way to hide
the tabs of the notebook. Is it possible to have a notebook without tabs ?
No.
Is there other way to achieve what I want ?
Yes. Just put your two pages on two wxPanels. Hide() the one you don't want to be visible at the moment, and Show() the one you do. To switch to another page just Hide/Show again as appropriate. You'll also need to do something to manage the size/position of the visible panel.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!