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
Inheritance diagram for class
AuiTabContainer:
Methods Summary
Properties Summary
Class API
-
class
wx.aui.
AuiTabContainer
(object)
Possible constructors:
AuiTabContainer is a class which contains information about each
tab.
Methods
-
__init__
(self)
Default constructor.
-
AddButton
(self, id, location, normalBitmap=NullBitmap, disabledBitmap=NullBitmap)
-
-
AddPage
(self, page, info)
Parameters: |
|
Return type: | bool
|
-
ButtonHitTest
(self, x, y, hit)
Parameters: |
|
Return type: | bool
|
-
DoShowHide
(self)
-
GetActivePage
(self)
-
-
GetArtProvider
(self)
-
-
GetFlags
(self)
-
-
GetIdxFromWindow
(self, page)
Parameters: | page (wx.Window) – |
Return type: | int |
-
GetPage
(self, idx)
-
-
GetPageCount
(self)
-
-
GetPages
(self)
Return type: | AuiNotebookPageArray |
-
GetTabOffset
(self)
-
-
GetWindowFromIdx
(self, idx)
Parameters: | idx (int) – |
Return type: | Window |
-
InsertPage
(self, page, info, idx)
Parameters: |
|
Return type: | bool
|
-
IsTabVisible
(self, tabPage, tabOffset, dc, wnd)
Parameters: |
|
Return type: | bool
|
-
MakeTabVisible
(self, tabPage, win)
-
-
MovePage
(self, page, newIdx)
Parameters: |
|
Return type: | bool
|
-
RemoveButton
(self, id)
-
-
RemovePage
(self, page)
Parameters: | page (wx.Window) – |
Return type: | bool |
-
SetActiveColour
(self, colour)
-
-
SetActivePage
(self, *args, **kw)
Overloaded Implementations:
SetActivePage (self, page)
Parameters: | page (wx.Window) – |
Return type: | bool |
SetActivePage (self, page)
Parameters: | page (int) – |
Return type: | bool |
-
SetArtProvider
(self, art)
-
-
SetColour
(self, colour)
-
-
SetFlags
(self, flags)
-
-
SetMeasuringFont
(self, measuringFont)
Parameters: | measuringFont (wx.Font) – |
-
SetNoneActive
(self)
-
SetNormalFont
(self, normalFont)
-
-
SetRect
(self, rect)
-
-
SetSelectedFont
(self, selectedFont)
Parameters: | selectedFont (wx.Font) – |
-
SetTabOffset
(self, offset)
Parameters: | offset (int) – |
-
TabHitTest
(self, x, y, hit)
Parameters: |
- x (int) –
- y (int) –
- hit (Window) –
|
Return type: | bool
|
Properties
-
ActivePage
See GetActivePage
and SetActivePage
-
ArtProvider
See GetArtProvider
and SetArtProvider
-
Flags
See GetFlags
and SetFlags
-
PageCount
See GetPageCount
-
Pages
See GetPages
-
TabOffset
See GetTabOffset
and SetTabOffset