phoenix_title 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 Class Hierarchy

Inheritance diagram of AuiMDIClientWindow


method_summary Methods Summary

__init__

Default constructor.

CreateClient

Called by wx.aui.AuiMDIParentFrame immediately after creating the client window object.

GetActiveChild

Returns the active child frame, or nullptr if there are no pages.

GetClassDefaultAttributes

SetActiveChild

Makes the given child frame active.

SetSelection

Selects the page at the given index.


property_summary Properties Summary

ActiveChild

See GetActiveChild and SetActiveChild


api 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)

overload Overloaded Implementations:



__init__ (self)

Default constructor.

Return type:

None



__init__ (self, parent, style=0)

Constructor, creating the client window.

Parameters:
Return type:

None





CreateClient(self, parent, style=VSCROLL | HSCROLL)

Called by wx.aui.AuiMDIParentFrame immediately after creating the client window object.

Parameters:
Return type:

bool



GetActiveChild(self)

Returns the active child frame, or nullptr if there are no pages.

Return type:

wx.aui.AuiMDIChildFrame



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 GetActiveChild and SetActiveChild