Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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/c/e/CellProfiler-Analyst-HEAD/cpa/imageviewer.py   CellProfiler-Analyst(Download)
    def CreateMenus(self):
        self.SetMenuBar(wx.MenuBar())
        # File Menu
        self.fileMenu = wx.Menu()
        self.openImageMenuItem = self.fileMenu.Append(-1, text='Open Image\tCtrl+O')
        self.saveImageMenuItem = self.fileMenu.Append(-1, text='Save Image\tCtrl+S')
        self.fileMenu.AppendSeparator()
        self.exitMenuItem      = self.fileMenu.Append(-1, text='Exit\tCtrl+Q')
        # Classify menu (requires classifier window
        self.classifyMenu = wx.Menu()
        self.classifyMenuItem = self.classifyMenu.Append(-1, text='Classify Image')
        self.GetMenuBar().Append(self.classifyMenu, 'Classify')
        # View Menu
        self.viewMenu = wx.Menu()
        self.objectNumberMenuItem = self.viewMenu.Append(-1, text='Show %s numbers\tCtrl+`'%p.object_name[0])

src/p/o/POL-POM-4-HEAD/python/mainwindow.py   POL-POM-4(Download)
        ### On MacOS X, preference is always on the main menu
        if(os.environ["POL_OS"] == "Mac"):
            prefItem = self.filemenu.Append(wx.ID_PREFERENCES, text = "&Preferences")
            self.Bind(wx.EVT_MENU, self.Options, prefItem)
 
        ### File menu
        self.filemenu.Append(wx.ID_OPEN, _("Run"))
        self.filemenu.Append(wx.ID_ADD, _("Install"))
        self.filemenu.Append(wx.ID_DELETE, _("Remove"))
        self.filemenu.Append(wx.ID_DELETE, _("Remove"))
        self.filemenu.AppendSeparator()
        self.filemenu.Append(216, _("Donate"))
        self.filemenu.Append(wx.ID_EXIT, _("Exit"))
 

