wx.lib.agw.labelbook.LabelBook¶An implementation of a notebook control - except that instead of having tabs to show labels, it labels to the right or left (arranged horizontally).
Methods Summary¶__init__ |
Default class constructor. |
CreateImageContainer |
Creates the image container (LabelContainer) class for FlatImageBook. |
GetColour |
Returns the colour for the specified parameter. |
OnSize |
Handles the wx.EVT_SIZE event for LabelBook. |
SetColour |
Sets the colour for the specified parameter. |
Class API¶LabelBook(FlatBookBase)¶An implementation of a notebook control - except that instead of having tabs to show labels, it labels to the right or left (arranged horizontally).
__init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, agwStyle=0, name="LabelBook")¶Default class constructor.
| Parameters: |
|
|---|
CreateImageContainer(self)¶Creates the image container (LabelContainer) class for FlatImageBook.
GetColour(self, which)¶Returns the colour for the specified parameter.
| Parameters: | which – the colour key. |
|---|
See also
LabelContainer.SetColour() for a list of valid colour keys.
OnSize(self, event)¶Handles the wx.EVT_SIZE event for LabelBook.
| Parameters: | event – a wx.SizeEvent event to be processed. |
|---|
SetColour(self, which, colour)¶Sets the colour for the specified parameter.
| Parameters: |
|
|---|
See also
LabelContainer.SetColour() for a list of valid colour keys.