wx.aui.AuiMDIClientWindow¶
wx.aui.AuiMDIClientWindow is the wx.aui.AuiNotebook used by wx.aui.AuiMDIParentFrame to contain wx.aui.AuiMDIChildFrame pages.
Applications normally do not create this class directly. It is created by wx.aui.AuiMDIParentFrame.OnCreateClient , which can be overridden to return a derived class when custom client-window behaviour is needed.
Class Hierarchy¶
Methods Summary¶
Default constructor. |
|
Called by wx.aui.AuiMDIParentFrame immediately after creating the client window object. |
|
Returns the active child frame, or nullptr if there are no pages. |
|
Makes the given child frame active. |
|
Selects the page at the given index. |
Properties Summary¶
See |
Class API¶
- class wx.aui.AuiMDIClientWindow(AuiNotebook)¶
Possible constructors:
AuiMDIClientWindow() -> None AuiMDIClientWindow(parent, style=0) -> None
AuiMDIClientWindow is the AuiNotebook used by AuiMDIParentFrame to contain AuiMDIChildFrame pages.
Methods¶
- __init__(self, *args, **kw)¶
-
__init__ (self)
Default constructor.
- Return type:
None
__init__ (self, parent, style=0)
Constructor, creating the client window.
- Parameters:
parent (wx.aui.AuiMDIParentFrame)
style (long)
- Return type:
None
- CreateClient(self, parent, style=VSCROLL | HSCROLL)¶
Called by wx.aui.AuiMDIParentFrame immediately after creating the client window object.
- Parameters:
parent (wx.aui.AuiMDIParentFrame)
style (long)
- Return type:
bool
- GetActiveChild(self)¶
Returns the active child frame, or nullptr if there are no pages.
- Return type:
- static GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)¶
- Parameters:
variant (WindowVariant)
- Return type:
VisualAttributes
- SetActiveChild(self, pChildFrame)¶
Makes the given child frame active.
- Parameters:
pChildFrame (wx.aui.AuiMDIChildFrame)
- Return type:
None
- SetSelection(self, page)¶
Selects the page at the given index.
- Parameters:
page (int)
- Return type:
int
Properties¶
- ActiveChild¶
See
GetActiveChildandSetActiveChild
