wx.aui.AuiTabContainer¶
wx.aui.AuiTabContainer is a class which contains information about each tab.
It also can render an entire tab control to a specified DC. It’s not a window class itself, because this code will be used by the wx.aui.AuiNotebook, where it is disadvantageous to have separate windows for each tab control in the case of “docked tabs”.
A derived class, AuiTabCtrl, is an actual wx.Window - derived window which can be used as a tab control in the normal sense.
Class Hierarchy¶
Methods Summary¶
Default constructor. |
|
Properties Summary¶
See |
|
See |
|
See |
|
See |
|
See |
Class API¶
- class wx.aui.AuiTabContainer(object)¶
Possible constructors:
AuiTabContainer() -> None
AuiTabContainer is a class which contains information about each tab.
Methods¶
- __init__(self)¶
Default constructor.
- Return type:
None
- AddButton(self, id, location, normalBitmap=BitmapBundle(), disabledBitmap=BitmapBundle())¶
- Parameters:
id (int)
location (int)
normalBitmap (wx.BitmapBundle)
disabledBitmap (wx.BitmapBundle)
- Return type:
None
- AddPage(self, page, info)¶
- Parameters:
page (wx.Window)
info (wx.aui.AuiNotebookPage)
- Return type:
bool
- ButtonHitTest(self, x, y, hit)¶
- Parameters:
x (int)
y (int)
hit (AuiTabContainerButton)
- Return type:
bool
- DoShowHide(self)¶
- Return type:
None
- GetActivePage(self)¶
- Return type:
int
- GetArtProvider(self)¶
- Return type:
- GetFlags(self)¶
- Return type:
int
- GetPage(self, idx)¶
- Parameters:
idx (int)
- Return type:
- GetPageCount(self)¶
- Return type:
int
- GetPages(self)¶
- Return type:
AuiNotebookPageArray
- GetTabOffset(self)¶
- Return type:
int
- GetWindowFromIdx(self, idx)¶
- Parameters:
idx (int)
- Return type:
Window
- InsertPage(self, page, info, idx)¶
- Parameters:
page (wx.Window)
info (wx.aui.AuiNotebookPage)
idx (int)
- Return type:
bool
- IsTabVisible(self, tabPage, tabOffset, dc, wnd)¶
- RemoveButton(self, id)¶
- Parameters:
id (int)
- Return type:
None
- SetActivePage(self, *args, **kw)¶
-
SetActivePage (self, page)
- Parameters:
page (wx.Window)
- Return type:
bool
SetActivePage (self, page)
- Parameters:
page (int)
- Return type:
bool
- SetArtProvider(self, art)¶
- Parameters:
art (wx.aui.AuiTabArt)
- Return type:
None
- SetFlags(self, flags)¶
- Parameters:
flags (int)
- Return type:
None
- SetNoneActive(self)¶
- Return type:
None
- SetTabOffset(self, offset)¶
- Parameters:
offset (int)
- Return type:
None
Properties¶
- ActivePage¶
See
GetActivePage
andSetActivePage
- ArtProvider¶
See
GetArtProvider
andSetArtProvider
- PageCount¶
See
GetPageCount
- TabOffset¶
See
GetTabOffset
andSetTabOffset