phoenix_title 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”.


class_hierarchy Class Hierarchy

Inheritance diagram for class AuiTabContainer:

sub_classes Known Subclasses

wx.aui.AuiTabCtrl


method_summary Methods Summary

__init__

Default constructor.

AddButton

AddPage

ButtonHitTest

DoShowHide

GetActivePage

GetArtProvider

GetFlags

GetIdxFromWindow

GetPage

GetPageCount

GetTabOffset

GetWindowFromIdx

InsertPage

IsFlagSet

Returns True if the given flag is set.

IsTabVisible

MakeTabVisible

MovePage

RemoveButton

RemovePage

RemovePageAt

SetActiveColour

SetActivePage

SetArtProvider

SetColour

SetFlags

SetMeasuringFont

SetNoneActive

SetNormalFont

SetRect

SetSelectedFont

SetTabOffset

TabHitTest


property_summary Properties Summary

ActivePage

See GetActivePage and SetActivePage

ArtProvider

See GetArtProvider and SetArtProvider

Flags

See GetFlags and SetFlags

PageCount

See GetPageCount

TabOffset

See GetTabOffset and SetTabOffset


api 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:
Return type:

None



AddPage(self, info)
Parameters:

info (wx.aui.AuiNotebookPage)

Return type:

bool



ButtonHitTest(self, pt)
Parameters:

pt (wx.Point)

Return type:

wx.aui.AuiTabContainerButton



DoShowHide(self)
Return type:

None



GetActivePage(self)
Return type:

int



GetArtProvider(self)
Return type:

wx.aui.AuiTabArt



GetFlags(self)
Return type:

int



GetIdxFromWindow(self, page)
Parameters:

page (wx.Window)

Return type:

int



GetPage(self, idx)
Parameters:

idx (int)

Return type:

wx.aui.AuiNotebookPage



GetPageCount(self)
Return type:

int



GetTabOffset(self)
Return type:

int



GetWindowFromIdx(self, idx)
Parameters:

idx (int)

Return type:

Window



InsertPage(self, info, idx)
Parameters:
Return type:

bool



IsFlagSet(self, flag)

Returns True if the given flag is set.

Parameters:

flag (int)

Return type:

bool

Added in version 4.3/wxWidgets-3.3.0.



IsTabVisible(self, tabPage, tabOffset, dc, wnd)
Parameters:
Return type:

bool



MakeTabVisible(self, tabPage, win)
Parameters:
Return type:

None



MovePage(self, page, newIdx)
Parameters:
Return type:

bool



RemoveButton(self, id)
Parameters:

id (int)

Return type:

None



RemovePage(self, page)
Parameters:

page (wx.Window)

Return type:

bool



RemovePageAt(self, idx)
Parameters:

idx (int)

Return type:

None



SetActiveColour(self, colour)
Parameters:

colour (wx.Colour)

Return type:

None



SetActivePage(self, *args, **kw)

overload Overloaded Implementations:



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



SetColour(self, colour)
Parameters:

colour (wx.Colour)

Return type:

None



SetFlags(self, flags)
Parameters:

flags (int)

Return type:

None



SetMeasuringFont(self, measuringFont)
Parameters:

measuringFont (wx.Font)

Return type:

None



SetNoneActive(self)
Return type:

None



SetNormalFont(self, normalFont)
Parameters:

normalFont (wx.Font)

Return type:

None



SetRect(self, rect, wnd=nullptr)
Parameters:
Return type:

None



SetSelectedFont(self, selectedFont)
Parameters:

selectedFont (wx.Font)

Return type:

None



SetTabOffset(self, offset)
Parameters:

offset (int)

Return type:

None



TabHitTest(self, pt, flags=HitTest_Default)
Parameters:
Return type:

wx.aui.AuiTabContainer.HitTestResult


Properties

ActivePage

See GetActivePage and SetActivePage



ArtProvider

See GetArtProvider and SetArtProvider



Flags

See GetFlags and SetFlags



PageCount

See GetPageCount



TabOffset

See GetTabOffset and SetTabOffset