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/s/o/Software-HEAD/pronterface/pronterface.py   Software(Download)
    def popmenu(self):
        self.menustrip = wx.MenuBar()
        # File menu
        m = wx.Menu()
        self.Bind(wx.EVT_MENU, self.loadfile, m.Append(-1, _("&Open..."), _(" Opens file")))
        self.Bind(wx.EVT_MENU, self.do_editgcode, m.Append(-1, _("&Edit..."), _(" Edit open file")))
        self.Bind(wx.EVT_MENU, self.do_uploadconfig, m.Append(-1, _("&Upload config.g..."), _(" Upload new configuration file.")))
        self.Bind(wx.EVT_MENU, self.do_uploadhtm, m.Append(-1, _("&Upload reprap.htm..."), _(" Upoload new web interface file.")))
        self.Bind(wx.EVT_MENU, self.clearOutput, m.Append(-1, _("Clear console"), _(" Clear output console")))

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/wx-2.8-msw-unicode/wx/py/frame.py   einstein(Download)
 
        self.historyMenu = wx.Menu()
        self.historyMenu.Append(ID_SAVEHISTORY, '&Autosave History',
                 'Automatically save history on close', wx.ITEM_CHECK)
        self.historyMenu.Append(ID_SAVEHISTORYNOW, '&Save History Now',
                 'Save history')
        self.historyMenu.Append(ID_CLEARHISTORY, '&Clear History ',
 
        self.startupMenu = wx.Menu()
        self.startupMenu.Append(ID_EXECSTARTUPSCRIPT,
                                'E&xecute Startup Script',
                                'Execute Startup Script', wx.ITEM_CHECK)
        self.startupMenu.Append(ID_EDITSTARTUPSCRIPT,

src/c/h/chirp-1.2.2/chirp/gui/chirpgui.py   chirp(Download)
    def create_menu(self):
        self.menubar = wx.MenuBar()
 
        menu_file = wx.Menu()
        m_open = menu_file.Append(wx.ID_OPEN, "&Open File...\tCtrl-O", "Open File...")
        m_next_file = menu_file.Append(-1, "&Next File\tCtrl-N", "Next File")
        m_prev_file = menu_file.Append(-1, "&Previous File\tCtrl-B", "Previous File")
        m_save = menu_file.Append(wx.ID_SAVE, "&Save Elements\tCtrl-S", "Save Elements")
        m_save_params = menu_file.Append(-1, "Save Configuration...", "Save Configuration...")

src/f/f/ffse-1.0.1/ffse.py   ffse(Download)
        self.SetMenuBar(self.menubar)
        wxglade_tmp_menu = wx.Menu()
        wxglade_tmp_menu.Append(wx.ID_OPEN, "&Open Firefox Session...\tCtrl+O", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(10000, "Open &File...\tCtrl+F", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(wx.ID_SAVE, "&Save\tCtrl+S", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(wx.ID_SAVEAS, "Save &As...\tShift+Ctrl+S", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(wx.ID_CLOSE, "&Close\tCtrl+W", "", wx.ITEM_NORMAL)

src/g/e/GenomeViewer-HEAD/View.py   GenomeViewer(Download)
        fileMenu = wx.Menu()
        # menu item "Open Genome"
        openGenome = fileMenu.Append(-1, "Open genome", "Open new genome-file")
        self.Bind(wx.EVT_MENU, self.OnOpenGenomeFile, openGenome)
        # menu item "Open PTT annotation"
        openPttAnnotation = fileMenu.Append(-1, "Open PTT annotation", "Open new ptt annotation-file")
        self.Bind(wx.EVT_MENU, self.OnOpenPttAnnotation, openPttAnnotation)
        # menu item "Open GFF annotation"
        openGffAnnotation = fileMenu.Append(-1, "Open GFF annotation", "Open new gff annotation-file")
        fileMenu.AppendSeparator()
 
        saveTxt = fileMenu.Append(-1, "Save Text", "Saves Sequence As Shown In The Text Field")
        self.Bind(wx.EVT_MENU, self.OnSaveTxt, saveTxt)
        saveTxtAs = fileMenu.Append(-1, "Save Text As...", "Saves Sequence As Shown In The Text Field")

src/l/o/Look-MLKademlia-HEAD/gui.py   Look-MLKademlia(Download)
 
 
        file.Append(101, '&Open', 'Open a new document')
        file.Append(102, '&Save', 'Save the document')
        file.AppendSeparator()
        quit = wx.MenuItem(file, 105, '&Quit\tCtrl+Q', 'Quit the Application')
        file.AppendItem(quit)
 
 
        edit.Append(106, 'Cut\tCtrl+Q', 'Cut the text')
 
        edit.Append(106, 'Cut\tCtrl+Q', 'Cut the text')
        edit.Append(107, '&Copy\tCtrl+C', 'Copy the text')
        edit.Append(108, 'Paste\tCtrl+V', 'Paste the text')
 

src/p/y/Pyfa-HEAD/gui/mainMenuBar.py   Pyfa(Download)
        self.Append(fileMenu, "&File")
 
        fileMenu.Append(self.mainFrame.addPageId, "&New Tab\tCTRL+T", "Open a new fitting tab")
        fileMenu.Append(self.mainFrame.closePageId, "&Close Tab\tCTRL+W", "Close the current fit")
        fileMenu.AppendSeparator()
 
        fileMenu.Append(self.backupFitsId, "&Backup All Fittings", "Backup all fittings to a XML file")
        fileMenu.Append(wx.ID_OPEN, "&Import Fittings\tCTRL+O", "Import fittings into pyfa")
        fileMenu.Append(wx.ID_SAVEAS, "&Export Fitting\tCTRL+S", "Export fitting to another format")

src/p/m/PmagPy-HEAD/thellier_gui.py   PmagPy(Download)
        menu_preferences = wx.Menu()
 
        m_preferences_apperance = menu_preferences.Append(-1, "&Appearence preferences", "")
        self.Bind(wx.EVT_MENU, self.on_menu_appearance_preferences, m_preferences_apperance)
 
        m_preferences_spd = menu_preferences.Append(-1, "&Specimen paleointensity statistics (from SPD list)", "")
        self.Bind(wx.EVT_MENU, self.on_menu_m_preferences_spd, m_preferences_spd)
 
        m_preferences_stat = menu_preferences.Append(-1, "&Statistical preferences", "")
        menu_file = wx.Menu()
 
        m_change_working_directory = menu_file.Append(-1, "&Change project directory", "")
        self.Bind(wx.EVT_MENU, self.on_menu_change_working_directory, m_change_working_directory)
 
        #m_add_working_directory = menu_file.Append(-1, "&Add a MagIC project directory", "")
        #self.Bind(wx.EVT_MENU, self.on_menu_add_working_directory, m_add_working_directory)
 
        m_open_magic_file = menu_file.Append(-1, "&Open MagIC measurement file", "")

src/h/y/hydrus-HEAD/include/ClientGUICanvas.py   hydrus(Download)
        menu = wx.Menu()
 
        menu.Append( CC.ID_NULL, self._current_media.GetPrettyInfo() )
        menu.Append( CC.ID_NULL, self._current_media.GetPrettyAge() )
 
        menu.AppendSeparator()
 
        menu.Append( CC.ID_NULL, 'current zoom: ' + HC.ConvertZoomToPercentage( self._current_zoom ) )
 
        menu.Append( CC.MENU_EVENT_ID_TO_ACTION_CACHE.GetId( 'zoom_in' ), 'zoom in' )
 
        menu.Append( CC.MENU_EVENT_ID_TO_ACTION_CACHE.GetId( 'zoom_in' ), 'zoom in' )
        menu.Append( CC.MENU_EVENT_ID_TO_ACTION_CACHE.GetId( 'zoom_out' ), 'zoom out' )
 
        #

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/wx-2.8-msw-unicode/wx/lib/masked/maskededit.py   einstein(Download)
    def _OnContextMenu(self, event):
##        dbg('MaskedEditMixin::OnContextMenu()', indent=1)
        menu = wx.Menu()
        menu.Append(wx.ID_UNDO, "Undo", "")
        menu.AppendSeparator()
        menu.Append(wx.ID_CUT, "Cut", "")
        menu.Append(wx.ID_COPY, "Copy", "")
        menu.Append(wx.ID_PASTE, "Paste", "")
        menu.Append(wx.ID_CLEAR, "Delete", "")

Previous  9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17  Next