FlatNotebook control is a custom notebook control provided by the
wx.lib module. It offers many additional basic and advanced features over the simple
wx.Notebook class that is offered by the main library. For example, tabs are able to have close buttons on them along with several different visual display styles, and tabs can be dragged and reordered. As
FlatNotebook is an owner-drawn control, it provides a lot more options for taking control of the behavior of your application. In this recipe, we will take a look at some of the useful features that
FlatNotebook has to offer.
Perform the following steps:
FlatNotebook, as follows:
import wx import ...