src/w/x/wxPython-In-Action-HEAD/BOA_demo/Examples/Everything.py wxPython-In-Action(Download)
def _init_utils(self):
# generated method, don't edit
self.menuBar1 = wx.MenuBar()
self.menu1 = wx.Menu(title='')
self.imageList1 = wx.ImageList(height=16, width=16)
src/w/x/wxPython-In-Action-HEAD/BOA_demo/Examples/mdi/wxMDIParentFrame1.py wxPython-In-Action(Download)
def _init_utils(self):
# generated method, don't edit
self.menuBar1 = wx.MenuBar()
self.menu1 = wx.Menu(title='')
self._init_coll_menuBar1_Menus(self.menuBar1)
src/w/x/wxPython-In-Action-HEAD/BOA_demo/Examples/guide/Frame1.py wxPython-In-Action(Download)
def _init_utils(self):
# generated method, don't edit
self.menuFile = wx.Menu(title='')
self.menuHelp = wx.Menu(title='')
self.menuBar1 = wx.MenuBar()
src/v/t/VT-USRP-daughterboard-drivers_python-HEAD/gnuradio-examples/python/apps/hf_explorer/hfx2.py VT-USRP-daughterboard-drivers_python(Download)
# Menu Bar
self.frame_1_menubar = wx.MenuBar()
self.SetMenuBar(self.frame_1_menubar)
wxglade_tmp_menu = wx.Menu()
self.Exit = wx.MenuItem(wxglade_tmp_menu, ID_EXIT, "Exit", "Exit", wx.ITEM_NORMAL)
wxglade_tmp_menu.AppendItem(self.Exit)
self.frame_1_menubar.Append(wxglade_tmp_menu, "File")
src/w/x/wxPython-In-Action-HEAD/wxDesigner/sample2.19_execise/dynamic/Dynamic_exec_wdr.py wxPython-In-Action(Download)
def FileMenuBarFunc():
item0 = wx.MenuBar()
item1 = wx.Menu()
item1.Append( wx.ID_ABOUT, "About", "" )
item1.Append( ID_MENU_Test, "Test...", "Start the test" )
item1.Append( wx.ID_EXIT, "Quit", "" )
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/dynamic/dynamic_wdr.py wxPython-In-Action(Download)
def MyMenuBarFunc():
item0 = wx.MenuBar()
item1 = wx.Menu()
item1.Append( wx.ID_ABOUT, "About", "" )
item1.Append( ID_TEST, "Test...", "" )
item1.Append( wx.ID_EXIT, "Quit", "" )
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/rad/rad.py wxPython-In-Action(Download)
def CreateMyMenuBar(self):
file_menu = wx.Menu()
file_menu.Append(ID_TEST, "&Test dialog...\tCtrl-T", "Test dialog")
file_menu.Append(wx.ID_EXIT, "&Quit...\tCtrl-Q", "Quit program")
help_menu = wx.Menu()
help_menu.Append(wx.ID_ABOUT, "&About...\tCtrl-A", "Program info")
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/menu/menu_wdr.py wxPython-In-Action(Download)
def MyMenuBarFunc():
item0 = wx.MenuBar()
item1 = wx.Menu()
item2 = wx.MenuItem( item1, wx.ID_ABOUT, "&About...", "Helptext for About" )
item2.SetBitmap( MyBitmapsFunc( 0 ) )
item1.AppendItem( item2 )
item1.AppendSeparator()
item3 = wx.Menu()
item1.AppendMenu( ID_MENU, "Submenu", item3 )
item4 = wx.Menu()
item4.Append( ID_RADIO, "Radio 1", "", wx.ITEM_RADIO )
item4.Append( ID_RADIO, "Radio 2", "", wx.ITEM_RADIO )
item1.AppendMenu( ID_MENU, "Radio submenu", item4 )
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/notebook/notebook.py wxPython-In-Action(Download)
def CreateMyMenuBar(self):
file_menu = wx.Menu()
file_menu.Append(wx.ID_ABOUT, "About...", "Program info")
file_menu.Append(ID_TEST, "Test dialog...", "Test dialog")
file_menu.Append(wx.ID_EXIT, "Quit...", "Quit program")
menu_bar = wx.MenuBar()
src/w/x/wxPython-In-Action-HEAD/wxDesigner/sample2.19_execise/derived/Derived_wdr.py wxPython-In-Action(Download)
def MyMenuBarFunc():
item0 = wx.MenuBar()
item1 = wx.Menu()
item1.Append( ID_MENU_TEST, "Start Test Dialog\tCtrl-S", "Start Test Dialog" )
item1.Append( wx.ID_ABOUT, "About", "" )
item1.Append( wx.ID_EXIT, "Quit", "" )
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Next