Contents Up Previous Next

wxTabView overview

Classes: wxTabView, wxPanelTabView

A wxTabView manages and draws a number of tabs. Because it is separate from the tabbed window implementation, it can be reused in a number of contexts. This library provides tabbed dialog and panel classes to use with the wxPanelTabView class, but an application could derive other kinds of view from wxTabView.

For example, a help application might draw a representation of a book on a window, with a row of tabs along the top. The new tab view class might be called wxCanvasTabView, for example, with the wxBookCanvas posting the OnEvent function to the wxCanvasTabView before processing further, application-specific event processing.

A window class designed to work with a view class must call the view's OnEvent and Draw functions at appropriate times.