Tells the frame to show the given menu bar. |
|
See |
|
See |
|
See |
|
See |
|
See |
wx.aui.
AuiMDIParentFrame
(Frame)¶Possible constructors:
AuiMDIParentFrame()
AuiMDIParentFrame(parent, winid=ID_ANY, title="", pos=DefaultPosition,
size=DefaultSize, style=DEFAULT_FRAME_STYLE|VSCROLL|HSCROLL,
name=FrameNameStr)
__init__
(self, *args, **kw)¶__init__ (self)
__init__ (self, parent, winid=ID_ANY, title=””, pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE|VSCROLL|HSCROLL, name=FrameNameStr)
ActivateNext
(self)¶ActivatePrevious
(self)¶ArrangeIcons
(self)¶Cascade
(self)¶Create
(self, parent, winid=ID_ANY, title="", pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE|VSCROLL|HSCROLL, name=FrameNameStr)¶GetActiveChild
(self)¶GetArtProvider
(self)¶GetClassDefaultAttributes
(variant=WINDOW_VARIANT_NORMAL)¶variant (WindowVariant) –
VisualAttributes
GetClientWindow
(self)¶GetNotebook
(self)¶GetWindowMenu
(self)¶Menu
OnCreateClient
(self)¶SetActiveChild
(self, pChildFrame)¶pChildFrame (wx.aui.AuiMDIChildFrame) –
SetArtProvider
(self, provider)¶provider (wx.aui.AuiTabArt) –
SetChildMenuBar
(self, pChild)¶pChild (wx.aui.AuiMDIChildFrame) –
SetMenuBar
(self, menuBar)¶Tells the frame to show the given menu bar.
menuBar (wx.MenuBar) – The menu bar to associate with the frame.
Note
If the frame is destroyed, the menu bar and its menus will be destroyed also, so do not delete the menu bar explicitly (except by resetting the frame’s menu bar to another frame or None
). Under Windows, a size event is generated, so be sure to initialize data members properly before calling SetMenuBar
. Note that on some platforms, it is not possible to call this function twice for the same frame object.
See also
Tile
(self, orient=HORIZONTAL)¶orient (Orientation) –
ActiveChild
¶See GetActiveChild
and SetActiveChild
ArtProvider
¶See GetArtProvider
and SetArtProvider
ClientWindow
¶See GetClientWindow
Notebook
¶See GetNotebook
WindowMenu
¶See GetWindowMenu
and SetWindowMenu