Destroys the window safely. |
|
Returns |
|
Shows or hides the window. |
|
See |
|
See |
|
See |
|
See |
wx.aui.
AuiMDIChildFrame
(TDIChildFrame)¶Possible constructors:
AuiMDIChildFrame()
AuiMDIChildFrame(parent, winid=ID_ANY, title="", pos=DefaultPosition,
size=DefaultSize, style=DEFAULT_FRAME_STYLE, name=FrameNameStr)
__init__
(self, *args, **kw)¶__init__ (self)
__init__ (self, parent, winid=ID_ANY, title=””, pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE, name=FrameNameStr)
parent (wx.aui.AuiMDIParentFrame) –
winid (wx.WindowID) –
title (string) –
pos (wx.Point) –
size (wx.Size) –
style (long) –
name (string) –
Activate
(self)¶Create
(self, parent, winid=ID_ANY, title="", pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE, name=FrameNameStr)¶parent (wx.aui.AuiMDIParentFrame) –
winid (wx.WindowID) –
title (string) –
pos (wx.Point) –
size (wx.Size) –
style (long) –
name (string) –
bool
CreateStatusBar
(self, number=1, style=1, winid=1, name="")¶number (int) –
style (long) –
winid (wx.WindowID) –
name (string) –
CreateToolBar
(self, style, winid, name)¶style (long) –
winid (wx.WindowID) –
name (string) –
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.
bool
True
if the window has either been successfully deleted, or it has been added to the list of windows pending real deletion.
GetClassDefaultAttributes
(variant=WINDOW_VARIANT_NORMAL)¶variant (WindowVariant) –
VisualAttributes
GetIcons
(self)¶IconBundle
GetMDIParentFrame
(self)¶GetTitle
(self)¶string
Iconize
(self, iconize=True)¶iconize (bool) –
IsFullScreen
(self)¶bool
IsIconized
(self)¶bool
IsMaximized
(self)¶bool
IsTopLevel
(self)¶Returns True
if 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).
bool
Maximize
(self, maximize=True)¶maximize (bool) –
Restore
(self)¶SetIcons
(self, icons)¶icons (wx.IconBundle) –
SetMDIParentFrame
(self, parent)¶parent (wx.aui.AuiMDIParentFrame) –
SetMenuBar
(self, menuBar)¶menuBar (wx.MenuBar) –
SetStatusText
(self, text, number=0)¶text (string) –
number (int) –
SetStatusWidths
(self, widths)¶widths (list of integers) –
SetTitle
(self, title)¶title (string) –
Show
(self, show=True)¶Shows or hides the window.
You may need to call Raise
for a top level window if you want to bring it to top, although this is not needed if Show
is 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.
show (bool) – If True
displays the window. Otherwise, hides it.
bool
True
if the window has been shown or hidden or False
if nothing was done because it already was in the requested state.
See also
IsShown
, Hide
, wx.RadioBox.Show
, wx.ShowEvent.
ShowFullScreen
(self, show, style)¶show (bool) –
style (long) –
bool
MDIParentFrame
¶See GetMDIParentFrame
and SetMDIParentFrame
MenuBar
¶See GetMenuBar
and SetMenuBar
StatusBar
¶See GetStatusBar
ToolBar
¶See GetToolBar