Re: Notebook Stuff
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Dec 16, 2005
- 536 views
Andy wrote: > > I need some help on the wxNotebook control. Like an example, thanks As CK mentioned, there's the demo: "toolbar_notebook_grid.exw". You could also look at wxEDB or wxIDE to see how I use the wxNotebook control there. The basic process is that you create the wxNotebook, and then you create some wxPanels with the wxNotebook as parent. These will be the pages, or tab items for the wxNotebook. You also need to create a wxNotebookSizer. Then you use add_page() to add the pages to your wxNotebook. Create whatever controls you want for each tab as children of the appropriate wxPanel. Matt Lewis