Did I find the right examples for you? yes no

All Samples(2540)  |  Call(2540)  |  Derive(0)  |  Import(0)
Append(self, int id, String text=EmptyString, String help=EmptyString, 
    int kind=ITEM_NORMAL) -> MenuItem

src/p/y/pymeg-HEAD/gui/wx/PyMEG.py   pymeg(Download)
        self.framewithnotebook_menubar.Append(wxglade_tmp_menu, "File")
        wxglade_tmp_menu = wx.Menu()
        wxglade_tmp_menu.Append(12, "Channels", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(13, "Events", "", wx.ITEM_NORMAL)
        self.framewithnotebook_menubar.Append(wxglade_tmp_menu, "Edit")

src/c/u/Cura-HEAD/Cura/gui/mainWindow.py   Cura(Download)
		self.menubar = wx.MenuBar()
		self.fileMenu = wx.Menu()
		i = self.fileMenu.Append(-1, _("Load model file...\tCTRL+L"))
		self.Bind(wx.EVT_MENU, lambda e: self.scene.showLoadModel(), i)
		i = self.fileMenu.Append(-1, _("Save model...\tCTRL+S"))
		self.Bind(wx.EVT_MENU, lambda e: self.scene.showSaveModel(), i)
		i = self.fileMenu.Append(-1, _("Reload platform\tF5"))
		self.Bind(wx.EVT_MENU, lambda e: self.scene.reloadScene(e), i)
		i = self.fileMenu.Append(-1, _("Clear platform"))
 
		self.fileMenu.AppendSeparator()
		i = self.fileMenu.Append(-1, _("Print...\tCTRL+P"))
		self.Bind(wx.EVT_MENU, lambda e: self.scene.OnPrintButton(1), i)
		i = self.fileMenu.Append(-1, _("Save GCode..."))

src/t/e/terapy-2.00b6/terapy/filters/control.py   terapy(Download)
            self.menuPosition = event.GetPosition()
            menu.AppendSubMenu(menuAdd,"&Add...")
            mitem = menu.Append(id=wx.NewId(),text="&Remove")
            self.Bind(wx.EVT_MENU, self.OnRemoveFilter, id=mitem.Id)
            # if right-click is above an item, add enable/disable menu option
            itm = self.list.HitTest(event.GetPosition())[0]
            if itm>-1:
                if self.bank.filters[itm].is_active:
                    mitem = menu.Append(id=wx.NewId(), text="&Disable")
                    mitem = menu.Append(id=wx.NewId(), text="&Disable")
                else:
                    mitem = menu.Append(id=wx.NewId(), text="&Enable")
                self.Bind(wx.EVT_MENU, lambda x: self.OnEnableFilter(itm), id=mitem.Id)
            # Load/Save filter list
            mitem = menu.Append(id=wx.NewId(),text="&Load filter list")
            self.Bind(wx.EVT_MENU, self.LoadFilterList, id=mitem.Id)
            mitem = menu.Append(id=wx.NewId(),text="&Save filter list")

src/l/i/litebook-HEAD/litebook.py   litebook(Download)
        self.frame_1_menubar = wx.MenuBar()
        wxglade_tmp_menu = wx.Menu()
        wxglade_tmp_menu.Append(101, u"文件列表(&L)"+KeyMenuList[u'文件列表'], u"打开文件列表", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(102, u"打开文件(&O)"+KeyMenuList[u'打开文件'], u"打开文件", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(108, u"另存为...(&S)"+KeyMenuList[u'另存为'], u"打开文件", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(103, u"关闭(&C)"+KeyMenuList[u'关闭'], u"关闭当前文件", wx.ITEM_NORMAL)
        wxglade_tmp_menu.AppendSeparator()
        wxglade_tmp_menu_sub = wx.Menu()
        wxglade_tmp_menu_sub.Append(104, u"上一个文件(&P)"+KeyMenuList[u'上一个文件'], u"打开上一个文件", wx.ITEM_NORMAL)

src/p/y/pymeg-HEAD/gui/wx/PyMEG.py   pymeg(Download)
        wxglade_tmp_menu.Append(9, "Project Info", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(10, "Macro", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(11, "Save Workspace", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.AppendSeparator()
        self.Exit = wx.MenuItem(wxglade_tmp_menu, wx.NewId(), "Exit PyMEG", "", wx.ITEM_NORMAL)

src/c/e/CellProfiler-Analyst-HEAD/cpa/tableviewer.py   CellProfiler-Analyst(Download)
        file_menu = wx.Menu()
        self.GetMenuBar().Append(file_menu, 'File')
        new_table_item = file_menu.Append(-1, 'New empty table\tCtrl+N')
        file_menu.AppendSeparator()
        load_csv_menu_item = file_menu.Append(-1, 'Load table from CSV\tCtrl+O')
        load_db_table_menu_item = file_menu.Append(-1, 'Load table from database\tCtrl+Shift+O')
        file_menu.AppendSeparator()
        save_csv_menu_item = file_menu.Append(-1, 'Save table to CSV\tCtrl+S')
        save_temp_table_menu_item = file_menu.Append(-1, 'Save table to database\tCtrl+Shift+S')

src/p/y/pymeg-HEAD/gui/wx/PyMEG.py   pymeg(Download)
        wxglade_tmp_menu.Append(37, "Source Simulation", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(38, "ICA", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(39, "Time Frequency Transform", "compute time freq transform using Morlet Wavelets", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(40, "Fast Fourier Transform", "fft", wx.ITEM_NORMAL)
        wxglade_tmp_menu_sub = wx.Menu()

src/c/e/CellProfiler-Analyst-HEAD/cpa/plateviewer.py   CellProfiler-Analyst(Download)
        self.SetMenuBar(self.menuBar)
        self.fileMenu = wx.Menu()
        self.exitMenuItem = self.fileMenu.Append(id=wx.ID_EXIT, text='Exit\tCtrl+Q', help='Close Plate Viewer')
        self.GetMenuBar().Append(self.fileMenu, 'File')
        self.menuBar.Append(cpa.helpmenu.make_help_menu(self), 'Help')

src/p/y/pymeg-HEAD/gui/wx/PYMEG.py   pymeg(Download)
        wxglade_tmp_menu.AppendSeparator()
        wxglade_tmp_menu.Append(7, "Project Info", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(6, "Macro", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(5, "Save Workspace", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.AppendSeparator()

src/p/y/pymeg-HEAD/gui/wx/PyMEG.py   pymeg(Download)
        wxglade_tmp_menu.AppendSeparator()
        wxglade_tmp_menu.Append(9, "Project Info", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(10, "Macro", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(11, "Save Workspace", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.AppendSeparator()

Previous  3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11  Next