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.
Default constructor. |
|
See |
|
See |
|
See |
|
See |
|
See |
wx.aui.
AuiTabContainer
(object)¶Possible constructors:
AuiTabContainer() -> None
AuiTabContainer is a class which contains information about each tab.
__init__
(self)¶Default constructor.
None
AddButton
(self, id : int, location : int, normalBitmap: BitmapBundle=BitmapBundle(), disabledBitmap: BitmapBundle=BitmapBundle())¶id (int) –
location (int) –
normalBitmap (wx.BitmapBundle) –
disabledBitmap (wx.BitmapBundle) –
None
AddPage
(self, page : Window, info : AuiNotebookPage)¶page (wx.Window) –
info (wx.aui.AuiNotebookPage) –
bool
ButtonHitTest
(self, x : int, y : int, hit : AuiTabContainerButton)¶x (int) –
y (int) –
hit (AuiTabContainerButton) –
bool
DoShowHide
(self)¶None
GetActivePage
(self)¶int
GetArtProvider
(self)¶GetFlags
(self)¶int
GetPage
(self, idx : int)¶idx (int) –
GetPageCount
(self)¶int
GetPages
(self)¶AuiNotebookPageArray
GetTabOffset
(self)¶int
GetWindowFromIdx
(self, idx : int)¶idx (int) –
Window
InsertPage
(self, page : Window, info : AuiNotebookPage, idx : int)¶page (wx.Window) –
info (wx.aui.AuiNotebookPage) –
idx (int) –
bool
IsTabVisible
(self, tabPage : int, tabOffset : int, dc : DC, wnd : Window)¶MakeTabVisible
(self, tabPage : int, win : Window)¶tabPage (int) –
win (wx.Window) –
None
MovePage
(self, page : Window, newIdx : int)¶page (wx.Window) –
newIdx (int) –
bool
RemoveButton
(self, id : int)¶id (int) –
None
SetActivePage
(self, *args, **kw)¶SetActivePage (self, page : Window)
page (wx.Window) –
bool
SetActivePage (self, page : int)
page (int) –
bool
SetArtProvider
(self, art : AuiTabArt)¶art (wx.aui.AuiTabArt) –
None
SetFlags
(self, flags : int)¶flags (int) –
None
SetMeasuringFont
(self, measuringFont : Font)¶measuringFont (wx.Font) –
None
SetNoneActive
(self)¶None
SetRect
(self, rect : Rect, wnd: Optional[Window]=None)¶SetTabOffset
(self, offset : int)¶offset (int) –
None
TabHitTest
(self, x : int, y : int, hit : Window)¶x (int) –
y (int) –
hit (Window) –
bool
ActivePage
¶See GetActivePage
and SetActivePage
ArtProvider
¶See GetArtProvider
and SetArtProvider
PageCount
¶See GetPageCount
TabOffset
¶See GetTabOffset
and SetTabOffset