On windows xp, the demo works ok.
Platform and version? Latest version of FlatNotebook? The fact that
the demo works is a good way to say that FlatNotebook works.
But in my own app I replaced the generic Notebook control with FlatNotebook.
FlatNotebook does not show the tab headers, so I can not navigate between the
pages. My app uses pyaui. There are no stacktraces.
If you are using wxPython 2.7, forget PyAUI. I don't know what
happened, but it's not working anymore in a correct and safe way.
It would be nice if FlatNotebook could be decomposed into smaller classes
It is:
- FNBDragInfo;
- FNBDropTarget;
- PageInfo;
- FlatNotebookEvent;
- FlatNotebookBase;
- FlatNotebook;
- StyledNotebook
- StyledTabsContainer.
that I could use just what I want and nothing more. It would it also make easier
to find out which "feature" breaks it.
I don't see anything broken here, with a similar approach as yours.
Try the attached file and let us know. It works here, with:
- PyAUI development version
- wxPython 2.6.3.3
- Latest FlatNotebook
- Pythom 2.4.3
- Windows XP
What about discovering by yourself what is actually broken and report
it back? What about splitting yourself into smaller classes and report
it back?
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/
AUI_FNB.py (3.35 KB)