src/c/e/CellProfiler-HEAD/cellprofiler/gui/editobjectsdlg.py   CellProfiler(Download)
 
        mode_menu = wx.Menu("Mode")
        mode_menu.Append(self.ID_MODE_FREEHAND, 
                         "Freehand mode",
                         "Enter freehand object-drawing mode")
        mode_menu.Append(self.ID_MODE_SPLIT,
                         "Split mode",
                         "Enter object splitting mode")
        mode_menu.Append(self.ID_MODE_DELETE,
        actions_menu = wx.Menu("Actions")
        actions_menu.Append(
            self.ID_ACTION_KEEP, "Keep",
            "Keep all objects (undo all remove object actions)")
        actions_menu.Append(
            self.ID_ACTION_REMOVE, "Remove",

src/e/d/Editra-0.7.20/src/ed_cmdbar.py   Editra(Download)
                            continue
 
                        self._menu.Append(item.Id,
                                          item.GetLabel(),
                                          kind=wx.ITEM_CHECK)

src/a/c/ac-HEAD/mockup/wxmockup1.py   ac(Download)
		menu_edit = wx.Menu()
		menu_edit.Append(
				wx.ID_ANY, '&Tracker', 'Toggle playtracker..',
				kind=wx.ITEM_CHECK)
		menu_edit_prefs = wx.MenuItem(

src/p/y/pymeg-HEAD/gui/wx/PYMEG.py   pymeg(Download)
        self.frameTAPWIN_menubar = wx.MenuBar()
        wxglade_tmp_menu = wx.Menu()
        wxglade_tmp_menu.Append(1, "Generate-Template", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(2, "Save-Template", "", wx.ITEM_NORMAL)
        self.frameTAPWIN_menubar.Append(wxglade_tmp_menu, "File")
        wxglade_tmp_menu = wx.Menu()
        wxglade_tmp_menu.Append(3, "Avg Contour", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(4, "Avg Projection", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(wx.NewId(), "item", "", wx.ITEM_NORMAL)

src/c/o/COLLADA-CTS-HEAD/Core/Gui/FMenuBar.py   COLLADA-CTS(Download)
    def __CreateFileMenu(self):
        filemenu = wx.Menu()
        filemenu.Append(FMenuBar.ID_NEW, "&New Test Procedure\tCtrl+N", 
                        "Creates a new test procedure")
        filemenu.Append(FMenuBar.ID_OPEN, "&Open Test Procedure\tCtrl+O", 
                        "Opens a saved test procedure")
        filemenu.AppendSeparator()
 
        filemenu.Append(FMenuBar.ID_SAVEAS, "&Save Test Procedure As\tCtrl+S", 
        filemenu.Append(FMenuBar.ID_SAVEAS, "&Save Test Procedure As\tCtrl+S", 
                        "Saves current test procedure as specified name")
        filemenu.Append(FMenuBar.ID_EXPORT_ALL, "&Export All to HTML", 
                        "Exports the current test procedure to HTML")
        filemenu.Append(FMenuBar.ID_EXPORT_SELECTED, "Export Selected to HTML", 

src/p/y/pySAXS-2.100.July2013/guisaxs/wx/GuiSAXS.py   pySAXS(Download)
        # Make the 'File' menu.
        menu = wx.Menu()
        item = menu.Append(wx.ID_ANY, 'Open\tCtrl-O', 'Open data file')  # Append a new menu
        self.Bind(wx.EVT_MENU, self.OnDataLoad, item)  # Create and assign a menu event.
        item = menu.Append(wx.ID_ANY, 'Open a dataset\tCtrl-D', 'Open a dataset')  # Append a new menu
        self.Bind(wx.EVT_MENU, self.OnDataOpenDataset, item)  # Create and assign a menu event.
        item = menu.Append(wx.ID_ANY, 'Append a dataset', 'Append a dataset')  # Append a new menu
        self.Bind(wx.EVT_MENU, self.OnDataAppend, item)  # Create and assign a menu event.
 
        item = menu.Append(wx.ID_ANY, 'Save as txt', 'save data file')  # Append a new menu
        item = menu.Append(wx.ID_ANY, 'Save as txt', 'save data file')  # Append a new menu
        self.Bind(wx.EVT_MENU, self.OnDataSave, item)  # Create and assign a menu event.
        item = menu.Append(wx.ID_ANY, 'Save as dataset\tCtrl-S', 'save all dataset')  # Append a new menu
        self.Bind(wx.EVT_MENU, self.OnDataSaveDataset, item)  # Create and assign a menu event.
 

src/w/a/wammu-HEAD/Wammu/Main.py   wammu(Download)
 
        menu1 = wx.Menu()
        menu1.Append(100, _('&Write data'), _('Write data (except messages) to file.'))
        menu1.Append(101, _('W&rite message'), _('Write messages to file.'))
        menu1.Append(102, _('&Read data'), _('Read data (except messages) from file (does not import to the phone).'))
        menu1.Append(103, _('R&ead messages'), _('Read messages from file (does not import to the phone).'))
        menu1.AppendSeparator()
        menu1.Append(150, _('&Phone wizard'), _('Search for phone or configure it using guided wizard.'))

src/g/r/grace-HEAD/gui.py   grace(Download)
    def MakeMenuBar(self):
        """Creates the menu bar"""
        file = wx.Menu()
        file.Append(ID_FILE_CHECK, "&Check", "Check external programs")
        file.Append(ID_FILE_PREF, "&Preferences\tctrl-p", "Edit preferences")
        file.AppendSeparator()
        file.Append(ID_FILE_EXIT, "&Exit\tctrl-q", "Terminate program")
 
        self.menuMode = wx.Menu()
        self.menuMode.Append(ID_MODE_SINGLE, "S&ingle\tctrl-1","",wx.ITEM_RADIO)
        self.menuMode = wx.Menu()
        self.menuMode.Append(ID_MODE_SINGLE, "S&ingle\tctrl-1","",wx.ITEM_RADIO)
        self.menuMode.Append(ID_MODE_SETUP, "&Setup\tctrl-2","",wx.ITEM_RADIO)
        self.menuMode.Append(ID_MODE_CHAIN, "&Chain\tctrl-3","",wx.ITEM_RADIO)
 

Previous  7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15  Next