wx.aui.AuiMDIChildFrame¶
Class Hierarchy¶
Methods Summary¶
Destroys the window safely. |
|
Returns |
|
Shows or hides the window. |
|
Properties Summary¶
See |
|
See |
|
See |
|
See |
Class API¶
- class wx.aui.AuiMDIChildFrame(TDIChildFrame)¶
Possible constructors:
AuiMDIChildFrame() -> None AuiMDIChildFrame(parent, winid=ID_ANY, title='', pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE, name=FrameNameStr) -> None
Methods¶
- __init__(self, *args, **kw)¶
-
__init__ (self)
- Return type:
None
__init__ (self, parent, winid=ID_ANY, title=’’, pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE, name=FrameNameStr)
- Parameters:
parent (wx.aui.AuiMDIParentFrame)
winid (wx.WindowID)
title (string)
pos (wx.Point)
size (wx.Size)
style (long)
name (string)
- Return type:
None
- Activate(self)¶
- Return type:
None
- Create(self, parent, winid=ID_ANY, title='', pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE, name=FrameNameStr)¶
- Parameters:
parent (wx.aui.AuiMDIParentFrame)
winid (wx.WindowID)
title (string)
pos (wx.Point)
size (wx.Size)
style (long)
name (string)
- Return type:
bool
- CreateStatusBar(self, number=1, style=1, winid=1, name='')¶
- Parameters:
number (int)
style (long)
winid (wx.WindowID)
name (string)
- Return type:
- CreateToolBar(self, style, winid, name)¶
- Parameters:
style (long)
winid (wx.WindowID)
name (string)
- Return type:
- Destroy(self)¶
Destroys the window safely.
Use this function instead of the delete operator, since different window classes can be destroyed differently. Frames and dialogs are not destroyed immediately when this function is called – they are added to a list of windows to be deleted on idle time, when all the window’s events have been processed. This prevents problems with events being sent to non-existent windows.
- Return type:
bool
- Returns:
Trueif the window has either been successfully deleted, or it has been added to the list of windows pending real deletion.
- static GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)¶
- Parameters:
variant (WindowVariant)
- Return type:
VisualAttributes
- GetIcons(self)¶
- Return type:
IconBundle
- GetMDIParentFrame(self)¶
- Return type:
- GetTitle(self)¶
- Return type:
str
- Iconize(self, iconize=True)¶
- Parameters:
iconize (bool)
- Return type:
None
- IsFullScreen(self)¶
- Return type:
bool
- IsIconized(self)¶
- Return type:
bool
- IsMaximized(self)¶
- Return type:
bool
- IsTopLevel(self)¶
Returns
Trueif the given window is a top-level one.Currently all frames and dialogs are considered to be top-level windows (even if they have a parent window).
- Return type:
bool
- Maximize(self, maximize=True)¶
- Parameters:
maximize (bool)
- Return type:
None
- Restore(self)¶
- Return type:
None
- SetIcons(self, icons)¶
- Parameters:
icons (wx.IconBundle)
- Return type:
None
- SetMDIParentFrame(self, parent)¶
- Parameters:
parent (wx.aui.AuiMDIParentFrame)
- Return type:
None
- SetMenuBar(self, menuBar)¶
- Parameters:
menuBar (wx.MenuBar)
- Return type:
None
- SetStatusText(self, text, number=0)¶
- Parameters:
text (string)
number (int)
- Return type:
None
- SetStatusWidths(self, widths)¶
- Parameters:
widths (list of integers)
- Return type:
None
- SetTitle(self, title)¶
- Parameters:
title (string)
- Return type:
None
- Show(self, show=True)¶
Shows or hides the window.
You may need to call
Raisefor a top level window if you want to bring it to top, although this is not needed ifShowis called immediately after the frame creation.Notice that the default state of newly created top level windows is hidden (to allow you to create their contents without flicker) unlike for all the other, not derived from wx.TopLevelWindow, windows that are by default created in the shown state.
- Parameters:
show (bool) – If
Truedisplays the window. Otherwise, hides it.- Return type:
bool
- Returns:
Trueif the window has been shown or hidden orFalseif nothing was done because it already was in the requested state.
See also
IsShown,Hide,wx.RadioBox.Show, wx.ShowEvent.
- ShowFullScreen(self, show, style)¶
- Parameters:
show (bool)
style (long)
- Return type:
bool
Properties¶
- MDIParentFrame¶
See
GetMDIParentFrameandSetMDIParentFrame
- MenuBar¶
See
GetMenuBarandSetMenuBar
- StatusBar¶
See
GetStatusBar
- ToolBar¶
See
GetToolBar
