wx.Choicebook

Inheritance diagram for wx.Choicebook:



Description

wx.Choicebook is a class similar to wx.Notebook but which uses a wx.Choice to show the labels instead of the tabs.

There is very little documentation for this class but its usage is identical to wx.Notebook (except for the features clearly related to tabs only), so please refer to that class documentation for now.

This is particularly useful when screen space is restricted, as it often is when wx.Choicebook is being employed.

See also

wx.Notebook

Window Styles

Window Style Description
wx.CHB_DEFAULT Choose the default location for the labels depending on the current platform (left everywhere except Mac where it is top).
wx.CHB_TOP Place labels above the page area.
wx.CHB_LEFT Place labels on the left side.
wx.CHB_RIGHT Place labels on the right side.
wx.CHB_BOTTOM Place labels below the page area.

Control Appearance


wxMSW

wxMSW

wxMAC

wxMAC

wxGTK

wxGTK


Methods Summary

Properties Summary

Class API

Methods

__init__(parent, id, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, name="")

Constructor.

Parameters:


Returns:

wx.Choicebook


GetChoiceCtrl()

Returns the wx.Choice control associated with wx.Choicebook.


Returns:

wx.Choice


Properties

ChoiceCtrl
See GetChoiceCtrl