FlatNotebook - some inconsistencies with wx.Notebook

Werner F. Bruhin werner.bruhin at free.fr
Sun Mar 11 07:57:05 PDT 2007


Andrea,

First of all thanks for this nice control.

I am experimenting with it and noticed a couple of things.

- AssignImageList
Is not supported by the control.  No big deal as I can use SetImageList, 
but does this mean that I have to manually delete the list or will wx 
automagically take care of destroying it.

- Controls on default page do not show
They show after I click on any page tab other then the default tab.  If 
I add self.notebook.SetSelection(0) after having added all pages to the 
notebook then it is ok.

- Events naming
Is it necessary that events are named differently, e.g. 
fnb.EVT_FLATNOTEBOOK_PAGE_CHANGING instead of fnb.EVT_NOTEBOOK_PAGE_CHANGING


Werner





More information about the wxpython-users mailing list