you can use a notebook which will allow you to have as many pages as you wish.
You can switch from page to page either by clicking, or programmatically force
page change,
Use the demo (https://python-forum.io/Thread-moving-fr...2#pid40072)
look under book controls, and click on Notebook.
Look at the class: TestNB which pretty much lays out what you need to get started.
Also see: https://wxpython.org/Phoenix/docs/html/wx.Notebook.html
which will show:
You can switch from page to page either by clicking, or programmatically force
page change,
Use the demo (https://python-forum.io/Thread-moving-fr...2#pid40072)
look under book controls, and click on Notebook.
Look at the class: TestNB which pretty much lays out what you need to get started.
Also see: https://wxpython.org/Phoenix/docs/html/wx.Notebook.html
which will show:
- Possible constructors:
Notebook() Notebook(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=0, name=NotebookNameStr)
- ChangeSelection which will explain how to programmatically change pages
- InsertPage - allows you to programmatically insert a new page