]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/wxPIA_book/Chapter-10/create_just_menu.py
3 class MyFrame(wx
.Frame
):
5 wx
.Frame
.__init
__(self
, None, -1, "Simple Menu Example")
9 menuBar
.Append(menu
, "Left Menu")
11 menuBar
.Append(menu2
, "Middle Menu")
13 menuBar
.Append(menu3
, "Right Menu")
14 self
.SetMenuBar(menuBar
)
16 if __name__
== "__main__":
17 app
= wx
.PySimpleApp()