Hi I am using the ListBook widget and I noticed that when it doesn’t have a tab, there is a blank area (where the Page should be). Is there a way I can fill this area so it doesnt look so empty?
Hi,
···
On Sunday, October 14, 2012 8:19:25 AM UTC-5, Waffle wrote:
Hi I am using the ListBook widget and I noticed that when it doesn’t have a tab, there is a blank area (where the Page should be). Is there a way I can fill this area so it doesnt look so empty?
The listbook should have its “tabs” on the left by default. The wxPython demo uses images for the tabs. Have you looked at the demo?
- Mike
Yeah I have looked at the demo.
ListBook automatically reserves a space (for the Page). When the listbook does not have a Tab (or page) this space will be empty.
For me, this looks a little weird and I want to fill this empty space with a page.
···
On Monday, October 15, 2012 3:40:14 PM UTC-3, Mike Driscoll wrote:
Hi,
On Sunday, October 14, 2012 8:19:25 AM UTC-5, Waffle wrote:
Hi I am using the ListBook widget and I noticed that when it doesn’t have a tab, there is a blank area (where the Page should be). Is there a way I can fill this area so it doesnt look so empty?
The listbook should have its “tabs” on the left by default. The wxPython demo uses images for the tabs. Have you looked at the demo?
- Mike
Some programs open up a new tab when the last tab is closed. Some open up a help tab, or a "Getting Started" tab. Others veto the last tab closure. Some actually leave the blank space.
I attached a simple example which implements, in my opinion, the most useful. You could have the HTML page display news about your latest update, etc
Lastly, I thought ListBook was for doing "Options/Preferences Dialogs", where dynamic opening and closing of pages does not take place. Try the FlatNoteBook, it has more features.
demo.py (2.14 KB)
···
On 10/15/2012 9:12 PM, Waffle wrote:
Yeah I have looked at the demo.
ListBook automatically reserves a space (for the Page). When the listbook
does not have a Tab (or page) this space will be empty.For me, this looks a little weird and I want to fill this empty space with
a page.